@font-face {
  font-family: Manman Title;
  src: url("title.woff2?v=seal1") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manman Script;
  src: url("script.woff2?v=seal1") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manman Song;
  src: url("song.woff2?v=mist1") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Manman Sans;
  src: url("sans.woff2?v=mist1") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manman Numerals;
  src: url("numerals.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --wine: #713237;
  --cinnabar: #a14b46;
  --paper: #f2e1ca;
  --ink: #342f25;
  --muted: #685847;
  --gold: #f4d8a5;
  --ivory: #fff1d7;
  --line: #cab79a;
  --display: "Manman Title", "STKaiti", "KaiTi", cursive;
  --script: "Manman Script", "STKaiti", "KaiTi", cursive;
  --song: "Manman Song", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Manman Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --nums: "Manman Numerals", Georgia, serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--wine);
  color-scheme: light;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  min-width: 280px;
  background: linear-gradient(155deg, #6c2e33, #7d3937 62%, #632b30);
  line-height: 1.55;
}
.symbols, [hidden] { display: none !important; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: #e3b57e33; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #d99d49; outline-offset: 4px;
}
h1, h2, p, figure { margin: 0; }
svg { display: block; }
.wrap { width: min(1232px, calc(100% - clamp(40px, 8.3vw, 150px))); margin-inline: auto; }
.mast {
  position: relative; height: 78px; display: flex; align-items: center; justify-content: space-between;
  color: var(--ivory); gap: 20px;
}
.wordmark, .mast nav, .button, .cover-actions, .section-heading, .sheet-title, .copy-place, .share-actions {
  display: flex; align-items: center;
}
.wordmark { gap: 12px; font: 600 20px/1.3 var(--song); letter-spacing: .1em; white-space: nowrap; }
.brand-seal {
  display: grid; place-items: center; width: 33px; height: 34px;
  border-radius: 4px 2px 4px 2px; transform: rotate(-4deg);
  background: #ead0a2; color: #83372f; font: 400 30px/1 var(--script);
}
.mast nav { gap: 26px; }
.nav-text { color: #f6dfbd; font-size: 14px; letter-spacing: .08em; }
.nav-text:hover, .copy-place:hover { text-decoration: underline; text-underline-offset: 4px; }
.button {
  justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px;
  font-size: 15px; line-height: 1.4; letter-spacing: .06em; font-weight: 550;
  border: 1px solid transparent; border-radius: 3px; background: none;
  white-space: nowrap; transition: background .18s, border-color .18s;
}
.button svg { width: 18px; height: 18px; flex: none; }
.nav-share { color: #f9dfb4; border-color: #c9926b; min-height: 38px; font-size: 14px; padding: 8px 14px; }
.nav-share:hover { background: #8d4037; }
.nav-share svg { width: 16px; height: 16px; }
.mast-music {
  gap: 6px; min-height: 40px; padding: 6px 2px; border: 0;
  color: #f6ddbb; font-size: 14px; letter-spacing: .025em;
}
.mast-music svg { width: 18px; height: 18px; }
.music-source {
  position: absolute; z-index: 15; top: calc(100% - 5px); right: 0; padding: 11px 16px;
  color: #6f332a; background: #f8ead5; border: 1px solid #b79776;
  border-radius: 3px; font: 530 14px/1.6 var(--sans);
}
.mast-music:hover, .mast-music[aria-pressed="true"] { color: #fff3cb; }
.mast-music[aria-pressed="true"] svg { color: #efbc73; }
.primary { background: #87392e; color: var(--ivory); border-color: #87392e; }
.primary:hover { background: #702c25; }
.outline { background: transparent; border-color: #bb9d78; color: #754437; }
.outline:hover { background: #e8d3b3; }

/* The red paper is shared by the type and portrait; the brushwork has no frame. */
.cover {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 53% 47%;
  grid-template-areas: "copy art" "foot art"; align-content: center;
  padding: clamp(40px, 4vw, 64px) clamp(36px, 5vw, 78px);
  min-height: clamp(505px, 43vw, 556px);
  color: var(--ivory);
  background: radial-gradient(ellipse at 74% 56%, #de9b7945, transparent 51%),
              linear-gradient(108deg, #87393a 0%, #9c4944 56%, #aa594d 100%);
}
.cover::before, .below-cover::before, .keepsake::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("grain.png") repeat; mix-blend-mode: soft-light; opacity: .19;
}
.cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-block: 1px solid #fff0c926;
}
.cover-copy { grid-area: copy; z-index: 2; align-self: end; }
.salutation {
  display: flex; align-items: center; gap: 13px; font: 500 14px/1.5 var(--sans);
  letter-spacing: .23em; color: #f2d4a6;
}
.salutation::after { content: ""; width: 46px; height: 1px; background: #e4b98a88; }
.invite-preface {
  margin-top: clamp(19px,2.7vw,35px); font: 500 clamp(17px,1.55vw,22px)/1.65 var(--song);
  color: #ffecd2; letter-spacing: .11em;
}
.feast-title {
  display: flex; align-items: baseline; width: fit-content; margin: 4px 0 12px;
  font: 400 clamp(65px,7.5vw,104px)/1.1 var(--display);
  color: #ffedc7; white-space: nowrap;
}
.honoree { font: 540 .52em/1.35 var(--song); letter-spacing: .04em; }
.title-dot { margin-inline: .25em .18em; color: #e5b37e; font: 500 .36em/1 var(--song); }
.title-word { display: inline-flex; letter-spacing: -.065em; }
.title-word i { display: inline-block; font-style: normal; }
.fine-dot { padding-inline: .44em; color: #e9bf89; }
.inviting { font: 450 17px/1.85 var(--song); color: #ffead4; letter-spacing: .065em; }
.inviting span { white-space: nowrap; }
.cover-foot { grid-area: foot; z-index: 2; align-self: start; padding-top: 18px; }
.cover-date { display: inline-flex; align-items: center; gap: 16px; color: #f7dcb1; }
.date-digits {
  font: 500 clamp(44px, 4.3vw, 63px)/.96 var(--nums);
  font-feature-settings: "lnum"; letter-spacing: -.033em; white-space: nowrap;
}
.date-digits small { font: 550 .31em/1 var(--song); letter-spacing: 0; margin: 0 .42em 0 .16em; color: #f0d3ad; }
.date-digits small:last-child { margin-right: 0; }
.date-notes { display: grid; align-content: center; gap: 1px; border-left: 1px solid #e0b5877d; padding-left: 15px; }
.date-notes span { font: 400 13px/1.55 var(--sans); color: #f2d1a7; letter-spacing: .055em; }
.date-notes strong { font: 550 15px/1.4 var(--sans); color: var(--ivory); letter-spacing: .03em; }
.cover-actions { gap: 11px; margin-top: 21px; }
.cover-actions .primary { color: #71342e; background: #f1d3b0; border-color: #f1d3b0; }
.cover-actions .primary:hover { background: #ffe1af; }
.cover-actions .outline { color: #ffe9c9; border-color: #dcaf88; background: #79332938; }
.cover-actions .outline:hover { background: #84392e; }
.garden {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  pointer-events: none; z-index: 1; overflow: hidden;
}
.ink-branch, .ink-wash, .main-portrait { position: absolute; display: block; height: auto; }
.ink-branch { --branch-rest: 2deg; width: 39%; top: -.7%; right: -1.5%; transform: rotate(var(--branch-rest)); transform-origin: right top; }
.ink-wash { bottom: 5.5%; left: -2%; width: 104%; opacity: .84; }
.portrait-shadow {
  position: absolute; left: 51%; bottom: 13%; width: 39%; height: 6%; transform: translateX(-50%);
  background: radial-gradient(ellipse, #5b382e55, transparent 67%); filter: blur(4px);
}
.main-portrait {
  bottom: 14%; left: 51%; width: auto; height: 65%; max-width: 62%;
  object-fit: contain; object-position: center bottom; transform: translateX(-50%);
}
.garden-blessing {
  position: absolute; top: 31%; left: 9%; writing-mode: vertical-rl;
  font: 400 27px/1.1 var(--display); color: #f6dcb2; letter-spacing: .1em;
}
.garden-blessing::after { content: ""; display: inline-block; width: 1px; height: 20px; margin-top: 10px; background: #e9c7a075; }

.below-cover {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1.08fr 1fr;
  gap: clamp(32px, 5vw, 78px); padding: 35px clamp(32px, 4.5vw, 70px) 39px; background: var(--paper);
}
.below-cover::before { opacity: .095; mix-blend-mode: multiply; }
.below-cover section { position: relative; min-width: 0; }
.section-heading { gap: 12px; margin-bottom: 15px; }
.section-heading h2 { font: 650 27px/1.4 var(--song); letter-spacing: .12em; white-space: nowrap; }
.section-heading::after { content: ""; flex: 1; height: 1px; background: #ad987b81; }
.details-card { display: grid; grid-template-columns: minmax(168px, 49%) 1fr; gap: clamp(14px,2vw,29px); align-items: center; }
.date-seal {
  position: relative; display: block; justify-self: start; width: min(100%,262px);
  line-height: 0; mix-blend-mode: multiply;
}
.seal-imprint { display: block; width: 100%; height: auto; }
.facts {
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
}
.fact { display: flex; gap: 11px; align-items: flex-start; }
.fact > svg { width: 18px; height: 18px; color: #a65b44; margin-top: 3px; flex: none; }
.fact-label { font-size: 13px; letter-spacing: .11em; color: #765a46; }
.fact p { font: 620 22px/1.4 var(--song); margin: 2px 0 0; }
.fact time { font-family: var(--sans); font-size: 19px; font-weight: 570; }
.room { display: block; color: #584b3b; font-size: 15px; margin-top: 2px; }
.venue-destination { display: block; text-decoration: none; color: inherit; }
.venue-destination:hover .venue-name, .venue-destination:focus-visible .venue-name { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.venue-street { display: block; margin-top: 8px; font: 400 13px/1.65 var(--sans); color: #695747; }
.venue-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 16px; margin-top: 9px; }
.venue-route, .copy-place { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font: 530 13px/1.4 var(--sans); }
.venue-route { color: #773527; padding: 0 2px; text-decoration: underline; text-underline-offset: .32em; text-decoration-color: #ad7d60; }
.venue-route svg { width: 15px; height: 15px; }
.copy-place { border: 0; background: none; color: #665344; padding: 0 2px; }
.copy-place svg { width: 14px; height: 14px; }
#place-fallback { display: block; width: min(100%,145px); margin-top: 6px; padding: 4px; font-size: 14px; }
#keepsake { display: flex; flex-direction: column; }
.keepsake {
  position: relative; isolation: isolate; flex: 1; min-height: 192px; overflow: hidden;
  background: linear-gradient(110deg, #d9bfaf, #eddbc4 62%, #ead3bf);
}
.keepsake::before {
  content: ""; position: absolute; width: 82%; height: 51%; left: 0; bottom: -3%;
  background: url("wash.webp") center bottom/contain no-repeat; opacity: .55; filter: sepia(.22);
}
.keepsake::after { opacity: .10; }
.album-portrait {
  position: absolute; left: -1%; bottom: 4%; height: 93%; width: auto; max-width: 69%;
  object-fit: contain; object-position: left bottom; z-index: 1;
}
.keepsake figcaption {
  position: absolute; right: 10%; top: 25%; display: flex; flex-direction: column;
  align-items: center; gap: 8px; color: #464c38;
}
.keepsake figcaption span { writing-mode: vertical-rl; font: 400 32px/1 var(--script); letter-spacing: .075em; }
.keepsake figcaption small { font: 500 13px/1.5 var(--sans); letter-spacing: .12em; }
.keepsake-wish { color: #5b614e; text-align: center; margin-top: 12px; font: 400 clamp(22px,2.2vw,28px)/1.4 var(--script); letter-spacing: .045em; }
.album-open {
  padding: 5px 0; border: 0; border-bottom: 1px solid #a77c64;
  color: #77382f; background: transparent; font: 550 13px/1.4 var(--sans); cursor: pointer;
}
.album-open b { margin-left: 1px; font: 400 13px/1 system-ui; }
.album-stage { margin-top: 13px; overflow: hidden; background: #ecdcc7; }
.album-stage img {
  display: block; width: 100%; height: min(54vh, 470px); height: min(54dvh, 470px);
  object-fit: contain; -webkit-touch-callout: default; user-select: auto;
}
.album-controls { display: flex; gap: 7px; justify-content: center; margin-top: 13px; }
.album-controls button {
  min-height: 40px; padding: 6px 14px; border: 1px solid #bc9c86; border-radius: 3px;
  font: 500 14px/1.4 var(--sans); color: #784137; background: transparent; cursor: pointer;
}
.album-controls button[aria-pressed="true"] { background: #813d3c; border-color: #813d3c; color: #fff2df; }
.album-note { text-align: center; margin-top: 8px; color: #685347; font: 400 12px/1.45 var(--sans); }
footer {
  display: flex; justify-content: center; align-items: center; gap: 27px;
  padding: 26px 0 33px; color: #f8e3c0;
}
footer p { font: 550 18px/1.6 var(--song); letter-spacing: .08em; }
footer em { font: 400 16px/1.4 var(--song); margin-left: 4px; }
footer small { font: 400 23px/1.4 var(--script); letter-spacing: .045em; color: #efd1aa; }

.overlay {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: center;
  padding: 14px; background: #302520a8; overscroll-behavior: contain;
}
.sheet {
  width: min(440px,100%); max-height: 90vh; max-height: 90dvh; overflow: auto;
  background: #f6e9d3; border: 1px solid #ceb190; border-radius: 5px;
  padding: 22px; outline: none; box-shadow: 0 15px 50px #24191242;
}
.sheet-title { justify-content: space-between; gap: 8px; }
.sheet h2 { font: 650 23px/1.4 var(--song); letter-spacing: .06em; }
.close { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid #bfa384; background: transparent; border-radius: 50%; }
.close svg { width: 18px; height: 18px; }
.sheet-intro, .share-hint { font: 400 15px/1.75 var(--sans); color: #5d4d3b; }
.sheet-intro { margin: 7px 0 13px; }
.poster-sheet { display: flex; flex-direction: column; }
.poster-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; text-align: center; }
.poster-original { display: block; width: fit-content; margin: auto; max-width: 100%; }
.poster-original img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(86vh - 164px); max-height: calc(86dvh - 164px); object-fit: contain; -webkit-touch-callout: default; user-select: auto; }
.sheet-foot { display: flex; gap: 8px; margin-top: 13px; }
.sheet-foot .button { flex: 1; }
.share-preview { display: flex; align-items: center; gap: 14px; border-block: 1px solid var(--line); padding: 15px 0; margin-top: 10px; }
.share-preview img { width: 68px; height: 68px; border-radius: 2px; flex: none; }
.share-preview strong { font: 600 19px/1.5 var(--song); }
.share-preview p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.share-hint { margin: 17px 0; }
.share-actions { flex-wrap: wrap; gap: 8px; }
.share-actions .button { flex: 1; padding: 10px 13px; }
#copy-fallback label { display: block; margin: 14px 0 5px; font-size: 14px; }
#share-url { padding: 7px; width: 100%; background: #fff5e5; border: 1px solid var(--line); }
.toast { position: fixed; z-index: 35; bottom: calc(24px + env(safe-area-inset-bottom,0px)); left: 50%; transform: translateX(-50%); width: max-content; max-width: 90%; padding: 9px 17px; border-radius: 3px; color: #fff7e6; background: #403e30; font-size: 14px; pointer-events: none; }
.toast:empty { display: none; }

@media (min-width: 761px) and (max-width: 940px) {
  .cover { grid-template-columns: 53% 47%; padding-inline: 37px; min-height: 490px; }
  .feast-title { font-size: clamp(57px,7vw,76px); }
  .garden { width: 49%; }
  .main-portrait { height: 57%; max-width: 65%; bottom: 18%; }
  .ink-wash { bottom: 13%; }
  .portrait-shadow { bottom: 17%; }
  .garden-blessing { left: 7%; top: 33%; font-size: 22px; }
  .below-cover { gap: 28px; padding-inline: 27px; }
  .details-card { grid-template-columns: minmax(153px,48%) 1fr; gap: 12px; }
  .fact { gap: 7px; }
  .fact p { font-size: 18px; }
}
@media (max-width: 760px) {
  .wrap { max-width: 560px; width: calc(100% - 28px); }
  .mast { height: 63px; gap: 10px; }
  .mast nav { gap: 10px; }
  .wordmark { font-size: 17px; gap: 9px; }
  .brand-seal { width: 28px; height: 30px; font-size: 26px; }
  .nav-text { display: none; }
  .nav-share { font-size: 14px; min-height: 37px; padding: 7px 11px; }
  .mast-music { font-size: 13px; }
  .cover {
    grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "art" "foot";
    grid-template-rows: auto minmax(184px,1fr) auto;
    padding: clamp(24px,4.7vh,44px) 0 clamp(22px,4vh,38px);
    min-height: min(785px,calc(100vh - 63px)); min-height: min(785px,calc(100svh - 63px));
  }
  .cover-copy, .cover-foot { padding-inline: clamp(23px,6.3vw,38px); }
  .salutation { font-size: 13px; gap: 10px; }
  .salutation::after { width: 33px; }
  .invite-preface { margin-top: clamp(12px,2.8vh,25px); font-size: clamp(15px,3.7vw,19px); }
  .feast-title { font-size: clamp(47px,15.25vw,85px); margin: 6px 0 9px; }
  .inviting { font-size: clamp(15px,3.7vw,18px); line-height: 1.8; }
  .garden {
    position: relative; grid-area: art; inset: auto; width: 100%;
    height: 100%; min-height: 184px; max-height: 418px; align-self: center; margin: 0; overflow: hidden;
  }
  .ink-branch { --branch-rest: 4deg; top: .5%; right: -1%; width: 32%; }
  .ink-wash { width: 93%; left: 5%; bottom: 1%; opacity: .86; }
  .main-portrait { left: 54%; height: 79%; max-width: 70%; bottom: 8%; }
  .portrait-shadow { left: 54%; bottom: 8%; width: 43%; }
  .garden-blessing { left: 13%; top: 26%; font-size: 22px; }
  .garden-blessing::after { height: 13px; margin-top: 6px; }
  .cover-foot { padding-top: 5px; }
  .cover-date { gap: 12px; }
  .date-digits { font-size: 42px; }
  .date-notes { padding-left: 12px; gap: 0; }
  .date-notes span { font-size: 12px; }
  .date-notes strong { font-size: 14px; }
  .cover-actions { margin-top: 14px; gap: 10px; }
  .cover-actions .button { min-height: 43px; padding: 9px 13px; font-size: 14px; }
  .below-cover { grid-template-columns: minmax(0,1fr); gap: 0; padding: 0; }
  .below-cover > section { padding: clamp(28px,5.1vh,46px) clamp(22px,6.3vw,38px); }
  #banquet { display: flex; flex-direction: column; min-height: clamp(505px,88vh,750px); min-height: clamp(505px,88svh,750px); background: radial-gradient(ellipse at 48% 40%,#fbefdd 0%,transparent 73%),#efdbc1; }
  .section-heading { gap: 12px; margin: 0; }
  .section-heading h2 { font-size: clamp(23px,5.4vw,29px); }
  .details-card { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: clamp(22px,4.8vh,48px); padding-block: 20px 8px; }
  .date-seal { flex: none; width: min(100%,clamp(215px,64vw,291px)); }
  .facts { padding: 0; width: 100%; }
  .fact { display: block; position: relative; text-align: center; }
  .fact > svg { display: none; }
  .fact-label { font-size: 12px; letter-spacing: .22em; color: #83523c; }
  .fact p { font-size: clamp(23px,6vw,29px); letter-spacing: .08em; margin-block: 6px 3px; }
  .room { font: 520 16px/1.5 var(--song); letter-spacing: .14em; }
  .venue-street { margin-top: 10px; }
  .venue-actions { justify-content: center; gap: 20px; }
  #place-fallback { margin-inline: auto; }
  #keepsake { justify-content: space-between; gap: clamp(23px,5vh,45px); min-height: calc(100vh - 90px); min-height: calc(100svh - 90px); background: #f5e5d2; border-top: 1px solid #cda78899; }
  .keepsake { --art-bleed: clamp(14px,4vw,26px); flex: 0 0 auto; align-self: stretch; margin-inline: calc(-1 * var(--art-bleed)); aspect-ratio: 1.14; min-height: 206px; max-height: 388px; background: radial-gradient(ellipse at 22% 62%,#e1c5ad 0%,#e9d1bca6 53%,#f5e5d2 84%); }
  .keepsake .album-portrait { left: 2%; max-width: 73%; }
  .keepsake-wish { margin: 0; font-size: clamp(25px,6.2vw,31px); }
  .keepsake figcaption { right: 11%; top: 23%; }
  .keepsake figcaption span { font-size: 29px; }
  footer { flex-direction: column; gap: 2px; padding: 22px 0 25px; }
  footer p { font-size: 17px; }
  footer small { font-size: 21px; }
  .sheet { padding: 16px; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 18px); }
  .cover-copy, .cover-foot { padding-inline: 17px; }
  .inviting { font-size: 14px; }
  .below-cover > section { padding-inline: 17px; }
  .cover-actions .button { padding-inline: 11px; }
}
@media (max-width: 379px) {
  .mast { gap: 8px; }
  .mast nav { gap: 6px; }
  .mast-music { min-width: 34px; }
}
@media (max-width: 430px) {
  #music-action { display: none; }
}
@media (max-width: 345px) {
  #music-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .salutation::after, .in-view .section-heading::after {
    transform-origin: left center;
    animation: extend-rule 680ms cubic-bezier(.22,.72,.22,1) backwards;
  }
  .title-word i, .ink-wash {
    --ink-edge: linear-gradient(var(--stroke-angle, 104deg), #000 39%, rgba(0,0,0,.88) 47%, transparent 58%);
    -webkit-mask-size: 320% 150%;
    mask-size: 320% 150%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: lay-ink 740ms cubic-bezier(.22,.66,.26,1) var(--ink-delay, 0ms) backwards;
  }
  .title-word i:nth-child(2) { --ink-delay: 150ms; --stroke-angle: 113deg; }
  .title-word i:nth-child(3) { --ink-delay: 305ms; --stroke-angle: 96deg; }
  .ink-wash { --ink-delay: 160ms; --stroke-angle: 94deg; animation-duration: 1.35s; }
  .in-view .seal-imprint { animation: stamp-seal 820ms cubic-bezier(.19,.68,.21,1) backwards; }
  .ink-branch { animation: branch-breeze 4.6s ease-in-out 200ms; }
  .in-view .fact, .in-view .keepsake figcaption {
    animation: settle-type 580ms cubic-bezier(.18,.7,.23,1) 70ms backwards;
  }
  .in-view .fact { animation-delay: 150ms; }
  .in-view .fact + .fact { animation-delay: 230ms; }
  .overlay:not([hidden]) .sheet { animation: open-sheet 240ms cubic-bezier(.18,.7,.23,1); }
  .album-stage img:not([hidden]) { animation: develop-photo 280ms ease-out; }

  @keyframes lay-ink {
    from, to { -webkit-mask-image: var(--ink-edge); mask-image: var(--ink-edge); }
    from { -webkit-mask-position: 100% 50%; mask-position: 100% 50%; }
    to { -webkit-mask-position: 0% 50%; mask-position: 0% 50%; }
  }
  @keyframes stamp-seal {
    from { opacity: .55; filter: blur(.55px); transform: scale(1.014); }
    50% { opacity: .91; transform: scale(.998); }
    to { opacity: 1; filter: blur(0); transform: none; }
  }
  @keyframes branch-breeze {
    0%, 100% { transform: rotate(var(--branch-rest)); }
    29% { transform: rotate(calc(var(--branch-rest) + 3deg)); }
    62% { transform: rotate(calc(var(--branch-rest) - 1.25deg)); }
    84% { transform: rotate(calc(var(--branch-rest) + .45deg)); }
  }
  @keyframes extend-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes settle-type { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes open-sheet { from { opacity: .45; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes develop-photo { from { opacity: .55; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
