@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500;600;700&family=Noto+Sans+TC:wght@300;400;500&display=swap');

:root {
  --red: #8f1d2c;
  --deep-red: #5c101d;
  --gold: #b88a4a;
  --cream: #faf7f1;
  --ink: #2f2524;
  --muted: #786d68;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
}

a { color: inherit; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: #25060b;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,0,5,.05) 20%, rgba(45,0,10,.2) 48%, rgba(30,0,8,.82) 100%),
    linear-gradient(90deg, rgba(40,0,10,.18), transparent 45%, rgba(40,0,10,.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  padding: 40px 24px 46px;
  text-align: center;
  color: #fffaf3;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.eyebrow, .section-label {
  letter-spacing: .28em;
  font-size: .72rem;
  margin: 0 0 16px;
}

.eyebrow { opacity: .9; }

.hero h1 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(2.3rem, 7vw, 5.2rem);
  font-weight: 500;
  margin: 0;
  letter-spacing: .08em;
}

.hero h1 span {
  font-family: Georgia, serif;
  font-style: italic;
  margin: 0 .12em;
  color: #e6c384;
}

.hero-date {
  margin: 18px 0 12px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: .16em;
}

.hero-note {
  line-height: 2;
  font-size: .92rem;
  margin: 0 auto 28px;
}

.scroll-hint {
  display: inline-block;
  text-decoration: none;
  font-size: .68rem;
  letter-spacing: .25em;
  opacity: .8;
}

.section {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 90px 24px;
  text-align: center;
}

.section-label {
  color: var(--gold);
  margin-bottom: 8px;
}

h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: .12em;
  margin: 0 0 42px;
}

.details {
  background: var(--cream);
}

.info-list {
  display: grid;
  gap: 16px;
  text-align: left;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 20px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(184,138,74,.22);
  border-radius: 8px;
}

.icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: "Noto Serif TC", serif;
  font-size: .88rem;
}

.info-card div:last-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-card span {
  color: var(--gold);
  font-size: .75rem;
  letter-spacing: .12em;
}

.info-card strong {
  font-family: "Noto Serif TC", serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
}

.info-card small {
  color: var(--muted);
  line-height: 1.7;
  font-size: .82rem;
}

.map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
  padding: 14px 24px;
  background: var(--red);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: transform .2s, background .2s;
}

.map-button:hover {
  background: var(--deep-red);
  transform: translateY(-2px);
}

.map-button span {
  font-size: 1.15rem;
}

.countdown-section {
  max-width: none;
  background: var(--deep-red);
  color: #fff8ef;
}

.countdown-section .section-label {
  color: #d9b777;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 650px;
  margin: 0 auto;
}

.countdown > div {
  border-right: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.countdown > div:last-child { border-right: 0; }

.countdown strong {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 400;
}

.countdown span {
  font-size: .72rem;
  letter-spacing: .18em;
  opacity: .75;
}

.closing {
  padding-top: 105px;
  padding-bottom: 110px;
}

.ornament {
  width: 62px;
  height: 62px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--red);
  font-family: "Noto Serif TC", serif;
  font-size: 2rem;
}

.closing h2 { margin-bottom: 18px; }

.closing p {
  color: var(--muted);
  line-height: 2;
  margin: 0;
  font-size: .9rem;
}

.names {
  margin-top: 28px;
  font-family: "Noto Serif TC", serif;
  color: var(--red);
  letter-spacing: .12em;
}

@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
  }

  .hero-image img {
    object-position: center center;
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .section {
    padding: 70px 18px;
  }

  h2 {
    font-size: 1.7rem;
    margin-bottom: 32px;
  }

  .info-card {
    padding: 20px 16px;
  }

  .countdown {
    gap: 0;
  }

  .countdown strong {
    font-size: 2rem;
  }

  .countdown span {
    font-size: .65rem;
  }
}

@media (min-width: 900px) {
  .hero-content {
    padding-bottom: 70px;
  }

  .info-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-card:last-child {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}
