:root {
  --paper: #f9f7ef;
  --ink: #18392e;
  --muted: #53655c;
  --rose: #386652;
  --gold: #b18a53;
  --line: #d7dfd0;
  --cream: #fffdf6;
}

.site-nav { background: #12382f; border-color: #ffffff24; color: #faf1d9; }
.nav-links, .nav-date { color: #f7e9c9; font-size: .8rem; }
.nav-links a:hover, .nav-date:hover { text-decoration: underline; text-underline-offset: 5px; }
.wordmark span, .footer-mark span { color: #e0b778; }

.welcome-section {
  grid-template-columns: minmax(0, 1fr) minmax(270px, .9fr);
  background: radial-gradient(ellipse at 82% 38%, #32614e, transparent 55%), #12382f;
  color: #faf1d9;
}
.welcome-copy { max-width: 560px; }
.welcome-copy h1 { font-size: clamp(3.6rem, 7.4vw, 7rem); }
.welcome-copy h1 em { display: block; color: #ebc489; }
.welcome-copy > p { color: #e3eadb; font-size: 1.08rem; }
.eyebrow { justify-content: flex-start; color: #f6daad; font-size: .85rem; }
.eyebrow-line { background: #d6ae71; }
.cover-frame {
  padding: 10px;
  border: 1px solid #e1b97a;
  border-radius: 48% 48% 12px 12px / 38% 38% 12px 12px;
  background: #294a3c;
  box-shadow: 0 25px 65px #071e1699;
}
.cover-image { border-radius: inherit; }
.cover-corner-one { display: none; }
.cover-corner-two { bottom: 4px; right: 4px; }
.scroll-cue { color: #f7e9c9; font-size: .8rem; }

.section-kicker { font-size: .83rem; }
.section-heading p { font-size: 1rem; }
.verse-section { background: #e9eee3; border-bottom: 1px solid var(--line); }
.verse-section blockquote { color: var(--ink); }
.gallery-tile, .map-card, .event-card { border-color: var(--line); border-radius: 12px; }
.gallery-caption { font-size: .9rem; }
.details-section { background: #e9eee3; }
.countdown-unit strong, .countdown-unit span, .detail-label { color: #315642; }
.countdown-unit span, .detail-label { font-size: .78rem; }
.event-card, .calendar-card, .wish-form, .map-card { background: var(--cream); }
.calendar-card { border-color: #c6ac85; }
.calendar-date-selected { background: #285c49; color: white; }
.event-detail strong, .map-caption strong { color: var(--ink); font-size: 1rem; }
.event-divider { background: var(--line); }
.button { border-radius: 99px; font-size: .85rem; }
.button-primary { background: #225541; color: #fffdf6; }
.welcome-copy .button-primary { background: #f0d29c; color: #193a2d; }
.button-map { border-color: #a2b7a8; color: #234933; }
.text-link { color: #2d5a44; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
.event-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 620px);
  margin-inline: auto;
}
.event-action {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid #b8a177;
  border-radius: 12px;
  text-align: left;
  transition: box-shadow .2s, transform .2s;
}
.event-action:hover { box-shadow: 0 8px 20px #18392e22; transform: translateY(-2px); }
.event-action:focus-visible { outline: 2px solid #285c49; outline-offset: 4px; }
.event-action-calendar { color: #fff5dd; background: #224b3b; }
.event-action-location { color: #224b3b; background: var(--cream); }
.event-action strong, .event-action small { display: block; }
.event-action strong { font-size: 1.1rem; font-weight: 500; }
.event-action small { margin-top: 5px; font: .83rem/1.3 Arial, sans-serif; }
.event-action-icon {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #efdab0;
  color: #224b3b;
}
.calendar-symbol { position: relative; width: 19px; height: 18px; border: 2px solid; border-radius: 3px; }
.calendar-symbol::before { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid; }
.calendar-symbol::after { content: ""; position: absolute; top: -4px; left: 3px; width: 2px; height: 5px; background: currentColor; box-shadow: 7px 0; }
.pin-symbol { position: relative; width: 17px; height: 17px; border: 2px solid; border-radius: 50% 50% 50% 0; transform: translateY(-2px) rotate(-45deg); }
.pin-symbol::after { content: ""; position: absolute; inset: 4px; border: 1px solid; border-radius: 50%; }
@media (max-width: 520px) { .event-actions { grid-template-columns: 1fr; } }
.personal-note { background: #183f33; color: #faf1d9; }
.personal-note .section-kicker { color: #ebc489; }
.wishes-section { background: #f0f2e9; }
.wish-form { border-color: var(--line); border-radius: 12px; }
.wish-form label { color: var(--ink); font-size: .8rem; }
.wish-form input, .wish-form textarea, .rsvp-form select { border-color: #b2c0b2; border-radius: 5px; font-size: 1rem; }
.rsvp-metrics div, .rsvp-scroll th { background: #e9eee3; }
.site-footer { border-color: #ffffff20; background: #12382f; color: #faf1d9; }

@media (max-width: 760px) {
  .welcome-section { grid-template-columns: 1fr; }
  .welcome-copy h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .eyebrow { justify-content: center; }
  .nav-links, .nav-date { font-size: .7rem; }
}
