/* ==========================================================================
   STYLE CARD — the design brief every page follows.
   The agent writes this from the couple's save-the-date and keeps it current.
   The couple always has the final say: when they ask for something different,
   update this card first, then the pages.

   Voice:      warm, plain, a little playful. Short sentences.
   Big idea:   a simple, calm page that feels like the Blue Ridge Mountains
               around Asheville. (No save-the-date yet; this is a guess.)
   Hero:       text only for now: names, date, place. Add a photo when the
               couple sends one.
   Colour:     warm paper, deep ink, mountain blue (--accent) and forest
               green (--accent-2).
   Type:       display = Playfair Display (free webfont);
               body = Lora (free webfont). Licensed fonts only if the couple
               uploads the files and confirms a web license.
   Layout:     one column, generous margins, centred headings.
   ========================================================================== */

:root {
  --paper: #fbf7f0;
  --ink: #2b2522;
  --muted: #6f6660;
  --accent: #3d5a73;
  --accent-2: #4f6448;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Lora", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --measure: 38rem;
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #1a1d1f; --ink: #ece8e1; --muted: #a9b0b3; --accent: #9db8cf; --accent-2: #9fb596; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--body);
}

.site-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem;
  padding: 1rem; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
}
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--accent); }

main { max-width: var(--measure); margin: 0 auto; padding: 2rem 1.25rem 4rem; }

.hero { text-align: center; padding: 4rem 1rem 3rem; }
.hero .names { font: 400 clamp(2.5rem, 9vw, 4.5rem)/1.05 var(--display); margin: 0; }
.hero .when, .hero .where { margin: .75rem 0 0; font-size: 1.15rem; color: var(--muted); letter-spacing: .06em; }
.hero .when { color: var(--accent); }

h1, h2 { font-family: var(--display); font-weight: 400; text-align: center; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; margin-top: 2.5rem; }

.event { border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); padding: 1rem 0; }
.event h3 { margin: 0; font-family: var(--display); font-weight: 400; }
.event p { margin: .25rem 0 0; color: var(--muted); }

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

footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 2rem 1rem 3rem; }

.hero .kicker { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; color: var(--accent-2); }
.hero::after { content: ""; display: block; width: 4rem; height: 1px; margin: 2.5rem auto 0; background: var(--accent-2); }
.lede { text-align: center; }
