:root {
  color-scheme: dark;
  font-family: Georgia, 'Times New Roman', serif;
  color: #fff7e8;
  background: #181311;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body { margin: 0; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  background: #000;
  font-size: clamp(9rem, 40vw, 28rem);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.075em;
  pointer-events: none;
  animation: reveal 120ms ease-out 450ms forwards;
}

@keyframes reveal {
  to { opacity: 0; visibility: hidden; }
}

.invitation {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  text-align: center;
  position: relative;
}

.invitation::before {
  content: '';
  position: absolute;
  inset: 0.75rem;
  border: 1px solid rgba(255, 247, 232, 0.35);
  pointer-events: none;
}

header { padding-top: 1rem; }
header, footer { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65); }

h1 {
  margin: 0;
  font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}

.acronym { max-width: 36rem; margin-inline: auto; }
.acronym summary { cursor: pointer; list-style: none; padding: 0.5rem; min-height: 44px; }
.acronym summary::-webkit-details-marker { display: none; }
.acronym summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.acronym-hint { display: block; margin-top: 0.75rem; font-size: 0.75rem; color: #e0d3c1; }
.acronym-hint::after { content: ' +'; }
.acronym[open] .acronym-hint::after { content: ' −'; }
.acronym-meaning { margin: 1rem auto 0; padding: 1rem; max-width: 30rem; font-size: 1.125rem; line-height: 1.6; background: rgba(18, 13, 11, 0.85); border: 1px solid rgba(255, 247, 232, 0.2); }
footer { padding-bottom: 1rem; }

.hotel-name { margin: 0; font-size: 1.375rem; }

.hotel-location {
  margin: 0.5rem 0 1rem;
  font-size: clamp(0.75rem, 2.8vw, 0.875rem);
  line-height: 1.6;
  letter-spacing: 0.025em;
}

.hotel-placeholder { max-width: 28rem; margin: 0 auto; color: #e0d3c1; font-size: 0.875rem; line-height: 1.6; }

.hotel-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem;
  color: inherit;
  text-underline-offset: 0.25em;
}

.hotel-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; animation: none; }
}

.date-divider { padding-inline: 0.35em; color: #e0d3c1; }

.page-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem 1.5rem; }

.intro-seen .intro { display: none; }

.inactive-link { color: #c0b5a6; cursor: default; }

@media (max-width: 64rem) {
  .page-links { flex-direction: column; align-items: center; gap: 0.25rem; }
}
