@font-face {
  font-family: "Invitation Cyrillic";
  src: url("fonts/cormorant-garamond-italic-cyrillic-ext.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+049A-049B, U+04B2-04B3;
}
:root {
  color-scheme: light;
  --outside: #f4efe4;
  --paper: #160d0e;
  --text: #ddc7ad;
  --cream: #f1e0c9;
  --gold: #bb925c;
  --light-gold: #e2c08f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", "Apple Chancery", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --screen: 100vh;
  --max-width: 450px;
  background: var(--outside);
  scrollbar-gutter: stable;
}
@supports (height: 100dvh) { :root { --screen: 100dvh; } }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html.sealed { overflow: hidden; overscroll-behavior: none; }
body { color: var(--text); background: var(--outside); font: 400 1rem/1.5 var(--serif); }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--light-gold); outline-offset: 4px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.invitation {
  position: relative; isolation: isolate; width: min(100%, var(--max-width)); min-height: var(--screen);
  margin-inline: auto; overflow-x: clip; background: var(--paper);
}
main { position: relative; container: invitation / inline-size; }
main::before {
  content: ""; position: absolute; z-index: -1; inset: 700px 0 0; pointer-events: none;
  background: radial-gradient(ellipse 85% 340px at 8% 320px, #7e2d3d3b, transparent 78%),
              radial-gradient(ellipse 90% 380px at 94% 880px, #a5714124, transparent 78%);
  background-size: 100% 1500px;
}
p, h1, h2, h3, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
section, figure, footer { position: relative; }

/* The seal is aligned to the filmed envelope, even on a tall phone. */
.envelope {
  position: absolute; z-index: 12; inset: 0 0 auto; height: var(--screen); width: 100%;
  display: none; overflow: hidden; background: #210809; color: #ead2a6;
  touch-action: none; overscroll-behavior: none; isolation: isolate;
}
.js.sealed .envelope { display: block; }
.envelope-stage {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100%, calc(var(--screen) * .5625)); aspect-ratio: 9 / 16;
  container-type: inline-size; background: center / cover url("konvert.webp");
}
.envelope-video { height: 100%; width: 100%; display: block; object-fit: cover; pointer-events: none; }
.engraving, .engraving-sweep, .engraving svg, .envelope-light { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.engraving { transition: opacity .28s ease-out; }
.engraving-sweep { overflow: hidden; }
.engraving-sweep i {
  position: absolute; width: 255.556%; height: 143.75%; left: -78.333%; top: -25.625%;
  opacity: 0; transform: scale(.09); will-change: transform, opacity;
  background: radial-gradient(circle closest-side, transparent 73%, #ffb85940 86%, #ffb859 94%, transparent);
  animation: engraving 8s linear infinite;
}
@keyframes engraving {
  0%, 14% { opacity: 0; transform: scale(.09); }
  17% { opacity: .7; transform: scale(.14); }
  27% { opacity: 1; transform: scale(.36); }
  41% { opacity: .85; transform: scale(.73); }
  53%, 100% { opacity: 0; transform: scale(1); }
}
.wax {
  position: absolute; left: 49.5%; top: 46.2%; transform: translate(-50%, -50%); width: 34%;
  aspect-ratio: 1; min-width: 64px; min-height: 64px; padding: 0; border: 0; background: transparent;
}
.wax:focus-visible { border-radius: 50%; outline: 1px solid #f4dcaa; outline-offset: 6px; }
.wax-face, .wax-monogram, .wax-face img { position: absolute; inset: 0; }
.wax-face { display: block; transition: opacity .16s ease-out; animation: wax-breathe 8s ease-in-out infinite; }
.wax-face img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 5px #0006); }
.wax-face .wax-shine { opacity: 0; filter: brightness(1.06); animation: wax-shine 8s ease-in-out infinite; }
.wax-monogram {
  display: grid; place-items: center; padding-bottom: .6cqw; color: #b99d75;
  font: italic 500 7.6cqw/1 var(--serif); white-space: nowrap; letter-spacing: .02em;
  text-shadow: 0 .28cqw 0 #fffaf2ef, 0 -.28cqw 0 #694b2d73;
}
.wax-monogram i { font-style: normal; font-size: .62em; margin-inline: .08em; }
.envelope-light { opacity: 0; background: radial-gradient(ellipse at 50% 40%, #f3d69860, #c191431c 34%, transparent 70%); }
.envelope-status {
  position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); inset-inline: 24px;
  color: #ead2a6; text-shadow: 0 2px 6px #170704; font: italic 16px/1.5 var(--serif); text-align: center;
}
.opening .engraving, .opening .wax-face { opacity: 0; }
.opening .wax-face, .opening .wax-shine { animation: none; }
.opening .wax-monogram { animation: seal-light 1.3s ease-out both; }
.releasing { animation: dissolve 1.4s ease-in-out both; }
.releasing .envelope-stage { animation: approach 1.4s cubic-bezier(.2,.6,.3,1) both; }
.releasing .envelope-light { animation: light-wash 1.2s ease-out both; }
@keyframes wax-breathe { 0%,45%,100% { transform: none; } 22% { transform: scale(1.025) rotate(-.6deg); } }
@keyframes wax-shine { 0%,45%,100% { opacity: 0; } 22% { opacity: 1; } }
@keyframes seal-light {
  0% { opacity: 1; transform: scale(1); }
  40% { color: #ffe9b8; opacity: 1; text-shadow: 0 0 .6cqw #ffe2a0,0 0 2cqw #f3b962,0 0 4cqw #f0a53ab3; transform: scale(1.04); }
  100% { color: #fff4d6; opacity: 0; text-shadow: 0 0 4cqw #ffe2a0; transform: scale(1.12); }
}
@keyframes dissolve { 0%,8% { opacity: 1; } 100% { opacity: 0; } }
@keyframes approach { to { transform: translate(-50%, -50%) scale(1.08); } }
@keyframes light-wash { 0%,100% { opacity: 0; } 30%,65% { opacity: .7; } }

.hero {
  display: grid; place-items: center; height: var(--screen); min-height: 700px; max-height: 940px;
  overflow: hidden; background: var(--paper); text-align: center; outline: none;
}
.hero-art, .hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-film { opacity: 0; transition: opacity .75s ease; }
.hero-film.playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; z-index: 1; inset: auto 0 -1px; height: 26%; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, #160d0e14 18%, #160d0e4d 40%, #160d0ea3 65%, #160d0ee6 83%, var(--paper));
}
.hero-eyebrow {
  position: absolute; z-index: 2; top: 25%; inset-inline: 14%; display: flex; justify-content: center;
  align-items: center; gap: 13px; color: #e3c394; font: italic 400 clamp(25px, 6.5cqi, 30px)/1.3 var(--serif);
  letter-spacing: .035em; text-shadow: 0 2px 16px #0a0404; transition: opacity 1.1s, transform 1.3s;
}
.hero-eyebrow span { white-space: nowrap; }
.hero-eyebrow svg { width: 32px; height: 14px; fill: none; stroke: #c49a5e; stroke-width: .75; opacity: .8; }
.hero-eyebrow svg:last-child { transform: scaleX(-1); }
.hero-center { position: relative; z-index: 2; width: 70%; margin-top: 4%; padding: 20px 0; transition: opacity 1.2s .15s, transform 1.4s .15s; }
.hero h1 { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #f3e2c5; font: 400 clamp(36px,14.2cqi,65px)/1.28 "Great Vibes","Invitation Cyrillic","Cormorant Garamond",cursive; text-shadow: 0 3px 20px #0a0404; }
.hero h1 span { white-space: nowrap; text-transform: lowercase; }
.hero h1 span::first-letter { text-transform: uppercase; }
.hero h1 i { color: #bc9860; font: italic 300 25px/1.2 var(--serif); margin-block: 6px; }
.sealed .hero-eyebrow { opacity: 0; transform: translateY(8px); }
.sealed .hero-center { opacity: 0; transform: translateY(14px); }
.down {
  position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); padding: 8px;
  width: 84px; min-height: 80px; border-radius: 12px; display: grid; place-items: center; color: #e5c998;
  transition: opacity .8s .5s;
}
.sealed .down { opacity: 0; }
.down svg { position: relative; fill: currentColor; filter: drop-shadow(0 2px 4px #0b0504); }
.down path { animation: chevron 2.4s cubic-bezier(.22,.61,.36,1) infinite; animation-play-state: var(--hero-play, running); }
.down g:nth-child(2) path { animation-delay: .2s; }
.down g:nth-child(3) path { animation-delay: .4s; }
.down::before { content: ""; position: absolute; inset: 5px -4px; background: radial-gradient(ellipse,#d8a65a24,transparent 68%); animation: aura 2.4s ease-in-out infinite; }
@keyframes chevron { 0%,65%,100% { opacity: .2; transform: translateY(-3px); } 22% { opacity: 1; transform: translateY(2px); } 40% { opacity: .65; transform: translateY(6px); } }
@keyframes aura { 0%,70%,100% { opacity: .15; transform: translateY(-4px); } 35% { opacity: 1; transform: translateY(6px); } }

/* Scroll reveals use the same easing as the opening. */
.js .reveal { opacity: 0; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); transition-delay: var(--delay, 0ms); }
.js [data-fx="bloom"] { transform: scale(.94); filter: blur(8px); }
.js [data-fx="slide"] { transform: translateY(50px); }
.js [data-fx="rise"] { transform: translateY(18px); transition-duration: 1.6s; }
.js [data-fx="ink"] { transform: scale(1.4); filter: blur(8px); transition-duration: 1.4s; }
.js .reveal.visible { opacity: 1; transform: none; filter: none; }
.petals { position: fixed; z-index: 4; top: 0; left: 50%; transform: translateX(-50%); width: min(100%,450px); height: var(--screen); overflow: hidden; pointer-events: none; }
.petals span { position: absolute; top: -40px; color: #c9996b; text-shadow: 0 0 6px #3b1d2266; animation: drift linear infinite; }
.sealed .petals, .sealed .sound { visibility: hidden; }
@keyframes drift { from { transform: translateY(-20px) rotate(0); } to { transform: translate(var(--drift),calc(100vh + 60px)) rotate(360deg); } }

.couple { display: grid; place-items: center; padding: 70px 0 50px; text-align: center; }
.frame { width: 100%; aspect-ratio: 3/4; position: relative; }
.frame-art { position: absolute; width: 100%; height: 100%; object-fit: contain; pointer-events: none; transform: rotate(var(--frame-angle,0deg)); }
.frame-copy { position: absolute; inset: 23% 22% 20%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.couple-names { display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 400; }
.couple-names span { font: 500 clamp(17px,7.05cqi,32px)/1.15 var(--serif); letter-spacing: .025em; white-space: nowrap; color: var(--cream); }
.couple-names i { margin: 4px 0; color: var(--light-gold); font: normal 400 clamp(1.2rem,5.6cqi,1.65rem)/1 var(--script); }
.couple-names i.visible { animation: amp-glow 3s ease-in-out infinite; }
@keyframes amp-glow { 50% { scale: 1.12; text-shadow: 0 0 12px #caa16c99; } }
.letter-text { font: italic 400 1rem/1.5 var(--serif); letter-spacing: .01em; overflow-wrap: break-word; }
#taklif-salom { display: block; margin-bottom: .25em; font-weight: 600; }
.personalized #taklif-salom { font-weight: 600; color: #e7c695; }
.divider { position: relative; z-index: 2; display: flex; justify-content: center; padding: 0 20px; margin: -40px 0; pointer-events: none; }
.divider img { width: 96%; max-width: 440px; object-fit: contain; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.story { padding: 40px 0 8px; }
.story img { width: 100%; mask-image: linear-gradient(180deg,transparent,#000 7%,#000 90%,transparent),linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-composite: intersect; -webkit-mask-composite: source-in; }
.quotation { max-width: 420px; margin: 0 auto; text-align: center; padding: 14px 32px 50px; }
.quotation-mark { display: block; font-size: 2.2rem; line-height: 1; color: #caa16cb3; }
.quotation p { margin: 16px 0 14px; font: italic 400 1.26rem/1.9 var(--serif); letter-spacing: .01em; }
.quotation cite { display: block; margin: 10px 0 14px; color: var(--gold); font: italic 500 1.08rem/1.5 var(--serif); letter-spacing: .16em; text-transform: uppercase; }
.between-quotes { padding: 16px 0 52px; }
.section-heading { display: grid; gap: 16px; margin-bottom: 28px; }
.eyebrow { color: var(--gold); font: italic 500 1.22rem/1.6 var(--serif); letter-spacing: .18em; text-transform: uppercase; }
.script-title { color: var(--light-gold); font: 400 3rem/1 var(--script); overflow-wrap: anywhere; }
.date-section { padding: 40px 26px 20px; text-align: center; }
.calendar { position: relative; max-width: 380px; margin: auto; padding: 26px 22px 22px; border: 1px solid #caa16c66; background: #24151680; box-shadow: 0 2px 10px #3e322414; }
.calendar::before, .calendar::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid #caa16c99; pointer-events: none; }
.calendar::before { left: 6px; top: 6px; border-right: 0; border-bottom: 0; }
.calendar::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }
.corners { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.corners i { position: absolute; width: var(--corner,112px); aspect-ratio: 1; background: center / contain no-repeat url("gulli-burchak.webp"); opacity: .9; }
.corners i:nth-child(1) { top: var(--ct,-14px); left: var(--cx,-14px); }
.corners i:nth-child(2) { top: var(--ct,-14px); right: var(--cx,-14px); transform: scaleX(-1); }
.corners i:nth-child(3) { bottom: var(--ct,-14px); left: var(--cx,-14px); width: var(--corner-bottom,96px); transform: scaleY(-1); }
.corners i:nth-child(4) { bottom: var(--ct,-14px); right: var(--cx,-14px); width: var(--corner-bottom,96px); transform: rotate(180deg); }
.date-rule { display: flex; align-items: center; gap: 14px; }
.date-rule::before, .date-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg,transparent,#bb925cb3,transparent); }
.date-rule > span { display: grid; gap: 2px; }
.date-rule em { color: var(--cream); font: italic 500 1.5rem/1 var(--serif); letter-spacing: .08em; }
.date-rule small { color: var(--gold); font-size: .96rem; font-weight: 500; letter-spacing: .22em; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.calendar-weekdays { gap: 2px; margin: 18px 0 8px; padding-bottom: 10px; border-bottom: 1px solid #caa16c4d; }
.calendar-weekdays span { color: var(--gold); font: italic 500 1rem/1.5 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.calendar-grid { gap: 4px; }
.day { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: .92rem; isolation: isolate; }
.day.lit { animation: day-light .68s var(--ease) both; }
.day.lit::before { content: ""; position: absolute; width: 5px; height: 5px; top: 5px; right: 5px; border-radius: 50%; background: #e2c08fa6; box-shadow: 0 0 8px #3b1d22cc; animation: bloom-dot .7s var(--ease) both; }
.day.lit::after { content: ""; position: absolute; inset: 1px; border: 1px solid #caa16c80; border-radius: 50%; animation: day-ripple .8s var(--ease) both; }
.day.wedding { font-weight: 500; font-style: italic; }
.day.wedding.arrived { background: transparent; color: var(--paper); font-weight: 600; animation: wedding-burst .9s var(--ease), wedding-pulse 2.4s .9s ease-in-out infinite; }
.day.wedding.arrived::before { content: ""; position: absolute; z-index: -1; inset: 10%; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#e7c695,#caa16c); }
.day.wedding.arrived::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed #e2c08f80; }
@keyframes day-light { 0% { background: transparent; } 35% { background: #3b1d2240; box-shadow: 0 0 14px #c9996b66; transform: scale(1.2); } to { background: radial-gradient(circle,#e7c69524,transparent); } }
@keyframes day-ripple { from { opacity: .7; transform: scale(.75); } to { opacity: 0; transform: scale(1.45); } }
@keyframes bloom-dot { from { opacity: 0; transform: scale(.2); } 65% { transform: scale(1.45); } to { opacity: .9; transform: scale(1); } }
@keyframes wedding-burst { from { transform: scale(.62); } 45% { transform: scale(1.34); box-shadow: 0 0 0 6px #caa16c59,0 0 26px #e2c08f6b; } 70% { transform: scale(.96); } }
@keyframes wedding-pulse { 50% { box-shadow: 0 0 0 4px #caa16c38,0 0 18px #e2c08f47; } }
.calendar-footer { display: grid; justify-items: center; gap: 6px; border-top: 1px solid #caa16c4d; margin-top: 14px; padding-top: 12px; }
.weekday { width: 82%; color: var(--light-gold); font: 400 1.6rem/1 var(--script); }
.event-time { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 34px; color: var(--gold); border: 0; background: transparent; font: 500 1.25rem/1.4 var(--serif); letter-spacing: .04em; }
.confetti { position: fixed; inset: 0 auto auto 50%; transform: translateX(-50%); z-index: 6; pointer-events: none; }

.countdown { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 40px 26px 60px; }
.rings { width: 80%; max-width: 320px; }
.rings img { width: 100%; animation: float-rings 5s ease-in-out infinite; }
@keyframes float-rings { 50% { transform: translateY(-5px); } }
.timer { display: flex; align-items: flex-start; justify-content: center; gap: clamp(4px,2.22cqi,10px); margin-top: 10px; width: 100%; }
.timer > span { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: min(13.35cqi,60px); }
.timer b { color: var(--cream); font: italic 400 2.6rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.timer small { color: #bfa58a; font: italic 400 .72rem/1.3 var(--serif); letter-spacing: .17em; text-transform: uppercase; }
.timer > i { color: #caa16c99; font: italic 400 2rem/1 var(--serif); margin-top: -2px; }
.js .timer > * { transform: translateY(14px); opacity: 0; transition: opacity .9s var(--ease),transform .9s var(--ease); transition-delay: calc(var(--step,0) * 80ms); }
.timer.visible > * { transform: none; opacity: 1; }
.venue { padding: 40px 26px 30px; text-align: center; }
.venue .section-heading { margin-bottom: 20px; }
.venue-details { display: grid; gap: 10px; margin-bottom: 24px; }
.venue-details h3 { color: var(--light-gold); font: italic 400 clamp(1.25rem,5.6cqi,1.55rem)/1.45 var(--serif); text-wrap: balance; }
.venue-details p { font-size: 1.1rem; line-height: 1.5; white-space: pre-line; }
.map {
  --corner: clamp(88px,24cqi,112px); --corner-bottom: var(--corner); --ct: calc(var(--corner) * -.2); --cx: calc(var(--corner) * -.22);
  position: relative; margin: 28px 0; padding: 5px; border: 1px solid #caa16c99; border-radius: 6px; background: #2415168c;
}
.map iframe { display: block; width: 100%; height: 230px; border: none; border-radius: 3px; filter: invert(.88) hue-rotate(180deg) saturate(.75) brightness(.82) contrast(.94); background: #eee; }
.map .corners { filter: drop-shadow(0 2px 3px #06040473); }
.map-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; min-height: 48px; border: 1px solid #bb925ca6; border-radius: 6px; background: #24151699; color: var(--gold); text-decoration: none; font: 500 1rem/1.4 Outfit,sans-serif; }
.map-link:hover { background: var(--gold); color: #241516; }
.doves { display: flex; justify-content: center; padding-bottom: 10px; pointer-events: none; }
.doves img { width: 92%; max-width: 380px; transform: translateY(var(--dove-y,0px)) scale(var(--dove-scale,1)); }
.family { padding: 40px 26px 60px; text-align: center; }
.wreath { width: 100%; aspect-ratio: 1; position: relative; container-type: inline-size; }
.wreath img { width: 100%; height: 100%; object-fit: contain; transform: scale(var(--wreath-scale,1.3)) rotate(var(--wreath-angle,0deg)); }
.wreath-copy { position: absolute; inset: 22% 8%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding-inline: 6px; }
.wreath-copy .eyebrow { font-size: clamp(.9rem,4.5cqi,1.2rem); letter-spacing: .025em; text-transform: none; }
.wreath-copy .script-title { max-width: 88%; font: italic 500 clamp(1.25rem,7.5cqi,1.875rem)/1.2 var(--serif); overflow-wrap: normal; text-wrap: balance; }
.closing { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 50px 26px 70px; text-align: center; }
.closing h2 { white-space: pre-line; transform: translateY(var(--closing-y,0px)) scale(var(--closing-scale,1)); }
.heart { margin-top: 8px; color: #c9996b; }
.heart svg { fill: currentColor; animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes heartbeat { 25% { transform: scale(1.15); } 50% { transform: scale(1); } 75% { transform: scale(1.1); } }

.contacts { padding: 0 16px max(32px,env(safe-area-inset-bottom)); text-align: center; }
.contacts-ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 7px; }
.contacts-ornament span { width: 46px; height: 1px; background: linear-gradient(90deg,transparent,#a68051aa); }
.contacts-ornament span:last-child { transform: rotate(180deg); }
.contacts-ornament svg { width: 48px; height: 20px; fill: none; stroke: #ad885c; stroke-width: 1.1; }
.contact-links { display: flex; justify-content: center; align-items: center; gap: 9px 20px; flex-wrap: wrap; }
.contact-links a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; text-decoration: none; color: #d1bda4; font: 500 1.02rem/1.4 var(--serif); white-space: nowrap; }
.contact-links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.contact-links svg { flex: none; width: 16px; height: 16px; color: var(--gold); }
.sound {
  position: fixed; z-index: 8; bottom: calc(64px + env(safe-area-inset-bottom,0px));
  right: max(calc(10px + env(safe-area-inset-right,0px)),calc((100% - var(--max-width)) / 2 + 10px));
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #be9867;
  background: linear-gradient(150deg,#422126,#251217); color: #e4c69d; box-shadow: inset 0 0 0 2px #291419,0 6px 18px #0c060780;
}
.sound[aria-pressed="true"] { background: linear-gradient(140deg,#e3c798,#b48c5c); color: #482a20; }
.sound svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sound[aria-pressed="false"] .waves, .sound[aria-pressed="true"] .mute { display: none; }

@container invitation (max-width: 400px) {
  .contact-links { flex-direction: column; gap: 0; }
}
@container invitation (max-width: 390px) {
  .frame-copy { gap: 11px; }
  .letter-text { font-size: .9rem; line-height: 1.42; }
}
@container invitation (max-width: 350px) {
  .hero-eyebrow { gap: 8px; font-size: 21px; }
  .frame-copy { gap: 9px; }
  .letter-text { font-size: .82rem; line-height: 1.4; }
  .hero { min-height: 640px; }
  .calendar { padding-inline: 15px; }
  .eyebrow { font-size: 1.08rem; }
}
@media (max-width: 450px) and (max-height: 690px) and (orientation: portrait) {
  .hero { min-height: min(100svh,640px); }
  .down { bottom: 14px; }
}
@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .sound { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .engraving, .hero-film, .petals, .confetti { display: none; }
  .wreath img, .doves img, .frame-art, .closing h2 { transform: none; }
  .js .reveal, .js .timer > * { opacity: 1; transform: none; filter: none; }
  .down path { opacity: .85; }
}
html:not(.js) .timer, html:not(.js) #sanoq-nomi, html:not(.js) .event-time, html:not(.js) .map { display: none; }
