@font-face{font-family:"Lora Numbers";src:url(/numeros-lora.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0030-0039}
@font-face{font-family:"Pinyon Script";src:url(/pinyon-script-latin-400.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap}
:root{--ink:#412631;--accent:#86465c;--soft:#f5e3e9;--paper:#fffbfc;--line:#dab9c5}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:1.06rem/1.6 Georgia,serif}a{color:inherit}.monogram-defs{position:absolute;width:0;height:0;overflow:hidden}.monogram,.footer-emblem{display:block;color:var(--accent)}.monogram{width:clamp(8.8rem,21vw,12.6rem);height:auto;margin:0 auto}.footer-emblem{width:5.5rem;height:auto;margin:0 auto .5rem}.hero{text-align:center;padding:2.5rem 1rem 2.7rem;background:radial-gradient(ellipse at top,#f7e3eb,var(--paper) 76%)}h1,h2,h3,p,figure{margin:0}h1{font-family:"Pinyon Script",cursive;font-weight:400;color:var(--accent);font-size:clamp(2.8rem,9.6vw,7.4rem);line-height:1.3;margin:.25rem 0 .65rem}h1 span{font-size:.65em}h2{font-weight:400;font-size:clamp(1.9rem,5vw,3.25rem);line-height:1.15;margin-bottom:.85rem;color:var(--accent)}h3{font-size:1.4rem;font-weight:400;margin:.8em 0 .25em}p+p{margin-top:.6rem}blockquote{font-size:.95rem;max-width:32rem;margin:1.15rem auto 0;font-style:italic}cite{display:block;font-size:.85rem;margin-top:.3rem}.couple{max-width:1160px;margin:0 auto}.couple img{width:100%;height:auto;display:block}.count,.family,.center,footer{text-align:center;padding:3rem 1rem}.count,.family{background:var(--soft)}.eyebrow{font:700 .78rem/1.4 system-ui;letter-spacing:.17em;color:var(--accent);margin-bottom:.8rem}.clock{display:flex;justify-content:center;gap:clamp(.4rem,3vw,2rem);margin-top:1rem}.clock div{min-width:3.8rem}.clock strong,.clock span{display:block}.clock strong{font-size:clamp(1.7rem,6vw,3rem);font-variant-numeric:tabular-nums;font-weight:400}.clock span{font-size:.82rem}.wrap{width:min(1070px,100%);margin:auto;padding:4rem 1.15rem}.split{display:grid;grid-template-columns:1.15fr 1fr;gap:2.5rem;align-items:center}.split img{display:block;width:100%;height:auto;border-radius:3px}.date{font-size:clamp(1.75rem,5vw,2.65rem);color:var(--accent)}.family>div{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem 4rem}.family small{display:block}.family p{margin-top:.5rem}.attire{margin-top:1.5rem;grid-template-columns:1fr 1fr}.attire img{max-height:570px;object-fit:cover}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}.button,.outline{display:inline-block;border:1px solid var(--accent);border-radius:4px;padding:.62rem 1.15rem;text-decoration:none}.button{color:white;background:var(--accent);margin-top:.9rem}.button:hover{background:#6a3548}.outline,.text-button{background:transparent;color:var(--accent)}.text-button{border:0;text-decoration:underline}.music{position:fixed;right:1rem;bottom:1rem;width:3rem;height:3rem;border-radius:50%;background:var(--accent);color:white;border:1px solid white;font-size:1.5rem;z-index:2}dialog{border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);padding:1.8rem;width:min(92vw,510px);max-height:85dvh}dialog::backdrop{background:#2b1421a0}dialog h2{font-size:1.9rem;padding-right:1.4rem}.close{position:absolute;right:.65rem;top:.55rem;border:0;background:transparent;color:var(--ink);font-size:1.6rem}form>label{display:block;margin:.2rem 0 .8rem}input:not([type=radio]),textarea{display:block;width:100%;border:1px solid var(--line);background:white;border-radius:4px;padding:.48rem .6rem;color:var(--ink)}fieldset{margin:.8rem 0;border:1px solid var(--line);border-radius:4px;padding:.55rem .8rem}.choice{display:flex;align-items:center;gap:.5rem;cursor:pointer}.choice input{accent-color:var(--accent)}.guest{display:grid;grid-template-columns:1fr auto;gap:.5rem;align-items:end;margin-bottom:.55rem}.guest button{margin-bottom:.15rem}.guest label{min-width:0}[role=status]{margin-top:.65rem}#messages{width:min(750px,100%);margin:1.2rem auto 0;padding:0 .6rem;display:grid;gap:.6rem}#messages article{background:var(--paper);border:1px solid var(--line);border-radius:4px;text-align:left;padding:.7rem 1rem;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:650px){.split,.attire{grid-template-columns:1fr;gap:1.35rem}.wrap{padding-top:2.8rem;padding-bottom:2.8rem}.attire img{max-height:none}.hero{padding-top:2.3rem}.clock{gap:.55rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.clock strong,.date,.ceremony-time{font-family:"Lora Numbers",Georgia,serif;font-weight:400;font-variant-numeric:tabular-nums}

.parents{display:flex;justify-content:center;flex-wrap:wrap;gap:.6rem 2.5rem;margin:.65rem 0 1rem}.parents p{margin:0}.invitation{margin:.7rem auto 0;max-width:31rem}

.blessing,.parents{text-transform:uppercase;color:var(--accent)}.parents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.75rem,7vw,5rem);width:min(100%,34rem);margin:1.9rem auto 1.2rem;text-align:left;font-size:clamp(.75rem,2.8vw,.95rem);line-height:1.45}.parents p:last-child{justify-self:end}

.wedding-schedule{margin:.5rem 0 0}.wedding-schedule div{display:grid;grid-template-columns:4.15rem 1fr;gap:.6rem;padding:.35rem 0;border-bottom:1px solid var(--line)}.wedding-schedule dt{color:var(--accent)}.wedding-schedule dd{margin:0}.credit{font-size:.85rem}.credit a{color:var(--accent);font-weight:bold}

.manual-schedule{margin-top:1.75rem}


.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3.2rem, 8vw, 6rem);
  padding: clamp(4.8rem, 10vw, 8rem) clamp(1.6rem, 5vw, 4rem);
}
.hero blockquote {
  max-width: 47rem;
  line-height: 2.15;
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.19rem);
}
.hero h1 {
  margin: 0;
  color: #71374d;
  position: relative;
  width: max-content;
  font-size: clamp(3.4rem, 21vw, 11rem);
  line-height: .94;
  text-align: left;
  padding-inline: .07em;
  -webkit-text-stroke: .009em currentColor;
  text-shadow: 0 2px #fff, 0 4px 16px #a45d752f;
}
.hero .blessing, .hero .invitation {
  font-size: clamp(.875rem, 1.7vw, .97rem);
  line-height: 2.15;
}
.hero cite {
  margin-top: 1.15rem;
}
.hero .invitation {
  max-width: 42rem;
  margin: 0;
}
body {
  position: relative;
  line-height: 1.9;
}
footer {
  padding-bottom: clamp(5.25rem, 10vw, 9rem);
}
.floral-frame {
  position: absolute;
  inset: clamp(.35rem, 1vw, .85rem);
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: .45rem;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px #edd1da;
  pointer-events: none;
}
.floral-corner {
  position: absolute;
  width: clamp(4.8rem, 23vw, 14rem);
  height: auto;
}
.top-left { top: 0; left: 0; }
.top-right { top: 0; right: 0; transform: scaleX(-1); }
.bottom-left { bottom: 0; left: 0; transform: scaleY(-1); }
.bottom-right { bottom: 0; right: 0; transform: scale(-1); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}
.button-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.music {
  display: grid;
  place-items: center;
}

