@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&display=swap');

html, body {
  margin: 0 !important;
  padding: 0 !important;
  scroll-behavior: smooth;
}

.heh-page {
  --wine: #751524;
  --wine-dark: #2c040c;
  --wine-mid: #5c0e1b;
  --gold: #e2bd75;
  --cream: #fff5e9;
  --paper: #f8eadb;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 130, 92, .35), transparent 34%),
    linear-gradient(180deg, #7a1a28 0%, #3a0710 42%, #731726 100%);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  position: relative;
}

.heh-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.10), transparent 22%),
    radial-gradient(circle at 85% 75%, rgba(0,0,0,.25), transparent 28%);
  mix-blend-mode: soft-light;
}

.heh-petals {
  position: fixed;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  overflow: hidden;
}

.heh-petals i {
  position: absolute;
  top: -10vh;
  width: 13px;
  height: 20px;
  border-radius: 80% 20% 80% 20%;
  background: linear-gradient(135deg, rgba(255, 236, 218, .85), rgba(226,189,117,.42));
  animation: hehPetal 16s linear infinite;
  opacity: .52;
}

.heh-petals i:nth-child(1){left:5%;animation-delay:0s}
.heh-petals i:nth-child(2){left:16%;animation-delay:3s;animation-duration:19s}
.heh-petals i:nth-child(3){left:28%;animation-delay:5s;transform:scale(.8)}
.heh-petals i:nth-child(4){left:39%;animation-delay:1s;animation-duration:18s}
.heh-petals i:nth-child(5){left:52%;animation-delay:7s;transform:scale(1.2)}
.heh-petals i:nth-child(6){left:64%;animation-delay:2s;animation-duration:20s}
.heh-petals i:nth-child(7){left:74%;animation-delay:6s;transform:scale(.75)}
.heh-petals i:nth-child(8){left:82%;animation-delay:4s;animation-duration:21s}
.heh-petals i:nth-child(9){left:91%;animation-delay:8s}
.heh-petals i:nth-child(10){left:97%;animation-delay:10s;animation-duration:22s}

.heh-hero {
  min-height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center 36%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 170px 20px 90px;
  overflow: hidden;
}

.heh-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(35,0,9,.08) 0%, rgba(111, 20, 34, .38) 52%, rgba(40,4,12,.78) 100%),
    radial-gradient(circle at center 24%, rgba(255, 220, 180, .12), transparent 34%);
  z-index: 1;
}

.heh-hero-shine {
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.03) 38%, rgba(255,255,255,.24) 50%, rgba(255,255,255,.03) 62%, transparent 100%);
  transform: rotate(18deg);
  animation: hehShine 8s linear infinite;
  z-index: 2;
}

.heh-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1180px;
  animation: hehHeroIn 1.2s ease both;
}

.heh-kicker {
  display: inline-block;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.heh-hero h1 {
  font-family: 'Great Vibes', cursive !important;
  font-size: clamp(62px, 9vw, 138px) !important;
  font-weight: 400 !important;
  color: #fff8ef !important;
  line-height: .96 !important;
  margin: 0 0 10px !important;
  text-shadow: 0 10px 34px rgba(0,0,0,.52);
}

.heh-hero h2 {
  font-family: 'Great Vibes', cursive !important;
  font-size: clamp(42px, 5.2vw, 82px) !important;
  font-weight: 400 !important;
  color: #fff8ef !important;
  margin: 0 0 20px !important;
  text-shadow: 0 8px 26px rgba(0,0,0,.45);
  position: relative;
  /*overflow: hidden;*/
}

.heh-hero h2::after,
.heh-section-title h2::after {
  content: "";
  position: absolute;
  top: 8%;
  left: -30%;
  width: 28%;
  height: 86%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  animation: hehTextShimmer 5.6s ease-in-out infinite;
}

.heh-hero p {
  max-width: 760px;
  margin: 0 auto 20px;
  font-family: Arial, sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  color: rgba(255,255,255,.92);
  line-height: 1.5;
}

.heh-date {
  color: var(--gold);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 30px;
  text-shadow: 0 4px 15px rgba(0,0,0,.45);
}

.heh-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.heh-button {
  position: relative;
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b42a38, #68131e);
  color: #fff !important;
  text-decoration: none !important;
  font-family: Arial, sans-serif;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(0,0,0,.38);
  overflow: hidden;
  transition: .35s ease;
}

.heh-button.secondary {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
}

.heh-button::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -80%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  animation: hehButtonShine 3.8s ease-in-out infinite;
}

.heh-button:hover {
  transform: translateY(-4px);
}

.heh-scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 30px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
}

.heh-scroll-indicator span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: hehScroll 1.7s infinite;
}

.heh-ornament {
  position: absolute;
  z-index: 4;
  color: rgba(226,189,117,.86);
  font-family: 'Great Vibes', cursive;
  font-size: 86px;
  top: 28px;
}

