:root {
  /* Placeholder fonts — swap in the invitation fonts here */
  --font-names: Georgia, "Times New Roman", serif;
  --font-body: Georgia, "Times New Roman", serif;

  --cream: #ece5cf;
  --cream-light: #f4efe0;
  --olive: #7d9138;
  --olive-dark: #4f5a26;
  --line: #c9c09f;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--olive-dark);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}

a { color: var(--olive); }

/* Nav */
nav {
  position: sticky;
  top: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 28px;
}
nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-dark);
}
nav a:hover, nav a[aria-current="page"] { color: var(--olive); }
nav a[aria-current="page"] { border-bottom: 1px solid var(--olive); }
nav .home-link img { display: block; height: 24px; width: auto; }

/* Hero */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
}
.hero .beet { width: 80px; margin-bottom: 8px; }
.names img { display: block; width: min(560px, 90vw); height: auto; margin: 0 auto; }
.hero .venue { display: block; width: min(300px, 70vw); height: auto; margin: 20px auto 0; }
footer .beet { width: 36px; margin-bottom: 8px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
}
.names {
  font-family: var(--font-names);
  font-weight: normal;
  font-size: clamp(48px, 10vw, 96px);
  line-height: 1.1;
  color: var(--olive);
  margin: 16px 0 24px;
}
.hero .date {
  font-size: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8ea040; /* matches the lettering SVGs */
}
.hero .place { margin-top: 4px; font-style: italic; color: #8ea040; }

/* Inner pages */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 16px 80px;
  min-height: 70vh;
}
.page-beet { display: block; width: 44px; margin: 0 auto 16px; }
.page-title {
  font-weight: normal;
  font-size: 18px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8ea040;
  margin-bottom: 40px;
}
.page-intro { margin-bottom: 40px; }

h2 {
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 20px;
}

.event { padding: 40px 0; border-top: 1px solid var(--line); color: #8ea040; }
.event .event-name { color: #8ea040 !important; }
.event:last-child { border-bottom: 1px solid var(--line); }
.event-date { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: #8ea040; }
.event .event-name {
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--olive-dark);
  margin: 8px 0;
}
.event-attire { margin-top: 8px; font-style: italic; }

.text-section { padding: 40px 0; border-top: 1px solid var(--line); }
.text-section p { text-align: left; }
.text-section p + p { margin-top: 16px; }
.text-section p + ul { margin-top: 16px; }
.text-section ul + .after-list { margin-top: 24px; }
.text-section strong { font-weight: normal; letter-spacing: 0.1em; text-transform: uppercase; font-size: 14px; color: var(--olive); }

.link-list, .plain-list { list-style: none; }
.link-list li, .plain-list li { padding: 6px 0; }
.link-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.link-list a:hover { border-bottom-color: var(--olive); }
.note { display: block; font-size: 14px; font-style: italic; color: var(--olive); }

footer {
  padding: 48px 16px 64px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--olive);
}
@media (max-width: 600px) {
  nav { gap: 6px 16px; }
  nav a { font-size: 11px; letter-spacing: 0.15em; }
  nav .home-link { flex-basis: 100%; display: flex; justify-content: center; }
}
