* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #2b2b2b;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: blur(1.5px);
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.38));
}

.hero-content {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding: 40px 20px;
  max-width: 900px;
}

.wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 3.8rem);
  color: #d9c9a3;
  line-height: 1;
  margin: 0 0 24px;
}

.wordmark-script {
  font-style: italic;
}

.hero-content .countdown {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9c9a3;
  margin: 0 0 20px;
  min-height: 1.2em;
}

.add-to-calendar {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

.add-to-calendar:hover {
  color: #d9c9a3;
  border-bottom-color: #d9c9a3;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: 90%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 20px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.85rem;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.toast-close {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 16px 20px;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.site-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: #d9c9a3;
  color: #d9c9a3;
}

.content-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
  border-top: 1px solid #eee;
  scroll-margin-top: 80px;
}

#details {
  padding-bottom: 24px;
}

#story {
  padding-top: 24px;
}

.content-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: #8a7d5c;
  margin: 0 0 20px;
}

.placeholder-text {
  color: #6b6b6b;
  line-height: 1.7;
  font-size: 1rem;
}

.details-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.details-label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7d5c;
}

.details-line {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.6;
  font-size: 1.05rem;
}

.details-venue {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: #2b2b2b;
  margin-top: 10px;
}

.details-note {
  margin-top: 10px;
  color: #8a8a8a;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
}

.carousel {
  position: relative;
  margin-top: 28px;
}

.carousel-track {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  background: #ececec;
  overflow: hidden;
  border-radius: 4px;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d5d5d5;
  cursor: pointer;
  touch-action: manipulation;
}

.carousel-dot.is-active {
  background: #8a7d5c;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #2b2b2b;
  border-radius: 4px;
  color: #2b2b2b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  touch-action: manipulation;
}

.link-item:hover {
  background: #f4f4f4;
}

@media (max-width: 480px) {
  .details-venue {
    font-size: 1.2rem;
  }
}
