/* INV-25 The Folded Letter · Luxe (A3008, D-497; plan docs/plans/plan_inv25_folded_letter.md): one love letter, folded and
   opened again. INV-02's cotton paper and type (fork of love_letters_luxe, its torn strips removed); soft creases cross the
   paper, the words and the photos printed on it; each section is one panel of the letter. Shared parts live here as k-fl-*. */
@font-face { font-family: "Noto Serif Display"; src: url("assets/fonts/noto-serif-display-xcond-300-latin.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: block; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif Display"; src: url("assets/fonts/noto-serif-display-xcond-300-latin-ext.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "WindSong"; src: url("assets/fonts/windsong-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "WindSong"; src: url("assets/fonts/windsong-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("assets/fonts/jost-300-400-latin.woff2") format("woff2"); font-weight: 300 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("assets/fonts/jost-300-400-latin-ext.woff2") format("woff2"); font-weight: 300 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --k-gate-plaster: var(--k-card); --k-gate-metal: var(--k-ink);
  --k-fl-z: .87; /* the whole design's scale (owner: about 13 % under bold) */
  --k-font-script: "WindSong", "Snell Roundhand", "Apple Chancery", cursive;
  --k-font-display: "Noto Serif Display", "Bodoni 72", Didot, Georgia, serif;
  --k-font-body: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --k-font-num: var(--k-font-display);
  --k-paper: #FDFCF9; --k-card: #FDFCF9; --k-paper-deep: #F1EEEA; --k-photo-white: #FDFCF9;
  --k-ink: #161412; --k-ink-soft: #6D6862; --k-ghost: #C4BFB7; --k-field: #F1EEEA; --k-field-line: #D9D4CC;
  --k-script-ink: var(--c-primary);
  --k-line: var(--k-ink);
  --k-dark: #161412; --k-on-dark: #FDFCF9; --k-on-dark-soft: rgba(253, 252, 249, .84);
  --k-light-ground: transparent;
  --k-s-1: 4px; --k-s-2: 8px; --k-s-3: 12px; --k-s-4: 16px; --k-s-5: 24px; --k-s-6: 32px; --k-s-7: 48px; --k-s-8: 64px; --k-s-9: 96px;
  --k-gutter: clamp(22px, 6vw, 72px); --k-section-pad: clamp(88px, 13vh, 150px); --k-day-gap: clamp(56px, 8vh, 96px); --k-measure: 500px;
  --k-ease: cubic-bezier(.22, 1, .36, 1);
  /* the paper tile's scale follows INV-02 (one sheet of the same paper) */
  --k-fl-strip: min(clamp(1000px, 100vw, 2400px), 180svh);
  --k-fl-tile: url("/skins/folded_letter_luxe/assets/art/paper-tile.webp");
  --k-fl-grain: url("/skins/folded_letter_luxe/assets/art/ink-grain-192.webp");
  /* W3 (A3023): handled cotton (INV-04's seamless relief map of real handled paper, hard-light) and the opener's felt ground */
  --k-fl-relief: url("/skins/folded_letter_luxe/assets/art/paper-relief-1024.webp");
  --k-fl-ground-relief: url("/skins/folded_letter_luxe/assets/art/ground-relief-calm-1024.webp"); /* W4.1 (A3045): the calmer felt (calm_relief.py); W3's is ground-relief-1024.webp */
  --k-fl-claret: #6F0C1F; /* W4.1 (A3045, owner: "slightly more vibrant Red BG"): the opener's cloth and the Send button, one family with the seal (was #4D1621) */
  --k-fl-wet: #8E1A0B; /* fresh ink: deeper and glossier than the dried couple colour */
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 93.75%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--k-paper); scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; color: var(--k-ink);
  font: 300 1rem/1.55 var(--k-font-body);
  background: var(--k-fl-relief) 0 0 / 1280px 1280px repeat, var(--k-fl-tile) 0 0 / calc(var(--k-fl-strip) * .1616) auto repeat, var(--k-paper);
  background-blend-mode: hard-light, normal, normal; /* W3: handled cotton, soft waves and kinks (owner: real paper is never perfect) */
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, dl, dd, ol, ul { margin: 0; font-weight: 300; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.k-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kjy-main { font-family: var(--k-font-body); position: relative; overflow: hidden; overflow: clip; }

/* the same paper as the page, for anything that lies on a photo */
.k-fl-paper { background: var(--k-fl-relief) 0 0 / 1280px 1280px repeat, var(--k-fl-tile) 0 0 / calc(var(--k-fl-strip) * .1616) auto repeat, var(--k-paper); background-blend-mode: hard-light, normal, normal; }

/* type */
.k-fl-big { display: block; font: 300 1em/.9 var(--k-font-display); text-transform: uppercase; color: var(--k-ink); }
.k-fl-grain { padding: .25em .24em .42em; margin: -.25em -.24em -.42em;
  -webkit-mask: var(--k-fl-grain) 0 0 / 192px 192px repeat, linear-gradient(rgb(0 0 0 / .72) 0 0); mask: var(--k-fl-grain) 0 0 / 192px 192px repeat, linear-gradient(rgb(0 0 0 / .72) 0 0); }
.k-fl-scr { font: 400 1em/1 var(--k-font-script); font-style: normal; text-transform: none; color: var(--k-script-ink); }
/* W3 (A3023), ink in the fibres: a fountain pen on cotton, its ink feathered a hair into the paper; the first letter a shade deeper where the
   pen first touched. Shadows, not masks: a mask would clip the swashes on iPhone (WebKit has no mask-clip: no-clip). */
.k-fl-scr { text-shadow: 0 0 .45px color-mix(in srgb, currentColor 60%, transparent), 0 .3px 1.3px color-mix(in srgb, currentColor 22%, transparent); }
.k-fl-scr::first-letter { color: color-mix(in srgb, currentColor 80%, #2A0703); }
.k-fl-kick { font: 300 clamp(.875rem, .625rem + 1.05vw, 1.1875rem)/1.28 var(--k-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--k-ink); }
.k-fl-small { font: 300 .8125rem/1.4 var(--k-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--k-ink); }
.k-fl-rule { display: block; width: min(72%, 420px); height: 1px; margin: 0 auto; background: var(--k-ink); }

/* a section title: one big word, one script word crossing its foot */
.k-fl-ttl { position: relative; display: inline-block; font-size: calc(clamp(84px, 23vw, 190px) * var(--k-fl-z)); margin-bottom: .44em; font-weight: 300; }
.k-fl-ttl__s { position: absolute; left: 50%; bottom: -.5em; translate: -46% 0; rotate: -5deg; font-size: .62em; white-space: nowrap; text-transform: lowercase; }


/* buttons */
.k-btn, .kjy-cal__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--k-s-2);
  min-height: 46px; padding: 0 var(--k-s-5); border-radius: 999px;
  font: 400 .78rem/1 var(--k-font-body); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.k-btn--solid { background: var(--k-fl-claret); color: var(--k-paper); border: 1px solid var(--k-fl-claret); } /* W4.1 (A3045): the reply is sealed in the seal's claret (was ink) */
.k-btn--solid:active { background: var(--c-primary); border-color: var(--c-primary); }
.k-btn--line, .kjy-cal__toggle { background: transparent; color: var(--k-ink); border: 1px solid var(--k-ink); }
.k-btn--line:active, .kjy-cal__toggle:active { background: var(--k-field); }
.k-ico { width: 18px; height: 18px; flex: none; }
.kjy-cal { display: inline-block; position: relative; text-align: left; }
.kjy-cal__toggle { list-style: none; }
.kjy-cal__toggle::-webkit-details-marker { display: none; }
.kjy-cal__menu { position: absolute; z-index: 5; left: 50%; translate: -50% 0; top: calc(100% + 6px); min-width: 190px; padding: 6px; border-radius: 14px; background: var(--k-paper); border: 1px solid var(--k-ink); }
.kjy-cal__opt { display: block; padding: 10px 12px; font: 300 .95rem/1.2 var(--k-font-body); text-decoration: none; }

/* the small print at the end of the page */
.kjy-footer { font: 300 .75rem/1.4 var(--k-font-body); position: relative; z-index: 1; padding: var(--k-s-6) var(--k-gutter) calc(var(--k-s-8) + env(safe-area-inset-bottom)); text-align: center; }
.kjy-footer a { display: inline-flex; align-items: center; gap: 14px; padding: 14px 8px; font: 300 .75rem/1 var(--k-font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--k-ink-soft); text-decoration: none; }
.kjy-footer__logo { display: block; width: 72px; height: 36px; }
.kjy-footer__logo--porcelain { display: none; }

/* music is off everywhere until a licence (D-044); kept so the switch needs no skin change */
.kjy-sound { position: fixed; z-index: 90; top: calc(12px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right));
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center; cursor: pointer; border-radius: 50%; border: 1px solid var(--k-ink);
  background: var(--k-paper); color: var(--k-ink); }
.kjy-preview ~ .kjy-sound { top: calc(64px + env(safe-area-inset-top)); }
.kjy-sound[aria-pressed="true"] .kjy-sound__off,
.kjy-sound[aria-pressed="false"] .kjy-sound__on { display: none; }

/* ---------- the letter (INV-25): creases, panel light, printed photos, the seal ---------- */
/* A crease: a 56 px band centred on its line, light on the panel above, the fold's shadow below (the board's .fh). It is a layer
   above words and photos, so it crosses everything; its dark part stays at .26 so words under it still read. */
.k-fl-panel { position: relative; isolation: isolate; }
.k-fl-crease { position: absolute; left: 0; right: 0; top: -28px; height: 56px; z-index: 20; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0) 0, rgb(255 255 255 / .12) 30%, rgb(255 255 255 / .44) 48.5%,
    rgb(64 46 30 / .26) 50.5%, rgb(64 46 30 / .11) 57%, rgb(64 46 30 / .04) 72%, rgb(64 46 30 / 0) 100%); }
.k-fl-crease--v { left: auto; right: auto; top: 0; bottom: 0; width: 60px; height: auto; margin-left: -30px;
  background: linear-gradient(90deg, rgb(255 255 255 / 0) 0, rgb(255 255 255 / .16) 30%, rgb(255 255 255 / .6) 48.5%,
    rgb(64 46 30 / .28) 50.5%, rgb(64 46 30 / .11) 56%, rgb(64 46 30 / 0) 100%); }
/* the panel's light: each panel tilts a little, so neighbours read as faces of folded paper (alternate --up / --dn) */
.k-fl-tilt { position: absolute; inset: 0; z-index: 19; pointer-events: none;
  background: linear-gradient(180deg, rgb(70 52 34 / .06), rgb(70 52 34 / .012) 60%, rgb(255 255 255 / .05)); }
.k-fl-tilt--up { background: linear-gradient(0deg, rgb(70 52 34 / .055), rgb(70 52 34 / .012) 60%, rgb(255 255 255 / .05)); }
.k-fl-tilt--v { background: linear-gradient(90deg, rgb(70 52 34 / .06), rgb(70 52 34 / .012) 60%, rgb(255 255 255 / .05)); }
/* a photo printed on the letter: matte, the paper's grain on top of it, a hair of unprinted paper at its edge */
.k-fl-print { position: relative; display: block; overflow: hidden; background: var(--k-field); box-shadow: 0 0 0 1px rgb(253 252 249 / .9); }
.k-fl-print > img { display: block; width: 100%; height: 100%; object-fit: cover; filter: contrast(.95) saturate(.94); }
.k-fl-print::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--k-fl-tile) 0 0 / calc(var(--k-fl-strip) * .1616) auto repeat; mix-blend-mode: multiply; opacity: .9; }
/* the wax seal (the burgundy blossom seal, a cleaned cut-out; owner 2026-11-09: "Use Burgendy sEAL"): a contact shadow and a soft one, light from above */
.k-fl-seal { display: block; aspect-ratio: 1; background: url("/skins/folded_letter_luxe/assets/art/seal-burgundy.webp") center / contain no-repeat;
  filter: drop-shadow(0 1px .6px rgb(30 8 8 / .62)) drop-shadow(0 3px 2.4px rgb(30 8 8 / .4)) drop-shadow(0 10px 14px rgb(30 8 8 / .28)); } /* W3: a contact line, a crisp cast, a soft halo (owner: "proper 3d ish") */
