:root {
  --cream: #f8f5ef;      /* off-white */
  --paper: #fdfbf7;
  --ink: #111111;        /* black lettering */
  --ink-soft: #3d3934;
  --line: #e2dcd2;
  --header-h: 150px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Header ---------- */
header {
  position: relative;
  z-index: 10;
  height: var(--header-h);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.monogram {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.monogram .amp { font-size: .7em; margin: 0 .15em; }

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 38px;
}
nav a {
  position: relative;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 6px;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform .35s ease;
}
nav a[aria-current="page"]::after { transform: scaleX(1); }
/* Hover effects only for mouse/trackpad; on phones a tap would leave them stuck on */
@media (hover: hover) {
  nav a:hover::after { transform: scaleX(1); }
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Inner pages ---------- */
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 24px 110px;
  text-align: center;
}
.page-title {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 10px;
}
.eyebrow {
  font-size: .95rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.divider {
  width: 60px;
  height: 1px;
  background: var(--ink);
  margin: 34px auto;
  opacity: .5;
}
.lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.35rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: .95rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.btn.ghost { background: transparent; color: var(--ink); }
@media (hover: hover) {
  .btn:hover { background: transparent; color: var(--ink); }
  .btn.ghost:hover { background: var(--ink); color: var(--paper); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 48px 32px;
}

footer {
  text-align: center;
  padding: 50px 16px 60px;
  border-top: 1px solid var(--line);
}
footer .monogram { font-size: 2.2rem; }
footer p { margin-top: 8px; font-size: .9rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }

/* Gentle fade-in for page content */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 1.4s .15s ease-out forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  :root { --header-h: 110px; }
  body { font-size: 1.12rem; }
  .menu-toggle { display: block; }
  nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease;
    border-bottom: 1px solid transparent;
  }
  nav.open { max-height: 480px; border-bottom-color: var(--line); }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 22px 16px 28px;
  }
  .page { padding: 56px 16px 80px; }
  .card { padding: 36px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* Footer page links exist only for phones (see below) */
.foot-links { display: none; }

/* =====================================================================
   PHONE-ONLY REFINEMENTS
   Everything below applies only to narrow screens or touch screens,
   so the laptop/desktop view stays exactly as it is.
   ===================================================================== */
@media (max-width: 820px) {
  /* Bigger tap area for the Menu button without moving anything */
  .menu-toggle {
    padding: 10px 22px;
    margin: -10px 0;
  }

  /* Closed menu is truly hidden (screen readers skip it too) */
  nav {
    visibility: hidden;
    transition: max-height .45s ease, visibility 0s linear .45s;
  }
  nav.open {
    visibility: visible;
    transition: max-height .45s ease;
  }
  /* Menu links: full-height tap targets, no dead gaps between them */
  nav ul { gap: 0; padding: 10px 16px 18px; }
  nav a { display: inline-block; padding: 11px 28px; }
  nav a::after { left: 28px; right: 28px; bottom: 8px; }

  /* Stacked buttons share one width instead of ragged widths */
  .btn-row { display: grid; justify-content: center; }
  .btn-row .btn { text-align: center; }

  /* Footer: page links so guests don't scroll all the way back up */
  .foot-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 4px;
    margin: 18px auto 4px;
    max-width: 340px;
  }
  .foot-links a {
    padding: 10px 12px;
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--ink);
  }
  .foot-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
  footer p span { white-space: nowrap; }
}

/* Touch screens: no grey tap flash, and a quick press feedback instead of stuck hovers */
@media (hover: none) {
  a, button, label { -webkit-tap-highlight-color: transparent; }
  .btn:active { opacity: .7; }
  .foot-links a:active, nav a:active { opacity: .55; }
}