.heh-ornament-left { left: 28px; transform: rotate(-24deg); }
.heh-ornament-right { right: 28px; transform: scaleX(-1) rotate(-24deg); }

.heh-section {
  position: relative;
  z-index: 3;
  width: min(100vw - 70px, 1100px);
  margin: 0 auto;
  padding: 84px 0 50px;
  text-align: center;
}

.heh-section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}

.heh-section-title span,
.heh-footer span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: hehLineGlow 4s ease-in-out infinite;
}

.heh-section-title h2 {
  position: relative;
  
  font-family: 'Great Vibes', cursive !important;
  font-size: clamp(42px, 5vw, 76px) !important;
  font-weight: 400 !important;
  color: #fff8ef !important;
  margin: 0 !important;
  white-space: nowrap;
  text-shadow: 0 7px 22px rgba(0,0,0,.35);
}

.heh-intro p {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255,255,255,.88);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.7;
}

.heh-countdown {
  position: relative;
  z-index: 3;
  width: min(100vw - 70px, 1020px);
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.heh-count-card,
.heh-feature-card,
.heh-location-card,
.heh-upload {
  background: rgba(248,234,219,.92);
  color: #4b2522;
  border: 1px solid rgba(226,189,117,.42);
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}

.heh-count-card {
  border-radius: 18px;
  padding: 26px 16px;
  text-align: center;
}

.heh-count-card strong {
  display: block;
  color: #8a2b2b;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.heh-count-card span {
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: #65423d;
}

.heh-feature-section {
  position: relative;
  z-index: 3;
  width: min(100vw - 70px, 1220px);
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.heh-feature-card {
  border-radius: 22px;
  padding: 34px 28px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}

.heh-feature-card:hover,
.heh-location-card:hover {
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
}

.heh-feature-card div {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #b42a38, #68131e);
  font-size: 34px;
  box-shadow: 0 14px 28px rgba(111,20,34,.35);
}

.heh-feature-card h3,
.heh-location-card h2,
.heh-upload-text h2 {
  font-family: 'Great Vibes', cursive !important;
  font-weight: 400 !important;
  color: #8a2b2b !important;
}

.heh-feature-card h3 {
  font-size: 48px;
  margin: 0 0 12px;
}

.heh-feature-card p {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #5d403b;
}

.heh-location {
  position: relative;
  z-index: 3;
  width: min(100vw - 70px, 850px);
  margin: 0 auto 80px;
}

.heh-location-card {
  border-radius: 22px;
  padding: clamp(30px, 5vw, 54px);
  text-align: center;
  transition: transform .35s ease;
}

.heh-location-card h2 {
  font-size: clamp(44px, 5vw, 68px);
  margin: 0 0 10px;
}

.heh-pin {
  color: #8a2b2b;
  font-size: 58px;
  line-height: .8;
}

.heh-location-card h3 {
  font-family: Arial, sans-serif;
  color: #38201d;
  font-size: 27px;
  margin: 14px 0 6px;
}

.heh-location-card p {
  font-family: Arial, sans-serif;
  color: #684641;
}

.heh-location-card img,
.heh-location-placeholder {
  width: 100%;
  height: clamp(230px, 33vw, 360px);
  object-fit: cover;
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 16px 34px rgba(0,0,0,.25);
}

.heh-location-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(111,20,34,.16), rgba(226,189,117,.20)), #e7d6c4;
  color: #8a2b2b;
  font-size: 28px;
}

