/* ---------- Base ---------- */
:root {
  --ink: #3f3f3f;
  --ink-soft: #5c5856;
  --line: #2f2f2f;
  --bg: #fdfcfc;
  --accent: #ece6e3;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

h1, h2, h3 { font-weight: 400; margin: 0; }

/* ---------- Menu ---------- */
.menu-btn {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 30px 18px 34px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .bars { display: grid; gap: 7px; }
.menu-btn .bars span { display: block; width: 24px; height: 1.5px; background: var(--ink); }

.nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(253, 252, 252, 0.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav.open { opacity: 1; pointer-events: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.nav li { margin: 14px 0; }
.nav a { font-size: 34px; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-close {
  position: absolute;
  top: 32px;
  right: 36px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Layout ---------- */
.section {
  padding: 120px 24px;
  text-align: center;
}
.container { max-width: 960px; margin: 0 auto; }
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  width: calc(100% - 48px);
  max-width: 2040px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 64px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 48px;
  padding: 120px 24px;
  text-align: center;
}
.hero .names {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.date-stack {
  display: grid;
  gap: 0.35em;
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
  letter-spacing: 0.12em;
  font-variant-numeric: oldstyle-nums;
  color: var(--ink);
}
.welcome {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.4;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Venue ---------- */
.venue-name { font-size: 34px; }
.venue-address { font-size: 26px; line-height: 1.5; margin-bottom: 48px; }
.map {
  width: 100%;
  max-width: 940px;
  aspect-ratio: 2 / 1;
  border: 0;
  display: block;
  margin: 0 auto;
}
.map-link { display: inline-block; margin-top: 18px; font-size: 20px; }

/* ---------- Schedule ---------- */
.schedule { max-width: 940px; margin: 0 auto; text-align: left; }
.schedule-date { font-size: 30px; margin-bottom: 48px; }
.event {
  display: grid;
  grid-template-columns: 110px 40px 1fr;
  align-items: start;
  margin-bottom: 56px;
}
.event .times { font-size: 26px; line-height: 1.2; }
.event .times span { display: block; padding: 8px 0; }
.event .times span:first-child { border-bottom: 1px solid var(--ink-soft); }
.event .dash { font-size: 22px; padding-top: 8px; }
.event h3 { font-size: 34px; font-weight: 500; line-height: 1.2; padding-top: 4px; }
.event p { margin: 10px 0 0; font-size: 26px; line-height: 1.35; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  min-width: 360px;
  padding: 18px 32px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: 0.5; cursor: wait; }

/* ---------- Q&A ---------- */
.qa { max-width: 980px; margin: 0 auto; }
.qa-item { margin-bottom: 80px; }
.qa-item h3 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 20px; }
.qa-item p { font-size: 27px; margin: 0; line-height: 1.45; }

/* ---------- Gift ---------- */
.gift-text { font-size: 28px; margin: 0 0 48px; }

/* ---------- Footer ---------- */
footer { padding: 60px 24px 80px; text-align: center; font-size: 22px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 28px;
}
.field label, .field legend { display: block; font-size: 22px; margin-bottom: 8px; }
.field .hint { font-size: 18px; color: var(--ink-soft); margin: -4px 0 8px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #bdb7b4;
  border-radius: 0;
  background: #fff;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 1.5px solid var(--ink); outline-offset: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: grid; gap: 10px; }
.choices label { display: flex; align-items: center; gap: 12px; font-size: 21px; margin: 0; cursor: pointer; }
.choices input { width: 18px; height: 18px; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { text-align: center; margin-top: 8px; }
.status { text-align: center; font-size: 22px; min-height: 1.5em; }
.status.error { color: #9b2c2c; }
.thanks { max-width: 640px; margin: 0 auto; font-size: 28px; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 18px; }
  .menu-btn { top: 16px; left: 16px; padding: 14px 22px; gap: 12px; font-size: 15px; }
  .section { padding: 84px 20px; }
  .section-title { margin-bottom: 44px; }
  .venue-address { font-size: 22px; }
  .map { aspect-ratio: 4 / 3; }
  .event { grid-template-columns: 84px 24px 1fr; margin-bottom: 44px; }
  .event .times { font-size: 20px; }
  .event h3 { font-size: 27px; }
  .event p { font-size: 21px; }
  .schedule-date { font-size: 25px; }
  .qa-item { margin-bottom: 56px; }
  .qa-item p, .gift-text { font-size: 22px; }
  .btn { min-width: 0; width: 100%; max-width: 360px; }
}