.music[aria-pressed="true"] { background: var(--paper); color: var(--accent); border-color: var(--accent); }

.floral-sprig {
  display: block;
  width: clamp(5.25rem, 16vw, 8.5rem);
  height: auto;
  margin: 0 auto .9rem;
}
#dia .floral-sprig {
  margin-inline-start: 0;
}

.hero h1 > span {
  font-size: 1em;
}
.hero .first-name, .hero .second-name {
  display: block;
}
.hero .second-name {
  margin-inline-start: .36em;
}
.hero .name-connector {
  position: absolute;
  top: .66em;
  inset-inline-start: 3.7em;
  font-family: Baskerville, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  -webkit-text-stroke: 0;
  font-size: .66em;
  line-height: 1;
}

.couple {
  width: min(calc(100% - 3rem), 29rem);
  margin-bottom: clamp(2rem, 5vw, 3.75rem);
  padding: .4rem;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px #6a354814;
}
.ceremony-art img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

html:has(#invitation-intro[open]) { overflow: hidden; }
#invitation-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 43%, #fffaf9 7%, #f5e3e9 62%, #e7c5d0);
}
#invitation-intro[open] { display: grid; place-items: center; }
#invitation-intro::backdrop { background: transparent; }
.intro-stage {
  position: relative;
  width: min(82vw, 62svh, 38rem);
  aspect-ratio: 3 / 2;
  perspective: 1000px;
  isolation: isolate;
}
.intro-stage > * { position: absolute; }
.intro-envelope-back, .intro-envelope-front, .intro-flap, .intro-envelope-closed {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: .16rem;
}
.intro-envelope-back {
  background: linear-gradient(155deg, #bf8d88, #885955);
  box-shadow: 0 1.35rem 2.7rem #71374d47;
}
.intro-envelope-front {
  z-index: 3;
  clip-path: polygon(0 12%, 50% 68%, 100% 12%, 100% 100%, 0 100%);
  background:
    linear-gradient(139deg, transparent 48.9%, #f7d8ce87 49.2% 49.5%, transparent 49.8%) left / 50% 100% no-repeat,
    linear-gradient(41deg, transparent 48.9%, #e7bdb185 49.2% 49.5%, transparent 49.8%) right / 50% 100% no-repeat,
    linear-gradient(160deg, #edccc2, #c69993);
}
.intro-flap {
  z-index: 4;
  clip-path: polygon(0 0, 100% 0, 100% 14%, 94% 23%, 62% 63%, 58% 78%, 42% 78%, 38% 63%, 6% 23%, 0 14%);
  transform-origin: top center;
  animation: lift-flap .85s .28s cubic-bezier(.4,0,.2,1) both;
}
.intro-envelope-closed {
  z-index: 5;
  box-shadow: 0 1.35rem 2.7rem #71374d47;
  animation: lift-cover .18s .28s ease-out forwards;
}
.intro-card {
  z-index: 2;
  inset: 5% 8%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .35rem;
  color: #71374d;
  background: #fffbfc;
  border: 1px solid #d9b2bf;
  box-shadow: inset 0 0 0 5px #fffbfc, inset 0 0 0 6px #e8c9d3, 0 .45rem 1.1rem #71374d36;
  border-radius: .15rem;
  animation: lift-card 3.35s cubic-bezier(.42,0,.2,1) both;
}
.intro-card svg { width: clamp(2.3rem, 9vw, 5.7rem); max-height: 13svh; }
#invitation-intro[open] { animation: dissolve-intro 3.65s linear both; }
@keyframes lift-cover { to { opacity: 0; } }
@keyframes lift-flap {
  86% { opacity: 1; }
  to { opacity: 0; transform: rotateX(167deg); }
}
@keyframes lift-card {
  0%, 27% { transform: translateY(4%); z-index: 2; }
  49% { transform: translateY(-83%); z-index: 2; }
  50% { transform: translateY(-83%); z-index: 6; }
  72% { transform: translateY(0) scale(1.08); z-index: 6; }
  100% { transform: scale(var(--intro-zoom, 6)); z-index: 6; }
}
@keyframes dissolve-intro { 0%, 86% { opacity: 1; } 100% { opacity: 0; } }
