:root {
  color-scheme: dark;
  --black: #0c0c0c;
  --cream: #f4ecde;
  --champagne: #c8b489;
  --muted: #b5b4ab;
  --line: #454137;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-synthesis: none;
  background: var(--black);
  color: var(--cream);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--black); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
a { color: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--champagne); outline-offset: 5px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.topbar { height: 66px; max-width: 760px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #25231f; }
.wordmark { text-decoration: none; color: var(--champagne); font-size: 10px; letter-spacing: .23em; }
.nav-rsvp { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 11px; letter-spacing: .13em; color: var(--champagne); padding: 12px 0 12px 20px; }
main { max-width: 760px; margin: 0 auto; }
.eyebrow { font-size: 10px; line-height: 1.5; font-weight: 400; letter-spacing: .25em; color: var(--champagne); margin: 0; }
.hero { text-align: center; padding: 64px 0 64px; }
.hero > .eyebrow { padding: 0 22px; }
.artwork { position: relative; width: 100%; max-width: 690px; margin: 24px auto 0; overflow: hidden; }
.artwork video, .artwork img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; mix-blend-mode: screen; }
.animation-tools { position: absolute; right: 20px; bottom: 4px; display: flex; align-items: center; gap: 12px; }
.animation-tools button { min-height: 36px; min-width: 36px; border: 0; padding: 7px 5px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; color: var(--champagne); opacity: .7; font-size: 10px; cursor: pointer; }
.animation-tools button:hover, .animation-tools button:focus-visible { opacity: 1; }
.hero-line { font-size: clamp(17px,3vw,22px); font-weight: 400; line-height: 1.7; margin: 43px 22px 30px; }
.date-kicker { font-size: 10px; letter-spacing: .20em; line-height: 1.8; color: var(--champagne); margin: 0 20px; }
.scroll-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 42px; padding: 10px; color: var(--muted); font-size: 11px; text-decoration: none; letter-spacing: .05em; }
.scroll-link svg { color: var(--champagne); }
.content { margin: 0 auto; padding-left: 32px; padding-right: 32px; max-width: 650px; }
.invitation { padding-top: 64px; padding-bottom: 72px; border-top: 1px solid #25231f; }
h2 { font-weight: 400; letter-spacing: -.035em; line-height: 1.09; font-size: clamp(45px,10.7vw,66px); margin: 30px 0 46px; }
.intro-copy { font-size: 17px; line-height: 1.75; max-width: 555px; }
.intro-copy p { margin: 0; }
.event-details { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--champagne); }
.event-date { font-size: 18px; color: var(--champagne); font-weight: 600; margin: 0 0 30px; line-height: 1.5; }
.details-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; font-size: 15px; line-height: 1.7; }
.details-grid h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.details-grid p { margin: 0; }
.dress-code { margin-top: 40px; }
.dress-code h3 { margin: 0 0 12px; color: var(--champagne); font-size: 12px; font-weight: 600; letter-spacing: .11em; line-height: 1.7; }
.dress-code p { margin: 0; color: var(--cream); font-size: 16px; line-height: 1.7; }
.rsvp { margin-top: 56px; padding-top: 52px; border-top: 1px solid var(--line); }
.rsvp h2 { font-size: clamp(35px,8vw,48px); margin: 22px 0 19px; }
.rsvp-intro { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 34px; }
.field { margin-bottom: 28px; }
label, legend { font-size: 14px; line-height: 1.5; font-weight: 400; }
label { display: block; margin-bottom: 10px; }
.optional { color: var(--muted); font-size: 12px; }
input[type=text], textarea { width: 100%; background: #161512; border: 1px solid #504a3d; color: var(--cream); padding: 15px; border-radius: 4px; font-size: 16px; line-height: 1.5; transition: border-color .15s; }
input::placeholder, textarea::placeholder { color: #8d8980; opacity: 1; }
input:focus, textarea:focus { border-color: var(--champagne); }
textarea { resize: vertical; min-height: 94px; }
.response-field { padding: 0; border: 0; margin: 0 0 30px; min-width: 0; }
.response-field legend { padding: 0; margin-bottom: 12px; }
.response-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.response-choice { display: flex; align-items: center; gap: 9px; min-height: 62px; border: 1px solid #504a3d; border-radius: 4px; padding: 14px 12px; margin: 0; cursor: pointer; font-size: 13px; line-height: 1.4; transition: background .15s,border-color .15s; }
.response-choice:has(input:checked) { border-color: var(--champagne); background: #272319; }
.response-choice:has(input:focus-visible) { outline: 2px solid var(--champagne); outline-offset: 4px; }
.response-choice input { margin: 0; accent-color: var(--champagne); width: 16px; height: 16px; flex: 0 0 16px; }
.field-help { font-size: 12px; line-height: 1.65; color: var(--muted); margin: -3px 0 16px; max-width: 390px; }
.stepper { display: flex; align-items: stretch; width: 184px; height: 54px; border: 1px solid #504a3d; border-radius: 4px; overflow: hidden; background: #161512; }
.stepper button { width: 54px; border: 0; background: transparent; color: var(--cream); font-size: 24px; cursor: pointer; }
.stepper button:hover { background: #302a1e; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper input { min-width: 0; width: 76px; background: transparent; border: 0; border-left: 1px solid #3c372d; border-right: 1px solid #3c372d; color: var(--cream); text-align: center; font-size: 18px; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.submit-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 58px; background: var(--champagne); color: #17130c; border: 1px solid var(--champagne); border-radius: 4px; padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 600; }
.submit-button:hover { background: #dcc9a4; }
.send-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.send-note strong { font-weight: 600; color: var(--cream); }
.form-error { font-size: 13px; line-height: 1.6; color: #f1b2a6; margin: 0 0 15px; }
.reply-status { margin: 20px 0 0; padding: 16px; border-left: 2px solid var(--champagne); font-size: 13px; line-height: 1.65; color: var(--cream); background: #211d15; }
footer { max-width: 650px; margin: 0 auto; border-top: 1px solid #25231f; padding: 28px 32px max(34px,env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 15px; color: var(--champagne); font-size: 8px; letter-spacing: .17em; line-height: 1.8; }
@media (min-width:700px) {
  .topbar { padding: 0 50px; }
  .hero { padding-top: 80px; padding-bottom: 75px; }
  .artwork { margin-top: 30px; }
  .content { padding-left: 38px; padding-right: 38px; }
  .invitation { padding-top: 75px; padding-bottom: 80px; }
  .rsvp { padding-top: 62px; }
  .response-choice { font-size: 14px; padding: 16px; }
  .details-grid { font-size: 16px; }
  .hero-line { margin-top: 45px; }
}
@media (max-width:350px) {
  .content { padding-left: 24px; padding-right: 24px; }
  .response-options { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero > .eyebrow { font-size: 9px; letter-spacing: .20em; }
  .date-kicker { font-size: 9px; }
  .animation-tools { right: 15px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
