*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fdf9f3;
  --text: #2c2825;
  --text-muted: #6b6560;
  --accent: #9a6b2f;
  --line: #d4cfc8;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.6;
}

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* Hero */

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.names {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25em 0.5em;
}

.ampersand {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 0.85em;
}

.invite {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.ceremony {
  margin-top: 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.06em;
}

/* Divider */

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 8rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Details */

.details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.detail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.detail-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--text);
}

.detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail-venue {
  gap: 0.5rem;
}

.venue-name {
  margin-bottom: 0.1rem;
}

.venue-address {
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 14rem;
  margin: 0 auto;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.maps-link:hover {
  opacity: 0.7;
}

.maps-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Thamboolam accent */

.accent {
  width: 100%;
  max-width: 18rem;
  margin-top: 0.5rem;
}

.accent img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  opacity: 0.92;
  filter: saturate(0.9) sepia(0.08);
}

.accent-caption {
  margin-top: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Closing */

.closing {
  margin-top: 0.5rem;
}

.closing p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Responsive */

@media (min-width: 600px) {
  .details {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem 4rem;
  }

  .detail {
    flex: 0 1 auto;
  }
}