/* a hand-drawn pen ring (the calendar's day) */
.k-fl-ring { position: absolute; inset: -18% -26%; width: auto; height: auto; color: var(--c-primary); pointer-events: none; overflow: visible; }

/* ---------- W2 motion (A3016; plan W2: "the letter opened") ----------
   The layer (layer/particles/230) only adds classes; every look is here, under html.fl-moments, which it adds last, so lite, Reduce motion and
   no script show the still page. k-fl-m: managed; k-fl-in: arrived (once, never removed); k-fl-now: already passed, shown at once; k-fl-done:
   finished, its deep layer, clip or dash dropped (speed SOP P5). Opacity, clip-path (the pen), stroke-dashoffset (the ring) and colour (the
   countdown's numbers) only; nothing loops; nothing reverses; every "after" is the still page. Shading only, no 3D (D-195). The seal and the
   flap are op230's and the hero's arrival is he230's: they play before any section script starts. */
:root { --k-fl-pe: cubic-bezier(.45, .05, .35, 1); }
.fl-moments .k-fl-now, .fl-moments .k-fl-now *, .fl-moments .k-fl-now::before, .fl-moments .k-fl-now::after { transition: none !important; animation: none !important; }
/* 1. a panel settles: a deep copy of its crease (about x1.6) or of its light (about x1.5) lies on it and fades away */
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-settle.k-fl-m:not(.k-fl-done):not(.k-fl-now)::after { content: ""; position: absolute; inset: 0; background: inherit; opacity: .6; pointer-events: none; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-tilt.k-fl-settle.k-fl-m:not(.k-fl-done):not(.k-fl-now)::after { opacity: .5; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-settle.k-fl-in:not(.k-fl-now):not(.k-fl-done)::after { animation: k-fl-settle 1.8s var(--k-ease) both; }
/* 2. the pen writes a red script word once, from the left (INV-02's way: a clip that runs past the swashes) */
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-pen.k-fl-m:not(.k-fl-in) { clip-path: inset(-60% 120% -60% -20%); }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-pen.k-fl-in:not(.k-fl-now):not(.k-fl-done) { animation: k-fl-write 1.3s var(--k-fl-pe) var(--fl-d, 0ms) both, k-fl-dry 1.95s ease-in var(--fl-d, 0ms) both; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-pen--slow.k-fl-in:not(.k-fl-now):not(.k-fl-done) { animation-duration: 2.1s, 2.3s; }
/* 3. a photo prints onto the letter: the paper first, then the print comes up in it */
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-ink.k-fl-m:not(.k-fl-in) { opacity: 0; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-ink.k-fl-in:not(.k-fl-now):not(.k-fl-done) { animation: k-fl-print 1.5s cubic-bezier(.3, 0, .2, 1) var(--fl-d, 0ms) both; }
/* 4. the date's ring is drawn round the day */
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-draw.k-fl-m:not(.k-fl-done):not(.k-fl-now) .dt230__ring path { stroke-dasharray: 1; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-draw.k-fl-m:not(.k-fl-in) .dt230__ring path { stroke-dashoffset: 1; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-draw.k-fl-in:not(.k-fl-now):not(.k-fl-done) .dt230__ring path { animation: k-fl-trace 1.3s var(--k-fl-pe) .4s both; }
/* 5. the countdown starts blank ("–" in every place) and its numbers arrive once, left to right */
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-count.k-fl-m:not(.k-fl-done):not(.k-fl-now) .kjy-unit__n { position: relative; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-count.k-fl-m:not(.k-fl-in) .kjy-unit__n { color: transparent; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-count.k-fl-m:not(.k-fl-done):not(.k-fl-now) .kjy-unit__n::after { content: "–"; position: absolute; inset: 0; text-align: center; color: var(--k-ghost); }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-count.k-fl-in:not(.k-fl-now):not(.k-fl-done) .kjy-unit__n { animation: k-fl-num .8s ease var(--fl-u, 0ms) both; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-count.k-fl-in:not(.k-fl-now):not(.k-fl-done) .kjy-unit__n::after { animation: k-fl-settle .45s ease var(--fl-u, 0ms) both; }
.k-fl-count .kjy-unit + .kjy-unit { --fl-u: 160ms; } .k-fl-count .kjy-unit + .kjy-unit + .kjy-unit { --fl-u: 320ms; } .k-fl-count .kjy-unit + .kjy-unit + .kjy-unit + .kjy-unit { --fl-u: 480ms; }
@keyframes k-fl-settle { to { opacity: 0; } }
@keyframes k-fl-write { from { clip-path: inset(-60% 120% -60% -20%); } to { clip-path: inset(-60% -20% -60% -20%); } }
@keyframes k-fl-print { from { opacity: 0; } to { opacity: 1; } }
@keyframes k-fl-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes k-fl-num { from { color: transparent; } }

/* ---------- W3 luxe (A3023; the owner's picks on the W3 menu: all of them) ----------
   The ink and the seal shadow sit with the type and the seal above; here: wet ink drying, the embossed crest, the seal pressed under the
   signature, and the reply folding itself into a letter. Motion under html.fl-moments as in W2; every "after" is the still page. */
/* wet ink, then dry: fresh ink is deeper and glossy (a hair of light on its upper edge), and dries matte into the couple colour */
@keyframes k-fl-dry { from, 40% { color: var(--k-fl-wet); text-shadow: 0 -.5px 0 rgb(255 255 255 / .8), 0 0 .5px var(--k-fl-wet), 0 .8px 1.1px rgb(90 20 10 / .3); } }
/* the crest: the couple's initials in their red, inked on a raised die (W4 A3038, owner: "Make the E&J in Red"); the double oval is pressed up
   from the back of the cotton, no ink; light from above */
.k-fl-crest { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .1em; width: 2.9em; height: 2.2em; margin: 0;
  font: 300 calc(clamp(30px, 8.6vw, 50px) * var(--k-fl-z))/1 var(--k-font-display); text-transform: uppercase; color: var(--c-primary);
  text-shadow: 0 -1px 0 rgb(255 255 255 / .9), 0 1px 1.2px rgb(70 16 8 / .36), 0 0 .5px color-mix(in srgb, currentColor 60%, transparent); }
.k-fl-crest i { font: 400 .72em/1 var(--k-font-script); font-style: normal; margin-top: .1em; color: var(--c-primary); }
.k-fl-crest::before, .k-fl-crest::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.k-fl-crest::before { inset: 0; box-shadow: 0 -1px 0 rgb(255 255 255 / .95), 0 1px 1.2px rgb(84 62 40 / .32), inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -1px 1.2px rgb(84 62 40 / .26); }
.k-fl-crest::after { inset: 5px; box-shadow: 0 -.6px 0 rgb(255 255 255 / .9), 0 .8px 1px rgb(84 62 40 / .26); }
/* W4 (A3038): the crest is stamped once as it arrives: the rings are there from the start, the red letters ink in, the "&" a beat later; never reverses */
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-stamp.k-fl-m:not(.k-fl-in), .fl-moments.kjy-fx:not(.kjy-lite) .k-fl-stamp.k-fl-m:not(.k-fl-in) i { color: transparent; text-shadow: none; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-stamp.k-fl-in:not(.k-fl-now):not(.k-fl-done) { animation: k-fl-stamp-ink .9s ease .25s both; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-stamp.k-fl-in:not(.k-fl-now):not(.k-fl-done) i { animation: k-fl-stamp-ink .9s ease .4s both; }
@keyframes k-fl-stamp-ink { from { color: transparent; text-shadow: none; } }
/* sealed with love: the seal is lowered, pressed (a little past flat, the paper dimpling round it) and lifts back to rest */
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-press.k-fl-m:not(.k-fl-in) { opacity: 0; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-press.k-fl-in:not(.k-fl-now):not(.k-fl-done) { animation: k-fl-press 1.1s cubic-bezier(.3, 0, .2, 1) var(--fl-d, 0ms) both; }
.fl-moments.kjy-fx:not(.kjy-lite) .k-fl-press.k-fl-in:not(.k-fl-now):not(.k-fl-done)::after { animation: k-fl-dimple 1.1s ease var(--fl-d, 0ms) both; }
@keyframes k-fl-press { 0% { opacity: 0; scale: 1.3; filter: drop-shadow(0 10px 6px rgb(30 8 8 / .14)) drop-shadow(0 22px 20px rgb(30 8 8 / .1)) drop-shadow(0 34px 30px rgb(30 8 8 / 0)); }
  35% { opacity: 1; } 62% { scale: .965; } 100% { scale: 1; } }
@keyframes k-fl-dimple { 0%, 55% { opacity: 0; } 70% { opacity: 1; } }
/* the reply folds itself into a letter (a fresh Send only: the layer adds k-fl-fresh; a returning guest's letter is already folded). Times from
   is-sent (the reply script's, 500 ms after Send): the open sheet shows at once while the card glides into view, folds at 1.0-1.8 s once it
   is in view, then the pen addresses it; all before WhatsApp at 4 s after Send (D-156). */
.rs230-folded__sheet { display: none; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__sheet { display: block; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__face { animation: k-fl-show 1ms linear 1800ms both; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__sheet { animation: k-fl-show .25s ease both, k-fl-gone 1ms linear 1800ms forwards; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__p--b { animation: k-fl-fold-b .45s cubic-bezier(.62, .02, .36, 1) 1000ms both; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__p--t { animation: k-fl-fold-t .45s cubic-bezier(.62, .02, .36, 1) 1350ms both; }
.rs230-folded__out { visibility: hidden; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__p--b .rs230-folded__in { animation: k-fl-side-b .45s linear 1000ms both; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__p--b .rs230-folded__out { animation: k-fl-side-a .45s linear 1000ms both; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__p--t .rs230-folded__in { animation: k-fl-side-b .45s linear 1350ms both; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__p--t .rs230-folded__out { animation: k-fl-side-a .45s linear 1350ms both; }
@keyframes k-fl-side-a { 0%, 49.9% { visibility: hidden; } 50%, 100% { visibility: visible; } }
@keyframes k-fl-side-b { 0%, 49.9% { visibility: visible; } 50%, 100% { visibility: hidden; } }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__p--b .rs230-folded__in::after { animation: k-fl-turn-dim .45s linear 1000ms both; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__p--t .rs230-folded__in::after { animation: k-fl-turn-dim .45s linear 1350ms both; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__n { animation: k-fl-write 1s var(--k-fl-pe) 1850ms both, k-fl-dry 1.7s ease-in 1850ms both; }
.fl-moments.kjy-fx:not(.kjy-lite) .rs230-form.k-fl-fresh.is-sent .rs230-folded__to { animation: k-fl-show .5s ease 1800ms both; }
@keyframes k-fl-show { from { opacity: 0; } }
@keyframes k-fl-gone { to { opacity: 0; } }
@keyframes k-fl-fold-b { from { transform: rotateX(0deg); } to { transform: rotateX(180deg); } }
@keyframes k-fl-fold-t { from { transform: rotateX(0deg); } to { transform: rotateX(-180deg); } }
@keyframes k-fl-turn-dim { 0% { opacity: 0; animation-timing-function: cubic-bezier(.6, 0, 1, 1); } 50%, 100% { opacity: .24; } }

