:root {
  --ivory: #FBF7EF;
  --sand: #F3ECDD;
  --line: #E6DCC7;
  --emerald: #1F3B2D;
  --ink: #22302A;
  --muted: #5A665F;
  --gold: #9A7A44;
  --gold-rule: #C9B48A;
  --champagne: #E8D3A6;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 300 16px/1.6 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; color: var(--emerald); }
h2 { font-size: clamp(34px, 5vw, 44px); line-height: 1.1; }
h3 { font-size: 26px; }
p { margin: 0; }
a { color: var(--emerald); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: 1180px; margin: 0 auto; }
.section { padding: clamp(64px, 8vw, 96px) 24px; }
.eyebrow { color: var(--gold); font-size: 15px; }
.center { text-align: center; }
.head { display: flex; flex-direction: column; gap: 8px; text-align: center; margin-bottom: 44px; }
.date-line { color: var(--gold); font-family: var(--serif); font-size: 20px; font-style: italic; }
.ruled { border-top: 1px solid var(--gold-rule); padding-top: 14px; }
.ruled p { margin-top: 6px; line-height: 1.65; }
.note { font-size: 14px; color: var(--muted); }
.photo { width: 100%; object-fit: cover; border-radius: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 28px; border-radius: 999px; font: 500 15px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-dark { background: var(--emerald); color: var(--ivory); }
.btn-dark:hover { background: #2B4F3D; color: var(--ivory); }
.btn-gold { background: var(--champagne); color: var(--emerald); }
.btn-ghost { border-color: currentColor; color: inherit; background: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251, 247, 239, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; }
.mono { font-family: var(--serif); font-size: 26px; font-weight: 600; text-decoration: none; }
.mono em, .amp { color: var(--gold); font-style: italic; }
.links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.links a { text-decoration: none; }
@media (max-width: 760px) { .links { display: none; } }

/* hero */
.hero { min-height: min(92vh, 760px); display: flex; align-items: flex-end; color: var(--ivory);
  background: linear-gradient(180deg, rgba(18,32,25,.35), rgba(18,32,25,.15) 40%, rgba(18,32,25,.78)), url(images/hero.jpg) center 30% / cover no-repeat; }
.hero .wrap { width: 100%; padding: 120px 24px 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero h1 { color: #fff; font-weight: 400; font-size: clamp(52px, 9vw, 112px); line-height: 1; }
.hero h1 .amp { color: var(--champagne); }
.hero .when { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* story */
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.story { display: flex; flex-direction: column; gap: 12px; }
.story img { aspect-ratio: 4 / 3; }
.story p:last-child { line-height: 1.7; }

/* details */
.band { color: var(--ivory); background: linear-gradient(rgba(23,43,33,.8), rgba(23,43,33,.8)), url(images/aisle.jpg) center / cover no-repeat; }
.band h2 { color: #fff; }
.band .eyebrow { color: var(--champagne); }
.venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-bottom: 56px; }
.venue { background: var(--ivory); color: var(--ink); padding: 36px; border-radius: 4px; display: flex; flex-direction: column; gap: 10px; }
.venue h3 { font-size: 32px; }
.venue a { font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.schedule { max-width: 760px; margin: 0 auto; list-style: none; padding: 0; }
.sched-title { color: var(--champagne); text-align: center; font-size: 30px; margin-bottom: 16px; }
.schedule li { display: flex; gap: 28px; padding: 14px 0; border-bottom: 1px solid rgba(232,211,166,.3); align-items: baseline; }
.schedule time { flex: 0 0 96px; font-family: var(--serif); font-size: 24px; color: var(--champagne); white-space: nowrap; }

/* split sections */
.split { display: flex; gap: 56px; flex-wrap: wrap; align-items: center; }
.split > * { flex: 1 1 380px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
.swatches { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.swatches li { width: 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; text-align: center; }
.swatches span { width: 60px; height: 60px; border-radius: 50%; border: 1px solid #D9CCB1; }

/* entourage */
.sand { background: var(--sand); }
.ent { display: flex; flex-direction: column; gap: 44px; text-align: center; }
.ent h3 { margin-bottom: 10px; }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; max-width: 640px; margin: 0 auto; line-height: 1.8; }
.pairs p:nth-child(odd) { text-align: right; }
.pairs p:nth-child(even) { text-align: left; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.tile { background: var(--ivory); padding: 24px; border-radius: 4px; }
.tile .eyebrow { margin-bottom: 6px; }

/* gifts */
.dark { background: var(--emerald); color: var(--ivory); text-align: center; }
.dark h2 { color: #fff; }
.dark .eyebrow { color: var(--champagne); }
.narrow { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid #E0D5BE; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; min-height: 44px; font: 500 24px var(--serif); color: var(--emerald); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 22px var(--sans); color: var(--gold); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 20px; line-height: 1.7; }

/* rsvp */
.rsvp .split { align-items: stretch; }
.rsvp img { min-height: 360px; height: 100%; }
form { display: flex; flex-direction: column; gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
input, select, textarea { font: 16px var(--sans); padding: 12px 14px; border: 1px solid var(--gold-rule); border-radius: 4px; background: #FFFDF8; color: var(--ink); min-height: 44px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
legend { margin-bottom: 6px; font-weight: 400; }
.radio { flex-direction: row; align-items: center; gap: 8px; min-height: 44px; }
.radio input { min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { padding: 12px 16px; border-radius: 4px; }
.msg.error { background: #F6E1DE; color: #7A2A20; }
.thanks { background: var(--ivory); padding: 32px; border-radius: 4px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
[hidden] { display: none !important; }

footer { padding: 72px 24px; text-align: center; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; align-items: center; }
footer .mono { font-size: 40px; font-weight: 400; }
