:root {
  --bg: #14110d;
  --glow: #5a4a35;
  --glow-mid: #2b2319;
  --cream: #ece2cb;
  --sand: #b9a98a;
  --line: #3d3427;
  --brass: #cbab62;
  --card: rgba(255, 245, 220, 0.025);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.5;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--cream); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ---------- Page header ---------- */
.hero { text-align: center; background: radial-gradient(ellipse 85% 70% at 50% 28%, var(--glow) 0%, var(--glow-mid) 42%, var(--bg) 78%); padding: 36px 22px 56px; }
.hero-inner { max-width: 620px; margin: 0 auto; }
.lamp { width: 132px; height: auto; display: block; margin: 0 auto 6px; color: var(--cream); }
.lockup { font-weight: 500; line-height: 1; margin-top: 18px; }
.lockup .the { display: block; font-style: italic; font-size: 1.1rem; color: var(--sand); margin-bottom: 4px; }
.lockup .big { display: block; font-size: clamp(2.6rem, 13vw, 3.8rem); font-weight: 600; letter-spacing: 0.14em; text-indent: 0.14em; }
.lockup .small { display: block; font-size: 0.95rem; letter-spacing: 0.4em; text-indent: 0.4em; color: var(--sand); margin-top: 8px; }
.rule { width: 64px; height: 1px; background: var(--sand); opacity: 0.6; margin: 28px auto; border: 0; }
.hero h1 { font-size: clamp(1.9rem, 8vw, 2.7rem); font-weight: 600; line-height: 1.12; max-width: 15em; margin: 0 auto; }
.lede { color: var(--sand); margin-top: 16px; font-size: 1.28rem; }
.place { color: var(--sand); font-size: 1rem; margin-top: 22px; }
.page-hero { padding: 48px 22px 40px; }
.page-hero .eyebrow { font-style: italic; color: var(--sand); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-size: 1.15rem; text-decoration: none; background: var(--cream); color: var(--bg); border: 1px solid var(--cream); border-radius: 4px; padding: 11px 24px; min-height: 48px; }
.btn.ghost { background: transparent; color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* ---------- Content ---------- */
main { display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 640px; margin: 0 auto; padding: 0 22px; }
section.block { padding: 48px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
h2 { font-size: 2.1rem; font-weight: 600; line-height: 1.1; margin-bottom: 10px; }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.center { text-align: center; }
.sub { color: var(--sand); }
.prose p + p { margin-top: 14px; }
.prose .lead { font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
.kicker { font-style: italic; font-size: 1.25rem; }
.muted { color: var(--sand); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 22px; }
.card { border: 1px solid var(--line); border-radius: 6px; padding: 24px 22px; background: var(--card); }
.card .kicker { margin: 6px 0 10px; }
.card p + p { margin-top: 10px; }
.card .btn { margin-top: 18px; }
.card-icon { display: block; margin: 0 auto 10px; }
.minilamp { width: 90px; height: auto; color: var(--cream); }
.moon { width: 64px; height: 64px; }

.facts { list-style: none; padding: 0; margin: 14px 0 0; }
.facts li { padding: 6px 0; border-top: 1px solid var(--line); color: var(--sand); }
.facts li strong { color: var(--cream); font-weight: 700; }

/* People */
.person { display: flex; flex-direction: column; align-items: center; text-align: center; }
.photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--glow-mid); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 600; color: var(--sand); margin-bottom: 14px; }
.person .role { font-style: italic; color: var(--sand); margin: 2px 0 10px; }
.person p { text-align: left; }

/* Events */
.event { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; }
.date-badge { border: 1px solid var(--brass); border-radius: 6px; text-align: center; padding: 8px 4px; line-height: 1.1; }
.date-badge .mon { display: block; font-size: 0.95rem; letter-spacing: 0.15em; color: var(--brass); }
.date-badge .day { display: block; font-size: 2rem; font-weight: 700; }
.event .meta { color: var(--sand); font-size: 1.05rem; margin-top: 4px; }
.event .btn { margin-top: 12px; }
.events-list { display: grid; gap: 18px; margin-top: 22px; }

/* Our story */
.story p { text-wrap: pretty; }
.story .pull { font-size: 1.5rem; font-style: italic; text-align: center; line-height: 1.3; margin: 30px auto; max-width: 26em; }
.story .closing-line { font-size: 1.75rem; font-style: normal; font-weight: 600; margin-top: 36px; }
.signoff { margin-top: 28px; text-align: center; }
.signoff .names { display: block; font-size: 1.6rem; font-style: italic; }
.signoff .title { display: block; color: var(--sand); font-size: 1.05rem; letter-spacing: 0.04em; }

/* RSVP form inside an event card */
.rsvp { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.rsvp form { display: grid; gap: 16px; }
.rsvp .field { border: 0; padding: 0; margin: 0; min-width: 0; }
.rsvp .q { display: block; font-weight: 600; font-size: 1.12rem; line-height: 1.35; margin-bottom: 6px; padding: 0; }
.rsvp .req { color: var(--brass); }
.rsvp input[type=text], .rsvp input[type=email], .rsvp textarea {
  width: 100%; font: inherit; font-size: 1.1rem; color: var(--cream); background: #1d1913;
  border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; min-height: 46px;
}
.rsvp textarea { min-height: 96px; resize: vertical; }
.rsvp input:focus, .rsvp textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.rsvp .choice { display: inline-flex; align-items: center; gap: 8px; margin-right: 22px; cursor: pointer; }
.rsvp .choice input { width: 20px; height: 20px; accent-color: var(--brass); }
.rsvp .btn { justify-self: start; margin-top: 0; }
.rsvp .err { color: #e8a28a; font-size: 1.05rem; }
.rsvp .err:empty { display: none; }
.rsvp .thanks { font-size: 1.25rem; font-style: italic; }
.btn:disabled { opacity: 0.7; cursor: default; }
button.btn { cursor: pointer; }
.event .honor { font-style: italic; color: var(--brass); font-size: 1.1rem; margin-top: 2px; }
.card.person { align-self: start; }
/* Floats beside the paragraph after the dining-room line, small enough that the sheet reads as texture */
.story-photo { float: right; width: 220px; max-width: 46%; margin: 6px 0 12px 28px; }
.story .pull, .story .signoff { clear: both; }
@media (max-width: 520px) { .story-photo { width: 150px; margin-left: 18px; } }
.story-photo img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }

/* Home: arched photo in the opening section */
.arch-photo { margin: 0 auto 36px; max-width: 280px; text-align: center; }
.arch-photo img { width: 100%; height: auto; border-radius: 999px 999px 6px 6px; border: 1px solid var(--line); box-shadow: 0 0 0 6px var(--glow-mid), 0 0 0 7px var(--line); }
.arch-photo figcaption { margin-top: 16px; font-style: italic; color: var(--sand); font-size: 1.05rem; }
.story-photo.left { float: left; margin: 6px 28px 12px 0; }
@media (max-width: 520px) { .story-photo.left { margin-right: 18px; margin-left: 0; } }

/* About: table photo behind the title, fading into the page */
.photo-hero {
  min-height: 580px; display: flex; align-items: flex-end; justify-content: center; padding-block: 140px 44px;
  background:
    linear-gradient(to bottom, rgba(20, 17, 13, 0.30) 0%, rgba(20, 17, 13, 0.45) 40%, rgba(20, 17, 13, 0.82) 75%, var(--bg) 100%),
    url("img/our-story-table.jpg") center 46% / cover no-repeat;
}
.photo-hero .eyebrow, .photo-hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65); }
.photo-hero .eyebrow { color: var(--cream); }
.photo-hero h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); }
@media (max-width: 600px) { .photo-hero { min-height: 380px; padding-block: 90px 36px; background-position: center, center 50%; } }
