:root {
  --ink: #29322e;
  --green: #33443b;
  --green-dark: #233129;
  --cream: #f4f0e8;
  --paper: #fdfbf7;
  --gold: #b29463;
  --line: #ddd6ca;
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw;
  color: white;
}
.wordmark {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: .08em;
  text-decoration: none;
}
.wordmark span { color: #d3bd98; font-style: italic; }
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-button { padding: 9px 17px; border: 1px solid rgba(255,255,255,.7); }

.hero {
  display: grid;
  min-height: 88vh;
  place-items: center;
  padding: 120px 24px 70px;
  color: white;
  background:
    linear-gradient(rgba(28, 42, 35, .28), rgba(28, 42, 35, .72)),
    radial-gradient(circle at 70% 20%, #77887e, transparent 35%),
    linear-gradient(135deg, #718177, #293a31);
  text-align: center;
}
.hero-content { max-width: 900px; }
.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #e8decd; }
.hero h1 {
  margin: 5px 0 24px;
  font-family: var(--serif);
  font-size: clamp(60px, 11vw, 132px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
}
.hero h1 span { color: #d3bd98; font-size: .6em; font-style: italic; }
.hero-date {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-place { margin: 5px 0 32px; color: rgba(255,255,255,.76); letter-spacing: .08em; }
.button {
  display: inline-block;
  padding: 13px 23px;
  border: 1px solid;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.button-light { border-color: rgba(255,255,255,.75); }
.button-light:hover { color: var(--green); background: white; }

.section { padding: 95px max(6vw, 24px); }
.section-tint { background: var(--cream); }
.section-dark { color: white; background: var(--green-dark); }
.welcome, .section-heading { max-width: 720px; margin: auto; text-align: center; }
h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(39px, 6vw, 65px);
  font-weight: 400;
  line-height: 1.05;
}
.welcome > p:last-of-type, .section-heading > p:last-child { color: #657069; }
.section-dark .section-heading > p:last-child { color: rgba(255,255,255,.65); }

.countdown {
  display: flex;
  max-width: 520px;
  justify-content: center;
  margin: 45px auto 0;
}
.countdown div { width: 33.333%; border-right: 1px solid var(--line); text-align: center; }
.countdown div:last-child { border: 0; }
.countdown strong { display: block; font-family: var(--serif); font-size: 43px; font-weight: 400; line-height: 1; }
.countdown span { color: #7c877f; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }

.details .section-heading { margin-bottom: 52px; }
.simple-grid, .action-grid {
  display: grid;
  max-width: 1000px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: auto;
  background: var(--line);
}
.simple-grid article { min-height: 240px; padding: 35px; background: var(--paper); }
h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.simple-grid p { margin: 0 0 10px; }
.simple-grid a { color: #6e5b3c; font-size: 12px; font-weight: 600; }
.muted { color: #748078; font-size: 14px; }
.notice {
  max-width: 720px;
  margin: 42px auto 0;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}

.actions .section-heading { margin-bottom: 45px; }
.action-grid { grid-template-columns: repeat(2, 1fr); background: rgba(255,255,255,.15); }
.action-card {
  min-height: 270px;
  padding: 40px;
  background: var(--green-dark);
  text-decoration: none;
}
.action-card:hover { background: #2c3b33; }
.action-card > span { color: var(--gold); font-family: var(--serif); }
.action-card h3 { margin-top: 35px; font-size: 35px; }
.action-card p { color: rgba(255,255,255,.65); }
.action-card strong { color: #d3bd98; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }

footer {
  padding: 45px 24px;
  color: rgba(255,255,255,.68);
  background: #18231e;
  font-size: 11px;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
footer .wordmark { display: block; margin-bottom: 12px; color: white; font-size: 29px; }

/* Form pages */
.inner-header { position: static; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.inner-header .nav-button { border-color: var(--ink); }
.page-intro { padding: 85px 24px 45px; text-align: center; }
.page-intro h1 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(48px, 8vw, 78px); font-weight: 400; }
.page-intro p { max-width: 600px; margin: auto; color: #657069; }
.form-shell { max-width: 680px; margin: 0 auto 100px; padding: 36px; border: 1px solid var(--line); background: white; }
.form-shell label, .form-legend { display: block; margin: 20px 0 7px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.form-shell label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfc8bc;
  border-radius: 0;
  color: var(--ink);
  background: white;
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #b7a27c; outline-offset: 1px; }
textarea { min-height: 105px; resize: vertical; }
.submit-button {
  width: 100%;
  margin-top: 25px;
  padding: 14px 20px;
  border: 1px solid var(--green);
  color: white;
  background: var(--green);
  font: 600 11px var(--sans);
  letter-spacing: .15em;
  cursor: pointer;
  text-transform: uppercase;
}
.submit-button:hover { color: var(--green); background: white; }
.form-message { display: none; margin: 20px 0 0; padding: 14px; background: var(--cream); }
.form-message.show { display: block; }
.form-note { color: #6f7973; font-size: 13px; }
.lookup-row { display: flex; gap: 10px; }
.lookup-row .submit-button { width: auto; margin: 0; }
.guest-list { margin-top: 28px; }
.guest-card { margin-top: 14px; padding: 20px; border: 1px solid var(--line); }
.guest-card h3 { margin-bottom: 10px; font-size: 24px; }
.radio-row { display: flex; gap: 22px; }
.radio-row label { display: flex; align-items: center; gap: 7px; margin: 0; letter-spacing: 0; text-transform: none; }
.radio-row input { width: auto; }
.hidden { display: none !important; }

@media (max-width: 700px) {
  .site-header { padding: 22px 20px; }
  nav { gap: 15px; }
  nav a:not(.nav-button) { display: none; }
  .hero { min-height: 82vh; }
  .hero h1 span { display: block; margin: .18em 0; }
  .section { padding-top: 75px; padding-bottom: 75px; }
  .simple-grid, .action-grid { grid-template-columns: 1fr; }
  .simple-grid article { min-height: 0; }
  .form-shell { margin-right: 18px; margin-left: 18px; padding: 25px 20px; }
  .lookup-row { flex-direction: column; }
  .lookup-row .submit-button { width: 100%; }
}