.heh-map-button {
  display: inline-block;
  color: #fff !important;
  background: linear-gradient(180deg, #b42a38, #68131e);
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none !important;
  font-family: Arial, sans-serif;
  font-weight: 800;
}

.heh-timeline {
  position: relative;
  z-index: 3;
  width: min(100vw - 70px, 1120px);
  margin: 0 auto 80px;
}

.heh-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.heh-timeline-grid div {
  padding: 26px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(226,189,117,.28);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  text-align: center;
}

.heh-timeline-grid strong {
  display: block;
  color: var(--gold);
  font-size: 36px;
  margin-bottom: 8px;
}

.heh-timeline-grid span {
  font-family: Arial, sans-serif;
  color: rgba(255,255,255,.90);
  font-weight: 700;
}

.heh-upload {
  position: relative;
  z-index: 3;
  width: min(100vw - 70px, 1180px);
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
}

.heh-upload-text {
  background: linear-gradient(135deg, #3b0610, #7a1a28);
  color: #fff;
  padding: clamp(34px, 5vw, 58px);
}

.heh-upload-text span {
  font-family: Arial, sans-serif;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255,255,255,.60);
}

.heh-upload-text h2 {
  color: #fff8ef !important;
  font-size: clamp(44px, 5vw, 70px);
  margin: 16px 0;
}

.heh-upload-text p,
.heh-upload-text small {
  font-family: Arial, sans-serif;
  color: rgba(255,255,255,.84);
  line-height: 1.65;
}

.heh-upload-box {
  padding: clamp(34px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heh-upload-box input { display: none; }

.heh-upload-box label {
  min-height: 290px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px dashed rgba(111,20,34,.34);
  border-radius: 22px;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(226,189,117,.20), transparent 46%), #fff8f2;
  transition: .35s ease;
}

.heh-upload-box label:hover,
.heh-upload-box.dragover label {
  transform: scale(1.02);
  box-shadow: inset 0 0 60px rgba(111,20,34,.12);
}

.heh-upload-box b {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #b42a38, #68131e);
  color: #fff;
  font-size: 42px;
}

.heh-upload-box strong {
  display: block;
  font-size: 34px;
  color: #8a2b2b;
}

.heh-upload-box span {
  font-family: Arial, sans-serif;
  color: #6b514b;
}

.heh-status {
  min-height: 24px;
  text-align: center;
  color: #8a2b2b;
  font-family: Arial, sans-serif;
  font-weight: 800;
  margin-top: 16px;
}

.heh-gallery-section {
  position: relative;
  z-index: 3;
  width: min(100vw - 70px, 1280px);
  margin: 0 auto 60px;
}

.heh-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.heh-gallery-item {
  appearance: none;
  border: 2px solid rgba(248,239,228,.72);
  padding: 0;
  margin: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1.3 / 1;
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  animation: hehGalleryIn .55s ease both;
}

.heh-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.heh-gallery-item:hover img {
  transform: scale(1.07);
}

.heh-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border-radius: 16px;
  background: rgba(248,234,219,.92);
  color: #7a1a28;
  text-align: center;
  font-size: 24px;
}

.heh-footer {
  position: relative;
  z-index: 3;
  width: min(100vw - 70px, 1280px);
  margin: 0 auto;
  padding: 0 0 46px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.heh-footer p {
  font-family: Arial, sans-serif;
  color: #fff8ef;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  margin: 0;
}

.heh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}

.heh-lightbox.active { display: flex; }

.heh-lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 2;
}

.heh-lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
  animation: hehZoom .3s ease both;
  cursor: auto;
}

.heh-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .85s ease, transform .85s ease;
}

.heh-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hehPetal {
  0% { transform: translate3d(0,-10vh,0) rotate(0deg); opacity: 0; }
  10% { opacity: .55; }
  50% { transform: translate3d(42px,55vh,0) rotate(160deg); }
  100% { transform: translate3d(-32px,110vh,0) rotate(360deg); opacity: 0; }
}

@keyframes hehShine {
  0% { transform: translateX(-60%) rotate(18deg); }
  100% { transform: translateX(60%) rotate(18deg); }
}

@keyframes hehHeroIn {
  from { opacity: 0; transform: translateY(44px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hehTextShimmer {
  0%, 70% { left: -35%; opacity: 0; }
  82% { opacity: .85; }
  100% { left: 110%; opacity: 0; }
}

@keyframes hehButtonShine {
  0%, 48% { left: -75%; opacity: 0; }
  55% { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}

@keyframes hehScroll {
  0% { transform: translate(-50%,0); opacity: 1; }
  100% { transform: translate(-50%,24px); opacity: 0; }
}

@keyframes hehLineGlow {
  0%,100% { opacity: .55; filter: drop-shadow(0 0 0 rgba(226,189,117,0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(226,189,117,.48)); }
}

@keyframes hehGalleryIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hehZoom {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 980px) {
  .heh-feature-section,
  .heh-countdown,
  .heh-timeline-grid,
  .heh-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .heh-upload {
    grid-template-columns: 1fr;
  }

  .heh-section-title,
  .heh-footer {
    grid-template-columns: 1fr;
  }

  .heh-section-title span,
  .heh-footer span {
    display: none;
  }

  .heh-section-title h2 {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .heh-hero {
    min-height: 92vh;
    padding: 130px 16px 72px;
    background-position: center top;
  }

  .heh-ornament {
    font-size: 48px;
  }

  .heh-hero h1 {
    font-size: clamp(56px, 17vw, 82px) !important;
  }

  .heh-hero h2 {
    font-size: clamp(38px, 12vw, 58px) !important;
  }

  .heh-feature-section,
  .heh-countdown,
  .heh-timeline-grid,
  .heh-gallery {
    grid-template-columns: 1fr;
  }

  .heh-section,
  .heh-countdown,
  .heh-feature-section,
  .heh-location,
  .heh-timeline,
  .heh-upload,
  .heh-gallery-section,
  .heh-footer {
    width: min(100vw - 32px, 1280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .heh-petals,
  .heh-hero-shine,
  .heh-hero h2::after,
  .heh-section-title h2::after,
  .heh-button::after {
    display: none;
  }

  .heh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
