:root {
  --sage: #8fa979;
  --sage-dark: #6b8560;
  --cream: #ece7cf;
  --page-bg: #f4efdc;
  --text: #3a4735;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page-bg);
  overflow-x: hidden;
}

/* ---------- Slide sections (long-scroll) ---------- */
.slide {
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  scroll-margin-top: 5rem;
}

#slide-1 {
  padding-top: 5rem;
}

.slide-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide.is-active .slide-inner {
  opacity: 1;
  transform: translateY(0);
}

.slide-inner img {
  display: block;
  width: 100%;
  height: auto;
}

.slide-bg {
  display: none;
}

.hotspot {
  position: absolute;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
}

.hotspot:focus-visible {
  outline: 3px solid rgba(100, 130, 100, 0.7);
  outline-offset: 4px;
}

/* ---------- Countdown section (inline) ---------- */
.countdown-section {
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-margin-top: 5rem;
}

.countdown-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 1rem;
  margin: 0 0 2rem;
  font-weight: 400;
}

.countdown-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 80px;
  background: var(--sage);
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
  line-height: 1;
}

.countdown-unit {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text);
  font-size: 0.9rem;
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
  font-style: italic;
}

/* ---------- Top nav ---------- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 2.5rem;
  background: var(--cream);
}

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.top-nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.top-nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.top-nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.top-nav a {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.2rem 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.top-nav a:hover {
  color: var(--sage-dark);
}

.top-nav a.is-active {
  color: var(--sage-dark);
}

.top-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--sage-dark);
}

/* Scroll hint no longer needed on long-scroll layout */
.scroll-hint {
  display: none;
}

/* ---------- Mobile / narrow ---------- */
@media (max-width: 700px) {
  .slide {
    padding: 0.5rem;
    scroll-margin-top: 3.5rem;
  }

  #slide-1 {
    padding-top: 4rem;
  }

  .countdown-section {
    padding: 2.5rem 0.75rem;
  }
  .countdown-title {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
  }
  .countdown-grid {
    gap: 0.6rem;
  }
  .countdown-num {
    width: 72px;
    height: 58px;
    font-size: 1.7rem;
  }
  .countdown-unit {
    font-size: 0.75rem;
    margin-top: 0.4rem;
  }

  .top-nav {
    padding: 1rem 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    padding: 4rem 1rem 2rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1;
  }

  .top-nav.is-open .nav-links {
    visibility: visible;
    opacity: 1;
  }

  .top-nav a {
    font-size: 1rem;
    letter-spacing: 0.25em;
  }
}
