* { box-sizing: border-box }
:root { color-scheme: light; --paper: #fffcf5; --ink: #271f22; --wine: #75253b; --line: #dfcbc1; --pink: #f7e9e3 }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif }
[hidden] { display: none !important }
a { color: var(--wine); text-underline-offset: .22em }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px }
nav { display: flex; padding: 1rem; gap: .5rem 1.4rem; justify-content: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); font-weight: 600 }
header { padding: clamp(4rem, 13vw, 9rem) 1rem; text-align: center; background: var(--pink) }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; color: var(--wine); font-weight: 700; font-size: .9rem }
h1,h2,.subtitle { font-family: Georgia, serif; font-weight: normal; line-height: 1.08 }
h1 { margin: .25em 0; color: var(--wine); font-size: clamp(3rem, 10vw, 7.5rem) }
h2 { margin: 0 0 .65em; color: var(--wine); font-size: clamp(2rem, 5vw, 3.1rem) }
.subtitle { font-size: clamp(1.6rem, 4vw, 2.5rem); margin: .6em 0 }
#compte { font-variant-numeric: tabular-nums }
.button { display: inline-block; padding: .8rem 1.2rem; background: var(--wine); color: white; border: 0; border-radius: .3rem; text-decoration: none; font: inherit; font-weight: 650; cursor: pointer }
section,.gallery { margin: auto; width: min(100% - 2rem, 66rem); padding: clamp(2.5rem, 6vw, 5rem) 0 }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.4rem }
article { border-top: 1px solid var(--line); padding: 1rem }
article ul { padding-left: 1.2rem }
.schedule { text-align: center }
ol { width: min(100%, 34rem); margin: auto; list-style: none; padding: 0; text-align: left }
ol li { display: grid; grid-template-columns: 5rem auto; gap: .75rem; border-bottom: 1px solid var(--line); padding: .65rem 0 }
time { color: var(--wine); font-weight: 700 }
.gallery img { display: block; width: min(100%, 42rem); margin: auto; height: auto; border-radius: .35rem }
.rsvp,.result { width: min(100% - 2rem, 42rem) }
.result { margin: 12vh auto }
form,#assistents { display: grid; gap: 1rem }
form label { display: block; font-weight: 600 }
input:not([type=radio]),select,textarea { display: block; width: 100%; padding: .65rem; margin-top: .2rem; border: 1px solid #9c7a77; border-radius: .25rem; background: white; color: inherit; font: inherit }
fieldset { margin: 0; padding: .7rem; border: 1px solid var(--line) }
fieldset label { padding: .2rem }
form p { margin: 0 }
form .button { justify-self: start }
footer { text-align: center; padding: 2rem 1rem; background: var(--pink) }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }