:root {
  --cream: #f4f0e7;
  --paper: #fbf9f4;
  --ink: #2f2b27;
  --muted: #736d66;
  --pistachio: #aab58b;
  --pistachio-dark: #66714f;
  --burgundy: #6b1f31;
  --line: rgba(47, 43, 39, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.65; }
img { display: block; width: 100%; }
a { color: inherit; }
.page-noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 99; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.hero { min-height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; color: white; }
.hero__image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 33%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,18,14,.18), rgba(24,18,14,.08) 45%, rgba(24,18,14,.48)); }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 28px; text-shadow: 0 2px 25px rgba(0,0,0,.28); }
.eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.eyebrow.dark { color: var(--burgundy); }
.hero h1 { margin: 0; display: flex; flex-direction: column; align-items: center; font-family: var(--serif); font-size: clamp(74px, 13vw, 170px); font-weight: 400; line-height: .72; }
.hero h1 i { font-size: .42em; font-weight: 400; margin: .15em 0; }
.hero__date { margin: 42px 0 0; font-size: 15px; letter-spacing: .35em; }
.hero__city { margin: 8px 0 0; font-family: var(--serif); font-size: 25px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 32px; height: 52px; border: 1px solid rgba(255,255,255,.65); border-radius: 22px; transform: translateX(-50%); z-index: 3; }
.scroll-cue span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: white; left: 13px; top: 10px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }
.section { padding: 110px 24px; }
.section__inner { max-width: 1120px; margin: 0 auto; }
.invitation { background: var(--paper); }
.invitation__grid { display: grid; grid-template-columns: 1fr .86fr; gap: 90px; align-items: center; }
.invitation h2, .section-heading h2, .dresscode h2, .rsvp h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(45px, 6vw, 76px); line-height: 1.03; margin: 0 0 30px; }
.invitation p { max-width: 610px; }
.signature { margin-top: 38px; font-family: var(--serif); font-size: 38px; color: var(--burgundy); font-style: italic; }
.portrait { margin: 0; position: relative; }
.portrait:before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--pistachio); z-index: 0; }
.portrait img { position: relative; z-index: 1; aspect-ratio: 4/5; object-fit: cover; }
.countdown { background: var(--burgundy); color: white; text-align: center; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 45px auto 0; }
.countdown__grid div { border-left: 1px solid rgba(255,255,255,.24); }
.countdown__grid div:first-child { border-left: 0; }
.countdown strong { display: block; font-family: var(--serif); font-size: clamp(56px, 8vw, 105px); font-weight: 400; line-height: 1; }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .17em; opacity: .8; }
.section-heading { text-align: center; margin-bottom: 70px; }
.timeline { max-width: 850px; margin: 0 auto; position: relative; }
.timeline:before { content: ""; position: absolute; top: 0; bottom: 0; left: 180px; width: 1px; background: var(--line); }
.timeline__item { display: grid; grid-template-columns: 150px 60px 1fr; align-items: start; min-height: 165px; }
.timeline__time { padding-top: 3px; text-align: right; font-family: var(--serif); font-size: 30px; color: var(--burgundy); }
.timeline__dot { width: 13px; height: 13px; border: 2px solid var(--burgundy); background: var(--cream); border-radius: 50%; justify-self: center; margin-top: 13px; z-index: 1; }
.timeline__content h3 { font-family: var(--serif); font-size: 34px; margin: 0 0 8px; }
.timeline__content p { margin: 0; color: var(--muted); }
.dresscode { background: var(--pistachio-dark); color: white; }
.dresscode__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.palette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.palette div { display: flex; flex-direction: column; gap: 15px; align-items: center; }
.swatch { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.swatch--white { background: #faf8f2; }
.swatch--pistachio { background: #b8c19a; }
.swatch--burgundy { background: #6b1f31; }
.palette b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.city-photo { min-height: 78svh; padding: 0; position: relative; display: grid; place-items: center; overflow: hidden; color: white; }
.city-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 45%; }
.city-photo__overlay { position: absolute; inset: 0; background: rgba(37,29,19,.27); }
.city-photo__caption { z-index: 1; text-align: center; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.city-photo__caption span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .25em; }
.city-photo__caption strong { display: block; font-family: var(--serif); font-size: clamp(70px, 12vw, 150px); font-weight: 400; line-height: 1; }
.info { background: var(--paper); }
.info__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { padding: 42px 34px; border: 1px solid var(--line); min-height: 310px; }
.info-card__number { display: block; font-family: var(--serif); font-size: 48px; color: var(--burgundy); }
.info-card h3 { font-family: var(--serif); font-size: 31px; margin: 28px 0 12px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { text-decoration: none; border-bottom: 1px solid transparent; }
.info-card a:hover { border-color: currentColor; }
.rsvp { background: var(--cream); }
.rsvp__grid { display: grid; grid-template-columns: .7fr 1fr; gap: 90px; align-items: start; }
.rsvp__intro { position: sticky; top: 50px; }
.rsvp-form { background: var(--paper); padding: 48px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(64,45,30,.06); }
.rsvp-form > label, fieldset { display: block; margin: 0 0 30px; }
.rsvp-form label, legend { font-size: 13px; font-weight: 600; letter-spacing: .03em; }
fieldset { padding: 0; border: 0; }
legend { margin-bottom: 12px; }
input[type="text"], select, textarea { width: 100%; margin-top: 10px; border: 0; border-bottom: 1px solid #aaa39a; background: transparent; border-radius: 0; padding: 12px 2px; font: inherit; color: var(--ink); outline: none; }
textarea { border: 1px solid #c7c0b7; padding: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--burgundy); }
.choice { display: inline-flex !important; align-items: center; gap: 9px; margin: 0 18px 10px 0 !important; font-weight: 400 !important; cursor: pointer; }
.choice input { accent-color: var(--burgundy); }
.choices-grid { display: grid; grid-template-columns: 1fr 1fr; }
button { width: 100%; border: 0; padding: 18px 24px; background: var(--burgundy); color: white; font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .14em; cursor: pointer; transition: transform .2s, background .2s; }
button:hover { background: #551626; transform: translateY(-1px); }
button:disabled { opacity: .55; cursor: wait; transform: none; }
.form-status { min-height: 26px; margin: 16px 0 0; font-size: 13px; text-align: center; }
.form-status.success { color: var(--pistachio-dark); }
.form-status.error { color: #a42727; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
footer { background: #292621; color: white; padding: 85px 24px; text-align: center; }
footer p, footer span { display: block; margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .72; }
footer strong { display: block; margin: 20px 0; font-family: var(--serif); font-size: 54px; font-weight: 400; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .section { padding: 78px 20px; }
  .invitation__grid, .dresscode__grid, .rsvp__grid { grid-template-columns: 1fr; gap: 55px; }
  .portrait { max-width: 560px; }
  .countdown__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .countdown__grid div:nth-child(3) { border-left: 0; }
  .timeline:before { left: 15px; }
  .timeline__item { grid-template-columns: 30px 1fr; min-height: 190px; }
  .timeline__time { grid-column: 2; text-align: left; font-size: 26px; }
  .timeline__dot { grid-column: 1; grid-row: 1 / span 2; margin-top: 12px; }
  .timeline__content { grid-column: 2; }
  .palette { gap: 12px; }
  .swatch { width: 82px; height: 82px; }
  .info__grid { grid-template-columns: 1fr; }
  .rsvp__intro { position: static; }
  .rsvp-form { padding: 30px 22px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 78px; }
  .hero__image { object-position: 52% center; }
  .choices-grid { grid-template-columns: 1fr; }
  .palette b { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}
