:root {
  --ink: #202124;
  --paper: #ffffff;
  --soft-gray: #f7f7f5;
  --gold: #f5ad42;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.section {
  width: 100%;
}

.hero {
  min-height: 100vh;
  padding: 70px 24px 78px;
  text-align: center;
  background: #fff;
}

.hero-inner {
  width: min(100%, 930px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: clamp(12px, 2vw, 17px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 28px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 10vw, 92px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(24px, 5vw, 58px);
  margin: 0 auto 58px;
}

.countdown-item {
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-item strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(25px, 5vw, 38px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.countdown-item span {
  margin-top: 10px;
  font-size: clamp(8px, 1.5vw, 11px);
  letter-spacing: 0.02em;
}

.hero-image {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.hero-copy {
  margin: 55px 0 34px;
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta {
  display: inline-flex;
  width: min(420px, 82%);
  height: 74px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  background: #e99a27;
  transform: translateY(-2px);
}

.venue {
  padding: 42px 24px 38px;
  text-align: center;
  background: #fff;
}

.venue-inner {
  width: min(100%, 930px);
  margin: 0 auto;
}

.section-title {
  margin: 55px 0 38px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.1;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
}

.venue-address {
  margin: 0 auto 18px;
  font-size: clamp(14px, 2.6vw, 20px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venue-address strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 400;
}

.map-link {
  display: inline-block;
  margin: 12px 0 42px;
  font-size: clamp(13px, 2.4vw, 18px);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.venue-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.basilica {
  max-width: 740px;
}

.celebration-title {
  margin-top: 62px;
}

.telar {
  max-width: 930px;
  margin-top: 8px;
}

.gift {
  padding: 58px 24px 52px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #ececec;
}

.gift-inner {
  width: min(100%, 930px);
  margin: 0 auto;
}

.gift-inner p {
  margin: 0;
  font-size: clamp(13px, 2.4vw, 18px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.iban {
  margin-top: 14px !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
}

.gift-title {
  margin-top: 18px !important;
  font-size: clamp(20px, 3.6vw, 28px) !important;
  font-weight: 700;
  letter-spacing: 0.05em !important;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 640px) {
  .hero {
    padding: 48px 20px 64px;
  }

  .hero-title {
    margin-bottom: 22px;
  }

  .countdown {
    gap: 6px;
    justify-content: space-between;
    margin-bottom: 32px;
  }

  .countdown-item {
    min-width: 0;
    width: 25%;
  }

  .hero-copy {
    margin: 42px 0 28px;
  }

  .hero-copy br {
    display: none;
  }

  .cta {
    height: 62px;
  }

  .venue {
    padding-top: 18px;
  }

  .section-title {
    margin: 44px 0 28px;
  }

  .map-link {
    margin-bottom: 28px;
  }

  .celebration-title {
    margin-top: 52px;
  }

  .gift {
    padding: 46px 20px 44px;
  }
}
