:root {
  color-scheme: light;
  --paper: #fff8ed;
  --paper-deep: #f5e4c9;
  --ink: #422b23;
  --muted: #8c7061;
  --red: #851d2a;
  --red-dark: #661421;
  --saffron: #b97626;
  --line: rgba(108, 70, 48, .19);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page: 1440px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, a, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-frame { margin-inline: auto; max-width: var(--page); overflow: clip; background: var(--paper); box-shadow: 0 0 100px rgba(80,45,28,.07); }
.topbar { height: 76px; position: absolute; inset: 0 0 auto; z-index: 20; width: 100%; max-width: var(--page); margin: auto; padding: 0 clamp(22px,6vw,90px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--ink); transition: background .35s, box-shadow .35s; }
.topbar.scrolled { position: fixed; left: 50%; transform: translateX(-50%); background: rgba(255,248,237,.95); box-shadow: 0 1px 14px rgba(72,38,25,.08); backdrop-filter: blur(16px); }
.wordmark { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: 700 21px/1 var(--serif); letter-spacing: .13em; color: var(--red); white-space: nowrap; }
.wordmark i { font-weight: 400; color: var(--saffron); }
.wordmark-flower { font-size: 18px; color: var(--saffron); }
.navigation { display: flex; align-items: center; gap: clamp(18px,3vw,44px); }
.nav-link { position: relative; padding: 8px 0; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #563d30; white-space: nowrap; transition: color .2s; }
.nav-link::after { position: absolute; content: ""; height: 1px; left: 50%; right: 50%; bottom: 2px; background: var(--red); transition: left .25s,right .25s; }
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link:hover::after, .nav-link.active::after { left: 0; right: 0; }
.nav-cta { justify-self: end; display: inline-flex; gap: 10px; align-items: center; border: 1px solid rgba(133,29,42,.34); border-radius: 50px; padding: 11px 17px; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); transition: color .2s, background .2s, transform .2s; }
.nav-cta span { color: #c8514e; }
.nav-cta:hover { background: var(--red); color: white; transform: translateY(-2px); }
.music-toggle { position: fixed; z-index: 30; right: clamp(16px,3vw,38px); bottom: clamp(16px,3vw,30px); display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 15px; border: 1px solid rgba(133,29,42,.28); border-radius: 999px; background: rgba(255,248,237,.94); color: var(--red); box-shadow: 0 7px 24px rgba(67,38,25,.18); backdrop-filter: blur(10px); cursor: pointer; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: transform .25s,background .25s,box-shadow .25s; }
.music-toggle:hover { transform: translateY(-3px); background: #fffaf1; box-shadow: 0 10px 28px rgba(67,38,25,.23); }
.music-icon { font: 500 18px/1 var(--serif); }
.music-toggle[aria-pressed="true"] .music-icon { animation: music-note .8s ease-in-out infinite alternate; }
.music-prompt { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; background: rgba(47,28,19,.14); backdrop-filter: blur(2px); transition: opacity .35s,visibility .35s; }
.music-prompt.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.music-prompt-button { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid rgba(255,239,210,.72); border-radius: 999px; background: var(--red); color: #fff8ed; box-shadow: 0 10px 32px rgba(56,24,20,.3); cursor: pointer; font: 600 11px/1 var(--sans); letter-spacing: .11em; text-transform: uppercase; transition: transform .25s,background .25s; }
.music-prompt-button:hover { transform: translateY(-2px); background: var(--red-dark); }
.menu-toggle { display: none; }
.hero { position: relative; min-height: min(840px, 100svh); height: max(680px, min(840px, 100svh)); display: grid; place-items: center; overflow: hidden; background: #d69c65; isolation: isolate; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { z-index: -2; background: url("public/images/hero.jpg") center 54%/cover no-repeat; transform: scale(1.025); animation: hero-arrive 1.8s cubic-bezier(.2,.7,.2,1) both, hero-drift 30s ease-in-out 1.8s infinite alternate; }
.hero-shade { z-index: -1; background: linear-gradient(90deg,rgba(75,39,20,.21),transparent 18%,transparent 82%,rgba(75,39,20,.18)),linear-gradient(0deg,rgba(72,36,20,.34),transparent 24%,rgba(255,239,207,.13) 52%,rgba(62,27,12,.2)); }
.hero-copy { position: relative; width: min(90%, 700px); margin: 36px auto 0; padding: clamp(78px, 9vw, 100px) clamp(18px, 4vw, 48px) clamp(26px, 3.7vw, 42px); border: 1px solid rgba(241,205,150,.52); border-radius: 50% 50% 3px 3px / 28% 28% 3px 3px; background: rgba(66,38,35,.44); box-shadow: 0 16px 52px rgba(43,22,20,.15), inset 0 0 0 5px rgba(241,205,150,.06); backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); text-align: center; color: #fff2d9; text-shadow: none; animation: copy-arrive 1.2s .18s both; }
.om-mark { font: 400 clamp(48px, 6vw, 72px)/1 var(--serif); color: #bd731d; margin: 0 0 16px; }
.hero .om-mark { color: #f1bd61; }
.eyebrow { margin: 0; font-size: 10px; line-height: 1.65; font-weight: 600; letter-spacing: .23em; text-transform: uppercase; color: var(--red); }
.hero .eyebrow { color: #f4dfbd; }
.hero h1 { margin: 16px 0 0; font: 500 clamp(64px, 9.4vw, 118px)/.8 var(--serif); letter-spacing: -.045em; color: #fff0d3; }
.hero h1 .ampersand { display: block; margin: 13px 0 5px; font-size: .5em; font-style: italic; font-weight: 400; line-height: 1; color: #e8bd79; }
.fine-rule { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 22px auto 10px; color: #e4b86e; }
.fine-rule::before, .fine-rule::after { display: block; content: ""; width: 62px; height: 1px; background: linear-gradient(90deg,transparent,#deb46d); }
.fine-rule::after { transform: rotate(180deg); }
.fine-rule span { font-size: 17px; }
.hero-invitation { margin: 13px 0 18px; font-size: 11px; line-height: 1.9; letter-spacing: .14em; text-transform: uppercase; color: #f6e5cb; }
.date-lockup { display: flex; justify-content: center; align-items: center; gap: 14px; color: #ffe3ad; font: 700 20px/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.date-line { width: 26px; height: 1px; background: #dfb36e; }
.countdown { margin: 25px auto 0; display: inline-flex; justify-content: center; align-items: center; gap: 14px; color: #fff0d8; }
.countdown div { display: grid; gap: 2px; min-width: 39px; }
.countdown strong { font: 600 19px/1 var(--serif); }
.countdown div span { font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.countdown > i { font: 500 16px/1 var(--serif); color: #e7bd77; transform: translateY(-5px); }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; display: grid; justify-items: center; gap: 8px; transform: translateX(-50%); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; color: #fff8eb; text-shadow: 0 1px 7px rgba(42,20,10,.7); }
.scroll-cue span { display: block; width: 18px; height: 28px; border: 1px solid rgba(255,248,235,.72); border-radius: 99px; position: relative; }
.scroll-cue span::after { position: absolute; content: ""; width: 2px; height: 5px; top: 5px; left: 7px; border-radius: 2px; background: #fff8eb; animation: scroll-dot 1.8s ease-in-out infinite; }
.hero-index { position: absolute; right: 27px; bottom: 29px; writing-mode: vertical-rl; font-size: 8px; letter-spacing: .17em; text-transform: uppercase; color: #fff8eb; text-shadow: 0 1px 7px rgba(42,20,10,.7); }
.section-shell { padding-inline: clamp(24px, 8vw, 112px); }
.story { position: relative; min-height: 490px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(36px, 8vw, 110px); padding-block: 92px 88px; background: radial-gradient(ellipse at 20% 80%, rgba(210,156,83,.12),transparent 29%),radial-gradient(ellipse at 90% 9%, rgba(190,103,66,.11),transparent 23%),var(--paper); }
.story .falling-petals { z-index: 1; }
.story-copy, .story-caption { z-index: 2; }
.story-image-wrap { position: relative; z-index: 0; height: 332px; overflow: hidden; background: #e0ae78; }
.story-image-wrap::before { position: absolute; z-index: 1; inset: 10px; border: 1px solid rgba(255,248,237,.75); content: ""; pointer-events: none; }
.story-image-wrap img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.story-image-wrap:hover img { transform: scale(1.045); }
.story-copy { max-width: 390px; padding: 5px 0; }
.section-flower { display: inline-block; margin-bottom: 14px; color: var(--saffron); font-size: 31px; line-height: 1; animation: flower-sway 7s ease-in-out infinite; }
h2 { margin: 9px 0 0; font: 500 clamp(42px, 5.2vw, 68px)/.96 var(--serif); letter-spacing: -.025em; color: var(--red); }
.story-copy h2 { margin-top: 14px; }
.small-rule { width: 48px; height: 1px; margin: 20px 0; background: linear-gradient(90deg,var(--saffron),transparent); }
.story-copy > p:not(.eyebrow) { margin: 0 0 12px; max-width: 360px; color: #705448; font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 11px; padding: 0 0 5px; border: 0; border-bottom: 1px solid rgba(133,29,42,.33); background: transparent; color: var(--red); cursor: pointer; font-size: 10px; font-weight: 600; letter-spacing: .07em; transition: gap .2s; }
.text-link:hover { gap: 16px; }
.story-caption { position: absolute; right: clamp(24px,8vw,112px); bottom: 43px; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; color: #927765; }
.story-caption i { padding-inline: 8px; font-style: normal; color: var(--saffron); }
.celebrations { position: relative; isolation: isolate; overflow: hidden; padding-top: 94px; padding-bottom: 91px; background: #f6ebd9; background-image: radial-gradient(ellipse at 50% -40%,#fffaee,transparent 70%); }
.celebrations > :not(.falling-petals) { position: relative; z-index: 1; }
.section-heading { text-align: center; }
.section-heading h2 { margin-top: 12px; font-size: clamp(42px,6vw,72px); }
.section-subtitle { margin: 11px 0 0; color: #846c5f; font-size: 11px; line-height: 1.7; }
.ornament-rule { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 19px 0 37px; color: #be8540; font-size: 11px; }
.ornament-rule::before, .ornament-rule::after { content: ""; width: 57px; height: 1px; background: linear-gradient(90deg,transparent,rgba(174,115,52,.52)); }
.ornament-rule::after { transform: rotate(180deg); }
.event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2.4vw,33px); align-items: stretch; }
.event-card { position: relative; background: var(--paper); border: 1px solid rgba(164,116,76,.18); box-shadow: 0 12px 30px rgba(99,62,37,.055); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.event-card:hover { transform: translateY(-5px); border-color: rgba(164,116,76,.4); box-shadow: 0 18px 35px rgba(99,62,37,.12); }
.event-featured { transform: translateY(-7px); }
.event-featured:hover { transform: translateY(-12px); }
.event-image { position: relative; display: block; width: 100%; height: clamp(160px,20vw,265px); overflow: hidden; border: 0; padding: 0; background: #dfaf72; text-align: left; cursor: pointer; }
.event-image::after { position: absolute; content: ""; inset: 45% 0 0; background: linear-gradient(0deg,rgba(51,29,15,.55),transparent); opacity: .74; transition: opacity .3s; }
.event-image img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.event-image:hover img { transform: scale(1.06); }
.event-image:hover::after { opacity: 1; }
.image-label { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: white; font-size: 8px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.image-label i { padding-inline: 4px; font-style: normal; color: #efcc8b; }
.image-action { position: absolute; z-index: 2; right: 13px; top: 13px; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: white; font-size: 16px; line-height: 1; transition: transform .3s, background .3s; }
.event-image[aria-expanded="true"] .image-action { transform: rotate(45deg); background: rgba(133,29,42,.8); }
.event-content { position: relative; padding: 18px 19px 22px; }
.event-number { position: absolute; right: 18px; top: 19px; color: #c69765; font: 500 10px/1 var(--serif); }
.event-title-line { display: flex; align-items: center; justify-content: space-between; }
.event-title-line h3 { margin: 0; color: var(--red); font: 600 29px/.95 var(--serif); }
.event-flower { color: #c68b48; font-size: 15px; }
.event-card:hover .event-flower { display: inline-block; animation: flower-bloom .55s cubic-bezier(.2,.7,.2,1) both; }
.event-card:hover .event-image img { transform: scale(1.055); }
.event-intro { margin: 8px 0 16px; color: #967b68; font: italic 13px/1.2 var(--serif); }
.event-meta { display: grid; gap: 7px; color: #694d3d; font-size: 9px; line-height: 1.4; }
.event-meta span { display: flex; align-items: baseline; gap: 9px; }
.event-meta span::before { display: block; content: "✳"; flex: 0 0 auto; color: var(--saffron); font-size: 8px; }
.event-note { max-height: 0; overflow: hidden; margin: 0; opacity: 0; color: #83685a; font-size: 10px; line-height: 1.7; transition: max-height .35s,margin .35s,opacity .3s; }
.event-card.is-expanded .event-note { max-height: 80px; margin: 15px 0 5px; opacity: 1; }
.map-link { display: inline-block; margin-top: 15px; color: var(--red); font-size: 8px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; border-bottom: 1px solid rgba(133,29,42,.25); padding-bottom: 3px; transition: letter-spacing .2s; }
.map-link:hover { letter-spacing: .16em; }
.events-footnote { margin: 32px 0 0; text-align: center; color: #8a7060; font: italic 14px var(--serif); }
.events-footnote span { margin-right: 6px; color: var(--saffron); }
.venue { position: relative; min-height: 525px; display: grid; align-items: center; justify-items: end; padding: 55px clamp(24px,10vw,140px); overflow: hidden; isolation: isolate; }
.venue > :not(.falling-petals):not(.venue-landscape):not(.venue-wash) { position: relative; z-index: 1; }
.venue-landscape { position: absolute; z-index: -2; inset: 0; background: url("public/images/hero.jpg") 49% 76%/cover; filter: saturate(.82); transform: scale(1.035); }
.venue-wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(67,34,22,.06),rgba(71,39,23,.14) 42%,rgba(57,29,17,.18)),linear-gradient(0deg,rgba(71,36,20,.25),transparent 30%,rgba(71,36,20,.07)); }
.venue-card { width: min(390px,100%); padding: 34px 35px 32px; border: 1px solid rgba(175,126,78,.38); outline: 1px solid rgba(175,126,78,.22); outline-offset: -7px; background: rgba(255,248,237,.93); text-align: center; box-shadow: 0 20px 55px rgba(62,32,20,.15); backdrop-filter: blur(5px); }
.venue-card .section-flower { margin-bottom: 10px; font-size: 27px; }
.venue-card h2 { margin-top: 9px; font-size: 52px; }
.venue-card .small-rule { margin: 16px auto; }
.venue-name { margin: 0 0 8px; color: #72202a; font: 600 22px/1.2 var(--serif); }
.venue-address { margin: 0; color: #725849; font-size: 10px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; padding: 0 22px; border-radius: 2px; font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s,color .2s,transform .2s,box-shadow .2s; }
.button-deep { border: 1px solid var(--red); background: var(--red); color: #fff8ed; }
.button-deep:hover { transform: translateY(-2px); background: var(--red-dark); box-shadow: 0 8px 20px rgba(103,20,33,.22); }
.venue-card .button { margin-top: 20px; }
.venue-tip { max-width: 240px; margin: 15px auto 0; color: #9b8170; font: italic 12px/1.45 var(--serif); }
.venue-coordinate { position: absolute; bottom: 23px; left: 26px; color: #fff8ed; font-size: 8px; letter-spacing: .16em; text-shadow: 0 1px 8px #352013; }
.rsvp { position: relative; min-height: 390px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 42%,#ffeac5 0,rgba(255,229,188,.94) 31%,rgba(250,211,159,.91) 63%,rgba(237,185,131,.87) 100%),var(--paper-deep); text-align: center; }
.rsvp > :not(.falling-petals) { position: relative; z-index: 1; }
.falling-petals { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.falling-petal, .falling-heart { position: absolute; top: -22px; left: var(--left); color: var(--particle-color); opacity: 0; animation: particle-fall var(--duration) var(--delay) linear infinite; }
.falling-petal { width: var(--size); height: calc(var(--size) * 1.35); border-radius: 75% 30% 75% 30%; background: var(--particle-color); }
.falling-heart { font: 600 var(--size)/1 var(--serif); text-shadow: 0 1px 5px rgba(255,248,237,.68); }
.rsvp::after { position: absolute; inset: 15px; content: ""; border: 1px solid rgba(148,79,40,.19); pointer-events: none; opacity: .27; }
.rsvp-inner { position: relative; z-index: 1; width: min(100% - 38px, 520px); padding-block: 48px; }
.om-small { margin-bottom: 10px; font-size: 40px; }
.rsvp h2 { margin-top: 12px; font-size: clamp(46px,6vw,66px); }
.rsvp-intro { margin: 14px 0 0; color: #795948; font: 500 15px/1.5 var(--serif); }
.rsvp-deadline { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 19px 0 18px; color: #813340; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.rsvp-deadline span { color: var(--saffron); }
.rsvp-open { min-width: 180px; }
.rsvp-thanks { margin: 17px 0 0; color: #8b6952; font: italic 18px var(--serif); }
.footer { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px clamp(24px,8vw,112px); background: #fff9ef; }
.footer-mark { font-size: 18px; }
.footer > p, .back-top { margin: 0; color: #907765; font-size: 9px; letter-spacing: .035em; }
.back-top { transition: color .2s; }
.back-top:hover { color: var(--red); }
.rsvp-dialog { color: var(--ink); background: var(--paper); }
.rsvp-dialog { width: min(490px,calc(100% - 30px)); max-height: min(770px,calc(100% - 30px)); padding: 0; border: 1px solid rgba(148,94,59,.3); box-shadow: 0 28px 100px rgba(50,24,18,.28); }
.rsvp-dialog::backdrop { background: rgba(48,24,20,.67); backdrop-filter: blur(4px); }
.dialog-content { padding: 30px clamp(24px,7vw,47px) 28px; }
.dialog-content > .section-flower { display: block; margin: 0 auto 9px; text-align: center; font-size: 25px; }
.dialog-content > .eyebrow, .dialog-content > h2, .dialog-note { text-align: center; }
.dialog-content > h2 { margin-top: 6px; font-size: 48px; }
.dialog-note { margin: 5px 0 22px; color: var(--muted); font: italic 14px var(--serif); }
.dialog-close { position: absolute; top: 8px; right: 12px; z-index: 2; border: 0; padding: 4px; background: transparent; color: var(--red); cursor: pointer; font: 400 28px/1 var(--serif); }
#rsvp-form { display: grid; gap: 13px; }
#rsvp-form > label { display: grid; gap: 5px; color: #765b4a; font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
#rsvp-form input:not([type=radio]), #rsvp-form select, #rsvp-form textarea { display: block; width: 100%; border: 1px solid rgba(108,70,48,.23); border-radius: 0; padding: 10px 11px; background: #fffcf7; color: var(--ink); font-size: 12px; font-weight: 400; letter-spacing: normal; text-transform: none; outline: none; transition: border .2s,box-shadow .2s; }
#rsvp-form input:focus, #rsvp-form select:focus, #rsvp-form textarea:focus { border-color: #b57546; box-shadow: 0 0 0 2px rgba(181,117,70,.1); }
#rsvp-form input::placeholder, #rsvp-form textarea::placeholder { color: #b6a294; }
#rsvp-form textarea { resize: vertical; }
#rsvp-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; margin: 1px 0 0; padding: 0; }
#rsvp-form legend { margin-bottom: 7px; color: #765b4a; font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.radio-choice { position: relative; }
.radio-choice input { position: absolute; opacity: 0; }
.radio-choice span { display: flex; align-items: center; min-height: 36px; padding: 7px 10px 7px 30px; border: 1px solid rgba(108,70,48,.2); color: #765b4a; font-size: 10px; cursor: pointer; transition: border .2s,background .2s,color .2s; }
.radio-choice span::before { position: absolute; left: 10px; content: ""; width: 11px; height: 11px; border: 1px solid #b39880; border-radius: 50%; }
.radio-choice input:checked + span { border-color: #a75143; background: rgba(133,29,42,.045); color: var(--red); }
.radio-choice input:checked + span::before { border-color: var(--red); box-shadow: inset 0 0 0 3px var(--paper),inset 0 0 0 6px var(--red); }
.radio-choice input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.form-submit { margin-top: 3px; }
.form-privacy { margin: 12px 0 0; color: #a18b7b; text-align: center; font-size: 9px; }
.form-success { padding: 25px 0 16px; text-align: center; }
.form-success > span { color: var(--saffron); font-size: 40px; }
.form-success h3 { margin: 12px 0; color: var(--red); font: 600 33px/1 var(--serif); }
.form-success p { color: #7a6150; font-size: 12px; line-height: 1.7; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s,transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.story-image-wrap, .venue-card { transition: box-shadow .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.story-image-wrap:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(86,48,27,.15); }
.venue-card:hover { transform: translateY(-4px); box-shadow: 0 25px 60px rgba(62,32,20,.22); }
.event-card:nth-child(2) { transition-delay: .12s; }
.event-card:nth-child(3) { transition-delay: .24s; }
@keyframes hero-arrive { from { opacity: .5; transform: scale(1.09); } to { opacity: 1; transform: scale(1.025); } }
@keyframes hero-drift { from { transform: scale(1.025) translateY(0); } to { transform: scale(1.055) translateY(-.5%); } }
@keyframes copy-arrive { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-dot { 0%,100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(7px); opacity: 0; } }
@keyframes music-note { to { transform: translateY(-2px) rotate(9deg); } }
@keyframes flower-sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes flower-bloom { from { transform: scale(.75) rotate(-24deg); } to { transform: scale(1.12) rotate(0); } }
@keyframes particle-fall { 0% { opacity: 0; transform: translate3d(0,-3vh,0) rotate(0); } 12% { opacity: .62; } 82% { opacity: .45; } 100% { opacity: 0; transform: translate3d(var(--drift),var(--fall),0) rotate(330deg); } }
@media (min-width:901px) {
  .hero { min-height: 760px; height: max(760px,min(840px,100svh)); }
  .hero-copy { width: min(86%,650px); margin-top: 58px; padding: 58px 34px 22px; }
  .hero .om-mark { margin-bottom: 10px; font-size: clamp(50px,5vw,62px); }
  .hero h1 { margin-top: 12px; font-size: clamp(64px,7.8vw,96px); line-height: .82; }
  .hero h1 .ampersand { margin-block: 9px 4px; }
  .fine-rule { margin-block: 15px 6px; }
  .hero-invitation { margin-block: 9px 12px; }
  .countdown { margin-top: 16px; }
  .scroll-cue { bottom: 14px; }
}
@media (min-width:1441px) { .topbar.scrolled { width: var(--page); } }
@media (max-width:900px) {
  .topbar { height: 67px; padding-inline: 26px; }
  .navigation { gap: 17px; }
  .nav-link { font-size: 8px; letter-spacing: .1em; }
  .nav-cta { padding: 9px 12px; font-size: 8px; }
  .hero { min-height: 680px; height: 92svh; }
  .hero-image { background-position: center; }
  .story { gap: 42px; }
  .story-image-wrap { height: 290px; }
  .story-caption { bottom: 24px; }
  .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 730px; margin-inline: auto; }
  .event-featured { transform: none; }
  .event-featured:hover { transform: translateY(-5px); }
  .event-image { height: 230px; }
  .event-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr .95fr; }
  .event-card:last-child .event-image { height: 100%; min-height: 240px; }
  .event-card:last-child .event-content { align-self: center; padding: 28px; }
}
@media (max-width:640px) {
  html { scroll-padding-top: 68px; }
  .topbar { height: 63px; grid-template-columns: 1fr auto auto; padding-inline: 20px; }
  .topbar.scrolled { height: 60px; }
  .wordmark { gap: 5px; font-size: 19px; }
  .wordmark-flower { font-size: 14px; }
  .menu-toggle { display: grid; align-content: center; gap: 5px; width: 38px; height: 38px; margin-right: 12px; border: 1px solid rgba(125,68,47,.24); border-radius: 50%; padding: 9px; background: rgba(255,248,237,.48); cursor: pointer; }
  .menu-toggle span { display: block; height: 1px; width: 100%; background: var(--red); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .navigation { position: absolute; top: 63px; left: 0; right: 0; display: grid; gap: 0; padding: 6px 22px 13px; background: rgba(255,248,237,.98); box-shadow: 0 14px 18px rgba(73,41,23,.1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s,transform .22s,visibility .22s; }
  .navigation.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid rgba(108,70,48,.1); font-size: 9px; }
  .nav-link::after { display: none; }
  .nav-cta { padding: 9px 11px; font-size: 7px; letter-spacing: .03em; }
  .music-toggle { right: 14px; bottom: 14px; min-height: 39px; padding-inline: 12px; font-size: 8px; }
  .hero { min-height: 660px; height: 92svh; max-height: 850px; }
  .hero-image { background-position: 50% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(74,38,21,.14),transparent 13%,transparent 87%,rgba(74,38,21,.12)),linear-gradient(0deg,rgba(72,36,20,.38),transparent 27%,rgba(255,239,207,.11) 57%,rgba(62,27,12,.2)); }
  .hero-copy { width: 94%; margin-top: 32px; }
  .hero-copy { padding: 78px 16px 25px; border-radius: 50% 50% 3px 3px / 25% 25% 3px 3px; background: rgba(66,38,35,.46); box-shadow: 0 12px 36px rgba(43,22,20,.15), inset 0 0 0 4px rgba(241,205,150,.06); }
  .om-mark { margin-bottom: 12px; font-size: 49px; }
  .eyebrow { font-size: 8px; letter-spacing: .19em; }
  .hero h1 { margin-top: 17px; font-size: clamp(60px,16vw,92px); line-height: .84; }
  .hero h1 .ampersand { margin-block: 13px 6px; }
  .fine-rule { margin-block: 18px 8px; }
  .hero-invitation { margin-block: 11px 17px; font-size: 9px; letter-spacing: .1em; }
  .date-lockup { gap: 9px; font-size: 15px; letter-spacing: .1em; }
  .date-line { width: 17px; }
  .countdown { margin-top: 20px; gap: 9px; }
  .countdown div { min-width: 35px; }
  .countdown strong { font-size: 17px; }
  .countdown div span { font-size: 7px; }
  .hero-index { display: none; }
  .scroll-cue { bottom: 18px; }
  .section-shell { padding-inline: 22px; }
  .story { grid-template-columns: 1fr; gap: 27px; padding-block: 44px 65px; }
  .story-image-wrap { height: clamp(190px,56vw,310px); }
  .story-copy { max-width: none; text-align: center; }
  .story-copy h2 { font-size: 53px; }
  .story-copy .small-rule { margin: 17px auto; }
  .story-copy > p:not(.eyebrow) { margin-inline: auto; font-size: 11px; }
  .story-caption { right: 22px; bottom: 21px; font-size: 7px; }
  .celebrations { padding-top: 59px; padding-bottom: 57px; }
  .section-heading h2 { font-size: 47px; line-height: .94; }
  .section-subtitle { max-width: 290px; margin-inline: auto; font-size: 10px; }
  .ornament-rule { margin: 17px 0 25px; }
  .event-grid { grid-template-columns: 1fr; gap: 17px; }
  .event-card { display: grid; grid-template-columns: 42% 58%; align-items: stretch; }
  .event-image { height: 100%; min-height: 220px; }
  .image-label { left: 11px; bottom: 12px; font-size: 7px; }
  .image-action { top: 9px; right: 9px; width: 24px; height: 24px; }
  .event-content { align-self: center; padding: 18px 13px 17px; }
  .event-title-line h3 { font-size: 26px; }
  .event-number { right: 13px; top: 16px; font-size: 9px; }
  .event-intro { max-width: 190px; margin: 6px 0 13px; font-size: 12px; }
  .event-meta { gap: 7px; font-size: 8px; }
  .event-meta span { gap: 6px; }
  .event-note { font-size: 9px; }
  .event-card.is-expanded .event-note { max-height: 90px; }
  .map-link { margin-top: 13px; font-size: 7px; }
  .event-card:last-child { grid-column: auto; display: grid; grid-template-columns: 42% 58%; }
  .event-card:last-child .event-image { min-height: 220px; height: 100%; }
  .event-card:last-child .event-content { padding: 18px 13px 17px; }
  .events-footnote { max-width: 270px; margin: 23px auto 0; font-size: 13px; line-height: 1.5; }
  .venue { min-height: 550px; justify-items: center; padding: 44px 21px; }
  .venue-landscape { background-position: 50% 60%; }
  .venue-wash { background: rgba(63,33,22,.2); }
  .venue-card { width: min(380px,100%); padding: 31px 22px 28px; }
  .venue-card h2 { font-size: 48px; }
  .venue-name { font-size: 21px; }
  .venue-coordinate { bottom: 13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .rsvp { min-height: 355px; }
  .rsvp::after { inset: 9px; }
  .rsvp-inner { padding-block: 37px; }
  .rsvp h2 { font-size: 52px; }
  .rsvp-intro { max-width: 290px; margin-inline: auto; font-size: 14px; }
  .footer { min-height: 90px; justify-content: space-between; padding-inline: 20px; }
  .footer > p { max-width: 110px; text-align: center; font-size: 8px; line-height: 1.5; }
  .back-top { max-width: 84px; text-align: right; font-size: 8px; line-height: 1.5; }
}
@media (max-width:360px) {
  .nav-cta { gap: 5px; padding-inline: 8px; }
  .event-card, .event-card:last-child { grid-template-columns: 40% 60%; }
  .event-image, .event-card:last-child .event-image { min-height: 234px; }
  .event-content, .event-card:last-child .event-content { padding-inline: 10px; }
  .event-title-line h3 { font-size: 23px; }
  .event-meta { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .falling-petals { display: none; }
  .music-prompt { transition: none; }
}
