:root { --content-width: 760px; --green: #608574; --green-dark: #3f6150; --ink: #111; --line: #dce5df; --serif: 'Playfair Display', Georgia, serif; --sans: 'Montserrat', Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: #fff url('bg.png') top center / min(100%, var(--content-width)*1.5) auto no-repeat; font: 400 15px/1.9 var(--sans); }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 10px; left: 10px; z-index: 10; background: #fff; padding: 10px 20px; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.hero { min-height: 760px; min-height: min(850px, 100svh); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 190px 24px 70px; text-align: center; }
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(46px, 6.2vw, 84px); margin: 0; letter-spacing: -.04em; }
.ampersand { color: var(--green); font-style: italic; margin: 0 .08em; }
.hero-note { font-family: var(--serif); font-style: italic; font-size: 25px; margin: 20px 0 36px; }
.hero-details { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.scroll-link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 65px; }
.scroll-link span { font-size: 22px; color: var(--green); }
.navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; padding: 25px 24px; font-size: 11px; }
.navigation a { text-decoration: none; border-bottom: 1px solid transparent; }
.navigation a:hover { border-color: var(--green); }
main { max-width: var(--content-width); margin: 0 auto; padding: 0 30px; }
.section { padding: 75px 0; text-align: center; }
h2 { font-size: clamp(31px, 4vw, 43px); margin: 0 0 26px; letter-spacing: -.025em; }
h3 { font-size: 23px; margin: 0 0 10px; }
p { margin: 0 0 19px; }
.section > p:not(.eyebrow) { max-width: 570px; margin-left: auto; margin-right: auto; }
.signature { font: italic 26px/1.5 var(--serif); margin-top: 30px; }
.placeholder { color: #454545; }
.divider { display: flex; align-items: center; justify-content: center; gap: 24px; color: var(--green); font-size: 17px; }
.divider::before, .divider::after { content: ''; height: 1px; background: var(--line); width: 64px; }
.timeline { list-style: none; padding: 0; margin: 45px auto 0; max-width: 560px; text-align: left; }
.timeline li { display: grid; grid-template-columns: 95px 1fr; gap: 30px; position: relative; padding-bottom: 35px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 107px; top: 10px; bottom: -10px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 104px; top: 8px; width: 7px; height: 7px; border: 1px solid var(--green); border-radius: 50%; background: #fff; }
.time { font-size: 12px; padding-top: 3px; }
.timeline p { font-size: 13px; margin: 0; }
.location-name { font-size: 26px; margin: 30px 0 14px; }
.address { font-size: 13px; }
.text-link, .text-button { font-size: 12px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--green); padding: 0 0 5px; }
.text-link span, .text-button span { color: var(--green-dark); margin-left: 8px; }
.travel-notes, .contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 45px; }
.travel-notes p { font-size: 13px; }
.hotel-details { text-align: left; margin: 38px auto 0; max-width: 610px; }
.hotel-details > div { display: grid; grid-template-columns: 155px 1fr; gap: 25px; border-top: 1px solid var(--line); padding: 19px 0; }
.hotel-details dt { font-weight: 500; font-size: 12px; }
.hotel-details dd { margin: 0; font-size: 13px; }
.response-deadline { font-size: 12px; }
.rsvp-form { max-width: 520px; margin: 35px auto 0; text-align: left; }
.rsvp-form > label { display: block; font-size: 12px; margin: 18px 0 8px; }
.rsvp-form > input { width: 100%; padding: 12px 15px; border: 1px solid #a8b9ae; border-radius: 2px; background: #fff; color: var(--ink); font-size: 13px; }
.rsvp-choice { margin: 24px 0; padding: 0; border: 0; }
.rsvp-choice legend { font-size: 12px; font-weight: 500; margin-bottom: 12px; }
.rsvp-choice label { display: flex; align-items: center; gap: 10px; font-size: 13px; margin: 10px 0; cursor: pointer; }
.rsvp-choice input { accent-color: var(--green-dark); width: 18px; height: 18px; }
.rsvp-form textarea { margin-bottom: 12px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.result-page { max-width: var(--content-width); margin: 0 auto; padding: 180px 25px 60px; text-align: center; }
.small { font-size: 12px; line-height: 1.8; }
.button { padding: 12px 22px; border: 1px solid var(--green-dark); background: var(--green-dark); color: #fff; font-size: 12px; border-radius: 2px; transition: background .2s; }
.button-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button:hover, .button[aria-pressed="true"] { background: #294b3a; color: #fff; border-color: #294b3a; }
textarea { width: 100%; padding: 15px; border: 1px solid #a8b9ae; border-radius: 2px; background: #fff; color: var(--ink); resize: vertical; font-size: 13px; }
.contacts h3 { font-size: 24px; }
.contacts p { font-size: 12px; margin-bottom: 7px; }
.footer { text-align: center; padding: 35px 25px 45px; }
.footer .signature { font-size: 30px; }
.footer-names { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.gift { margin: 32px auto; max-width: 470px; }
.gift summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; color: var(--green-dark); width: 48px; height: 48px; font-size: 23px; border-radius: 50%; }
.gift summary::-webkit-details-marker { display: none; }
.gift summary:hover { background: #eff4f0; }
.gift-note { padding: 24px 15px 0; }
.gift-note h2 { font-size: 27px; }
.gift-note p { font-size: 13px; }
.back-to-top { font-size: 10px; text-decoration: none; }
@media (min-width: 1500px) { .hero { padding-top: 230px; } }
@media (max-width: 600px) {
  .hero { min-height: 710px; min-height: min(780px, 100svh); padding: 180px 24px 40px; }
  h1 { max-width: 300px; font-size: 57px; }
  .ampersand { display: block; font-size: 39px; line-height: 1.4; }
  .hero-note { font-size: 22px; margin: 18px 0 25px; }
  .hero-details { font-size: 11px; }
  .scroll-link { margin-top: 30px; }
  .navigation { gap: 10px 20px; }
  main { padding: 0 25px; }
  .section { padding: 57px 0; }
  .eyebrow { font-size: 9px; letter-spacing: .17em; }
  .timeline li { grid-template-columns: 73px 1fr; gap: 25px; }
  .timeline li::before { left: 85px; }
  .timeline li::after { left: 82px; }
  .time { font-size: 10px; }
  .timeline h3 { font-size: 22px; }
  .travel-notes, .contacts { grid-template-columns: 1fr; gap: 22px; }
  .hotel-details > div { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
