/* INV-20 One Line · Luxe (A2715; plan docs/plans/plan_inv20_one_line.md, D-400 pick B): crisp editorial black and white. Full-screen black-and-white photos
   and white word screens take turns; on every word screen one fine ink line runs edge to edge and ties itself, once, into that screen's picture ("One line,
   one loop"). Ink, paper and photographs only: no colour, no grain, no film, no melts. On a laptop every section is a spread (a photo half and a paper
   half). Shared parts are k-ol-*. */
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: block; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@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+0304, U+0308, U+0329, 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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --k-ol-z: .87; /* the whole design's scale: about 13 % smaller on a phone, per "not in the face" */
  --k-font-script: "WindSong", "Snell Roundhand", "Apple Chancery", cursive;
  --k-font-display: "Cormorant Garamond", Cormorant, Garamond, Georgia, serif;
  --k-font-body: "Cormorant Garamond", Cormorant, Garamond, Georgia, serif;
  --k-font-num: var(--k-font-display);
  --k-ol-paper: #F8F6F2; --k-ol-card: #FFFFFF; --k-ol-ink: #161616; --k-ol-soft: #5E5B56; --k-ol-rule: rgb(22 22 22 / .22);
  --k-paper: var(--k-ol-paper); --k-card: var(--k-ol-card); --k-paper-deep: #EFECE6; --k-photo-white: #FFFFFF;
  --k-ink: var(--k-ol-ink); --k-ink-soft: var(--k-ol-soft); --k-ghost: #8C8882; --k-field: transparent; --k-field-line: var(--k-ol-rule);
  --k-script-ink: var(--k-ol-ink); --k-script-deep: var(--k-ol-ink);
  --k-hair: var(--k-ol-rule); --k-line: var(--k-ol-rule);
  --k-dark: #161616; --k-on-dark: #FFFFFF; --k-on-dark-soft: rgb(255 255 255 / .86);
  --k-light-ground: var(--k-ol-paper);
  --k-gate-plaster: var(--k-ol-paper); --k-gate-metal: var(--k-ol-ink);
  --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(72px, 11vh, 120px); --k-day-gap: clamp(56px, 8vh, 96px); --k-measure: 520px;
  --k-ease: cubic-bezier(.22, 1, .36, 1);
  /* Words over a photo sit on this shade, never on a filter (plan Risk 3). */
  --k-ol-shade: linear-gradient(180deg, rgb(10 10 10 / 0) 45%, rgb(10 10 10 / .58) 100%);
  /* The hero's frame and its cut: the opener draws the same line in the same place, so the hand-over has one line in one place. */
  --k-ol-frame-h: max(100svh, 600px);
  /* the paper under the hero's slant (its middle) for the words, on a phone or tablet: the words grow with the width and a little with the height, and the
     slant drops further at their left edge on a wider screen; fitted at nine sizes so the invitation line clears the slant by about 30 px (W1.2) */
  --k-ol-hw-room: min(445px, calc(135px + 27vw + 11.5svh));
  --k-ol-cut-y: calc(var(--k-ol-frame-h) - var(--k-ol-hw-room));
  --k-ol-half: calc(100vw * .07027); /* half a phone slant's rise (tan 8° = .14054): a joint at the middle sits this far above the slant's low end */
}
@media (min-width: 700px) { :root { --k-ol-z: .95; } }
@media (min-width: 1000px) and (orientation: landscape) { :root { --k-ol-z: 1.04; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--k-ol-paper); color-scheme: light; 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-ol-ink); background: var(--k-ol-paper);
  font: 400 calc(18px * (var(--k-ol-z) + .08))/1.6 var(--k-font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, dl, dd, ol, ul { margin: 0; font-weight: 400; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--k-ol-ink); 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; text-align: center; }

/* ---------- type ---------- */
/* small spaced capitals: labels, kickers, dates */
.k-ol-cap { font: 500 calc(12px * (var(--k-ol-z) + .1))/1.6 var(--k-font-body); letter-spacing: .3em; text-transform: uppercase; color: var(--k-ol-soft); padding-left: .3em; }
/* a heading: wide light capitals, centred (the trailing letter-space is balanced by the padding) */
.k-ol-ttl { display: block; max-width: 100%; margin-inline: auto; padding-left: .3em; font: 300 calc(clamp(28px, 7.6vw, 46px) * var(--k-ol-z))/1.15 var(--k-font-display); letter-spacing: .3em; text-transform: uppercase; color: var(--k-ol-ink); text-wrap: balance; }
/* the names: OLIVIA, "and" in script, THOMAS */
.k-ol-names { display: flex; flex-direction: column; align-items: center; font: 300 calc(clamp(38px, 11vw, 66px) * var(--k-ol-z))/1 var(--k-font-display); letter-spacing: .34em; text-transform: uppercase; }
.k-ol-names > span { display: block; max-width: 100%; overflow-wrap: anywhere; padding-left: .34em; }
.k-ol-names > .k-ol-and { font: 400 1.18em/.9 var(--k-font-script); letter-spacing: 0; text-transform: none; padding: .02em .2em .08em; }
.k-ol-scr { font: 400 1em/1 var(--k-font-script); letter-spacing: 0; text-transform: none; }
.k-ol-it { font-family: var(--k-font-body); font-weight: 500; font-style: italic; }

/* ---------- the line ---------- */
/* Every drawn line: one stroke, fine, round-ended, in the colour of its words. Each path has pathLength="1" for stage 2. No filter, ever (plan Risk 8). */
.k-ol-line { display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.k-ol-line path, .k-ol-line use { vector-effect: non-scaling-stroke; }
/* An edge-to-edge line with its loop at the centre: the box is the loop's; the tails run far past it and the page (or the spread's half) clips them. */
.k-ol-rule { position: relative; width: var(--k-ol-rw, 120px); height: var(--k-ol-rh, 40px); margin-inline: auto; color: var(--k-ol-ink); }
.k-ol-rule > .k-ol-line { position: absolute; inset: 0; width: 100%; height: 100%; }
/* a timeline icon: 56 x 56, in at the top centre, out at the bottom centre */
.k-ol-ic { display: block; width: calc(56px * var(--k-ol-z)); height: calc(56px * var(--k-ol-z)); color: var(--k-ol-ink); }
/* ---------- the dividers (W1.4, A2751: the owner's pick B on the W1.3 board) ---------- */
/* Every section counts itself, so a divider shows its section's real number even when the story, dress code or gallery is left out (hero 01 … closing 11). */
.kjy-main { counter-reset: k-ol-n; }
.kjy-main > [data-kjy-section]:not([data-kjy-section="particles"]) { counter-increment: k-ol-n; } /* the motion layer's placeholder is not a section */
/* Where two paper screens meet, the next section opens on its own number, huge in outline and cropped at one edge, with the line crossing under it on the
   bias and the section's name on the line, level, on a paper backing. --l: the number at the left, the line leaning /; --r mirrors both. Still: stage 2 may
   only draw the line. It sits over its neighbours (z-index 1): the gallery's slanted top carries a band of paper that would reach up over the number. */
.k-ol-dv { --k-ol-dv-s: min(62vw, 300px); --k-ol-dv-in: 22px; position: relative; z-index: 1; display: block; height: calc(var(--k-ol-dv-s) * 1.1); overflow: hidden; overflow: clip; background: var(--k-ol-paper); color: var(--k-ol-ink); pointer-events: none; }
.k-ol-dv__n { position: absolute; top: calc(50% - var(--k-ol-dv-s) * .48); left: calc(var(--k-ol-dv-s) * -.08); font: 500 var(--k-ol-dv-s)/1 var(--k-font-display); font-variant-numeric: lining-nums; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.25px var(--k-ol-ink); white-space: nowrap; }
.k-ol-dv__n::before { content: counter(k-ol-n, decimal-leading-zero); }
.k-ol-dv--r .k-ol-dv__n { left: auto; right: calc(var(--k-ol-dv-s) * -.08); }
.k-ol-dv__ln { position: absolute; left: 0; width: 100%; top: calc(50% + var(--k-ol-dv-s) * .26); height: 0; rotate: -8deg; }
.k-ol-dv__ln::before { content: ""; position: absolute; left: -20%; right: -20%; top: -.625px; border-top: 1.25px solid currentColor; }
.k-ol-dv--r .k-ol-dv__ln { rotate: 8deg; }
.k-ol-dv__t { position: absolute; top: 0; right: var(--k-ol-dv-in); translate: 0 -50%; rotate: 8deg; padding: 4px 10px 4px calc(10px + .34em); background: var(--k-ol-paper); font: 500 calc(12px * (var(--k-ol-z) + .1))/1 var(--k-font-body); letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }
.k-ol-dv--r .k-ol-dv__t { right: auto; left: var(--k-ol-dv-in); rotate: -8deg; }
/* the figures' top and the line's low end sit the same distance from the block's edges; on a phone or tablet the word screens either side of a divider
   hug their words (no centring room), so the paper either side of the number is the sections' own padding plus the block's */
@media (max-width: 999px), (orientation: portrait) {
  .k-ol-dv ~ .k-ol-screen { min-height: 0; justify-content: flex-start; }
  .kjy-main > [data-kjy-section]:has(+ [data-kjy-section] > .k-ol-dv) > .k-ol-screen { min-height: 0; }
}
@media (min-width: 1000px) and (orientation: landscape) {
  .k-ol-dv { --k-ol-dv-s: 300px; --k-ol-dv-in: 120px; }
  /* a spread: the divider runs across both halves in row 1, the photo and the words below it in row 2 */
  .k-ol-spread > .k-ol-dv { grid-column: 1 / -1; grid-row: 1; }
  .k-ol-spread:has(> .k-ol-dv) > :is(.k-ol-spread__ph, .k-ol-spread__words) { grid-row: 2; }
}

/* ---------- screens ---------- */
/* A word screen on a phone or tablet: a whole screen of paper, its words centred top to bottom. */
.k-ol-screen { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100svh; padding: var(--k-section-pad) var(--k-gutter); text-align: center; }
/* A photo: grey through this one rule on the <img> only, never animated, never with another filter, never on a wrapper (plan Risk 3). */
.k-ol-ph { position: relative; display: block; overflow: hidden; background: #E6E3DD; }
.k-ol-ph img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.k-ol-shade { position: absolute; inset: 0; pointer-events: none; background: var(--k-ol-shade); }
/* A white card on the paper */
.k-ol-card { background: var(--k-ol-card); box-shadow: 0 0 0 1px rgb(22 22 22 / .12), 0 18px 40px rgb(22 22 22 / .08); }

/* ---------- the bias cut (W1.2, D-415: the owner's pick D on the graphic-cuts board) ---------- */
/* Where a photo meets paper, the edge is one straight slant of 8°, and the screen's one line runs along it with its picture tied there. One SVG draws the
   line, its picture, the picture's paper hole and the paper beyond the cut, in px, so the line and the photo's edge are one shape and always meet. The joint
   (0, 0) sits at the SVG's left and top in its box; the tails run 1,600 px each way and the section clips them. Its rotate turns it: -8deg leans /,
   8deg leans \. It has no z-index: it paints over its photo and under the words that follow it. On a laptop a spread's seam stands up (below). Nothing here ever moves (speed SOP P4); stage 2 may only draw the line. */
.k-ol-cut { position: absolute; left: 50%; top: 50%; width: 3200px; height: 640px; max-width: none; margin: -320px 0 0 -1600px; overflow: visible; pointer-events: none; color: var(--k-ol-ink); rotate: -8deg; transform: scale(var(--k-ol-z)); }
.k-ol-cut__paper, .k-ol-cut__hole { fill: var(--k-ol-paper); stroke: none; }
.k-ol-cut__line { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.k-ol-cut--lap { display: none; }
@media (max-width: 999px), (orientation: portrait) {
  /* a phone or tablet: a photo box lets its cut out and the section clips, so a picture on the paper side is never cut off */
  .k-ol-ph:has(> .k-ol-cut) { overflow: visible; }
}

/* ---------- the hero's words and its cut (shared by the opener and the hero, so the hand-over is exact) ---------- */
/* .k-ol-hl is a frame-sized box holding the hero's cut: on a phone the slant's middle sits --k-ol-hw-room above the frame's foot, leaving that much paper for
   the words; on a laptop it is the seam, upright through the middle. */
.k-ol-hl { position: absolute; left: 0; right: 0; top: 0; height: var(--k-ol-frame-h); overflow: hidden; overflow: clip; pointer-events: none; color: var(--k-ol-ink); }
.k-ol-hl > .k-ol-cut { top: var(--k-ol-cut-y); rotate: -8deg; }
.k-ol-hw { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; padding: 0 var(--k-gutter) clamp(34px, 6.5svh, 64px); text-align: center; color: var(--k-ol-ink); }
.k-ol-hw .k-ol-cap { color: var(--k-ol-soft); }
.k-ol-hw__kick { max-width: 26em; text-wrap: balance; }
.k-ol-hw__names { margin-top: clamp(12px, 2.2svh, 22px); } /* its size: the hero's and the opener's own rule, one formula, from each one's name length */
.k-ol-hw__date { margin-top: clamp(14px, 2.6svh, 26px); }
.k-ol-hw__at { margin-top: 2px; }

/* ---------- laptop: spreads (plan "Layout on a laptop") ---------- */
/* A borrowed photo only ever loads on a laptop: its <source> matches only there, and a phone or tablet keeps the 1-pixel placeholder. A --late photo (W1.2:
   the invitation's and the reply's) shows at every size, and its <img> waits for the tap, so nothing loads before it. */
.k-ol-spread__ph--lap { display: none; }
.k-ol-spread__ph picture { display: contents; }
html.kjy-locked .k-ol-spread__ph--late img { display: none; }
@media (min-width: 1000px) and (orientation: landscape) {
  .k-ol-spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 100vh; }
  .k-ol-spread > .k-ol-spread__ph { grid-column: 1; grid-row: 1; position: sticky; top: 0; align-self: start; height: 100vh; }
  .k-ol-spread > .k-ol-spread__words { grid-column: 2; grid-row: 1; min-height: 100vh; overflow: hidden; overflow: clip; }
  .k-ol-spread--right > .k-ol-spread__ph { grid-column: 2; }
  .k-ol-spread--right > .k-ol-spread__words { grid-column: 1; }
  .k-ol-spread__ph--lap { display: block; }
  html.kjy-locked .k-ol-spread__ph--lap { display: none; }
  .k-ol-spread__ph picture { display: contents; }
  .k-ol-spread > .k-ol-spread__ph .k-ol-shade { display: none; }
  /* no photo of its own and none to borrow: the words alone, centred on paper */
  .k-ol-spread:not(:has(> .k-ol-spread__ph)) { grid-template-columns: minmax(0, 1fr); }
  .k-ol-spread:not(:has(> .k-ol-spread__ph)) > .k-ol-spread__words { grid-column: 1; width: 100%; max-width: 760px; margin-inline: auto; }
  .k-ol-spread .k-ol-screen { min-height: 100vh; padding: clamp(56px, 9vh, 110px) clamp(48px, 6vw, 120px); }

  /* The seam (W1.2, D-415) leans 8° from upright: \ with the photo on the left, / with it on the right, so neighbouring spreads lean by turns. The photo's box
     grows past its half by half the slant, its <img> is cut along the seam (a still polygon in vh, the same line as the cut's), and the seam's line and
     picture sit on top. The words column is clipped that same distance past its edge, under the photo's box, so a words-side line runs exactly to the seam. */
  :root { --k-ol-ext: calc(100vh * .07027 + 2px); }
  .k-ol-spread > .k-ol-spread__ph { z-index: 1; background: none; margin-right: calc(-1 * var(--k-ol-ext)); }
  .k-ol-spread--right > .k-ol-spread__ph { margin-right: 0; margin-left: calc(-1 * var(--k-ol-ext)); }
  .k-ol-spread > .k-ol-spread__ph img { background: #E6E3DD; clip-path: polygon(0 0, calc(100% - 14.054vh - 2px) 0, calc(100% - 2px) 100%, 0 100%); }
  .k-ol-spread--right > .k-ol-spread__ph img { clip-path: polygon(calc(14.054vh + 2px) 0, 100% 0, 100% 100%, 2px 100%); }
  .k-ol-spread > .k-ol-spread__ph > .k-ol-cut { left: calc(100% - var(--k-ol-ext)); top: 50%; rotate: -98deg; }
  .k-ol-spread--right > .k-ol-spread__ph > .k-ol-cut { left: var(--k-ol-ext); rotate: 98deg; }
  .k-ol-spread .k-ol-cut__paper { display: none; }
  .k-ol-spread:has(> .k-ol-spread__ph) > .k-ol-spread__words { overflow: visible; clip-path: inset(0 0 0 calc(-1 * var(--k-ol-ext))); }
  .k-ol-spread--right:has(> .k-ol-spread__ph) > .k-ol-spread__words { clip-path: inset(0 calc(-1 * var(--k-ol-ext)) 0 0); }
  .k-ol-cut--ph { display: none; }
  .k-ol-cut--lap { display: block; }

  /* the hero: words in ink on the left paper half, the photo on the right past the seam, which runs upright through the middle with the heart on it */
  :root { --k-ol-ext-f: calc(var(--k-ol-frame-h) * .07027 + 2px); }
  .k-ol-hl > .k-ol-cut { left: 50%; top: 50%; rotate: 98deg; }
  .k-ol-hl .k-ol-cut__paper { display: none; }
  .k-ol-hw { right: 50%; top: 0; justify-content: center; padding: 0 clamp(40px, 5vw, 96px); }
}

/* ---------- buttons, calendar, footer, sound (engine parts) ---------- */
.k-btn, .kjy-cal__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--k-s-2);
  min-height: 46px; padding: 0 30px; border-radius: 0;
  font: 500 calc(13.5px * (var(--k-ol-z) + .1))/1 var(--k-font-body); letter-spacing: .26em; 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-ol-ink); color: var(--k-ol-paper); border: 1px solid var(--k-ol-ink); }
.k-btn--solid:active { background: #000; border-color: #000; }
.k-btn--line, .kjy-cal__toggle { background: transparent; color: var(--k-ol-ink); border: 1px solid var(--k-ol-ink); }
.k-btn--line:active, .kjy-cal__toggle:active { background: var(--k-paper-deep); }
.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: 0; background: var(--k-ol-card); box-shadow: 0 0 0 1px rgb(22 22 22 / .12), 0 12px 24px -10px rgb(22 22 22 / .3); }
.kjy-cal__opt { display: block; padding: 10px 12px; font: 400 1rem/1.2 var(--k-font-body); text-decoration: none; color: var(--k-ol-ink); }
.kjy-footer { font: 500 .8rem/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: 500 .75rem/1 var(--k-font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--k-ol-soft); text-decoration: none; }
.kjy-footer__logo { display: block; width: 72px; height: 36px; }
/* the logo in ink: no colour anywhere (plan "Couple colour"). Both engine images stay in the markup, hidden; the wine one is used as a mask. */
.kjy-footer__logo--wine, .kjy-footer__logo--porcelain { display: none; }
.kjy-footer a::after { content: ""; display: block; width: 72px; height: 36px; background: var(--k-ol-ink); -webkit-mask: url("/engine/brand/kjy-logo-primary-wine.svg") center / contain no-repeat; mask: url("/engine/brand/kjy-logo-primary-wine.svg") center / contain no-repeat; }
/* 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-ol-rule);
  background: rgb(248 246 242 / .92); color: var(--k-ol-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; }

/* ---------- W2 motion (A2765, D-428: "the line does everything"; plan W2 "The owner's picks"; slow and stately) ---------- */
/* The layer (layer/particles/190) only adds classes and the few wrappers below; every look is here, under html.ol-moments, which it adds last, so lite,
   Reduce motion and no script show the still page. k-ol-m: managed; k-ol-in: arrived (once, never removed); k-ol-now: already passed, shown at once;
   k-ol-done: finished, its dash or clip dropped (speed SOP P5). Transform, opacity and stroke-dashoffset only, plus the names' letter-spacing; nothing
   loops; nothing follows the scroll back; every "after" is the still page (transforms end at none). */
:root { --ol-pen: cubic-bezier(.6, 0, .3, 1); --ol-mv: 1.4s; --ol-ln: 1.6s; }
/* the wrappers the layer adds (here, not under ol-moments, so the page stays the same if the layer stops after adding them) */
.k-ol-pv, .k-ol-mv { display: block; width: 100%; height: 100%; }
.k-ol-pv { overflow: hidden; }
.k-ol-up { display: block; }
.k-ol-dv__n.k-ol-pen { color: transparent; -webkit-text-stroke-color: transparent; }
.k-ol-dv__pen { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; color: var(--k-ol-ink); fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linejoin: round; }
.k-ol-dv__pen path { vector-effect: non-scaling-stroke; }
.k-ol-sent { display: none; width: calc(104px * var(--k-ol-z)); height: calc(42px * var(--k-ol-z)); margin: 2px auto 8px; color: var(--k-ol-ink); }
.k-ol-sent.is-on { display: block; }
.k-ol-sent svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.k-ol-sent path { vector-effect: non-scaling-stroke; }
@media (min-width: 1000px) and (orientation: landscape) {
  /* a spread's photo moved into the wrappers: the seam's clip goes on the still wrapper, so the moving picture never shifts the seam */
  .k-ol-spread > .k-ol-spread__ph > .k-ol-pv { clip-path: polygon(0 0, calc(100% - 14.054vh - 2px) 0, calc(100% - 2px) 100%, 0 100%); }
  .k-ol-spread--right > .k-ol-spread__ph > .k-ol-pv { clip-path: polygon(calc(14.054vh + 2px) 0, 100% 0, 100% 100%, 2px 100%); }
  .k-ol-spread > .k-ol-spread__ph > .k-ol-pv img { clip-path: none; }
}
.ol-moments .k-ol-now, .ol-moments .k-ol-now *, .ol-moments .k-ol-now::before, .ol-moments .k-ol-now::after { transition: none !important; animation: none !important; }

/* 1, 2, 3, 4, 8: a line draws across the part of it on screen (--ol-a to --ol-b of its length), then drops its dash */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-draw.k-ol-m:not(.k-ol-done) { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--ol-a, 0)); }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-draw.k-ol-m.k-ol-in:not(.k-ol-done) { stroke-dashoffset: calc(1 - var(--ol-b, 1));
  transition: stroke-dashoffset var(--ol-t, var(--ol-ln)) var(--ol-pen) var(--ol-d, 0s); }
/* 4: the getaway car stands 10 px back while its road draws, then rolls forward into place */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-car.k-ol-m:not(.k-ol-go) { translate: -10px 0; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-car.k-ol-m.k-ol-go { transition: translate 1s var(--k-ease); }

/* 2: the divider's line runs out from the number's side, after the number is written */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-dv.k-ol-m:not(.k-ol-in) .k-ol-dv__ln::before { transform: scaleX(0); }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-dv.k-ol-m .k-ol-dv__ln::before { transform-origin: 14.3% 0; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-dv--r.k-ol-m .k-ol-dv__ln::before { transform-origin: 85.7% 0; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-dv.k-ol-m.k-ol-in .k-ol-dv__ln::before { transition: transform 1.3s var(--ol-pen) .9s; }

/* 3: the day's line grows down into each row, the icon draws as the line reaches it, then the line runs on */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-row.k-ol-m::before, .ol-moments.kjy-fx:not(.kjy-lite) .k-ol-row.k-ol-m::after { transform-origin: 50% 0; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-row.k-ol-m:not(.k-ol-in)::before, .ol-moments.kjy-fx:not(.kjy-lite) .k-ol-row.k-ol-m:not(.k-ol-in)::after { transform: scaleY(0); }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-row.k-ol-m.k-ol-in::before { transition: transform .5s cubic-bezier(.4, 0, .6, 1); }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-row.k-ol-m.k-ol-in::after { transition: transform .55s cubic-bezier(.4, 0, .6, 1) 1.2s; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-row.k-ol-m:not(.k-ol-done) .k-ol-ic { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-row.k-ol-m.k-ol-in:not(.k-ol-done) .k-ol-ic { stroke-dashoffset: 0; transition: stroke-dashoffset .75s var(--ol-pen) .48s; }

/* 4: the dress code's cards lift 8 px as their sketches draw */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-lift.k-ol-m:not(.k-ol-in) { translate: 0 8px; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-lift.k-ol-m.k-ol-in { transition: translate 1.3s var(--k-ease); }

/* 5 and 6: a photo arrives a touch large and settles to size; on a phone a photo on a slant also rises 32 px from its cut. The box shows paper until then. */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-ph.k-ol-m { background: none; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-ph.k-ol-m:not(.k-ol-in) > .k-ol-pv > .k-ol-mv { opacity: 0; scale: 1.05; }
@media (max-width: 999px), (orientation: portrait) {
  .ol-moments.kjy-fx:not(.kjy-lite) .k-ol-ph.k-ol-m:has(> .k-ol-cut):not(.k-ol-in) > .k-ol-pv > .k-ol-mv { translate: 0 32px; }
}
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-ph.k-ol-m.k-ol-in > .k-ol-pv > .k-ol-mv { transition: opacity .8s ease-out, scale 1.7s var(--k-ease), translate 1.7s var(--k-ease); }

/* 8 and the small words: they come up one after another (--ol-d, 90 ms apart, set as they arrive) */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-tile.k-ol-m:not(.k-ol-in) { opacity: 0; translate: 0 24px; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-tile.k-ol-m.k-ol-in { transition: opacity .9s ease-out var(--ol-d, 0s), translate 1.3s var(--k-ease) var(--ol-d, 0s); }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-fade.k-ol-m:not(.k-ol-in) { opacity: 0; translate: 0 10px; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-fade.k-ol-m.k-ol-in { transition: opacity 1s ease-out var(--ol-d, 0s), translate 1.2s var(--k-ease) var(--ol-d, 0s); }

/* 9: names arrive a little wider (as wide as their line has room for, --ol-ls) and close up as they land */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-ls.k-ol-m:not(.k-ol-done) { white-space: nowrap; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-ls.k-ol-m:not(.k-ol-in) { letter-spacing: var(--ol-ls); }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-ls.k-ol-m.k-ol-in { transition: letter-spacing var(--ol-mv) var(--k-ease) .1s; }

/* 10: a heading's words rise out of the line, inside their own still line box */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-rise.k-ol-m:not(.k-ol-done) { overflow: clip; overflow-clip-margin: 2px; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-rise.k-ol-m:not(.k-ol-in) > .k-ol-up { translate: 0 110%; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-rise.k-ol-m.k-ol-in > .k-ol-up { transition: translate 1.2s var(--k-ease) var(--ol-d, .15s); }

/* 11: RS and VP slide in from the two sides and meet */
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-slide.k-ol-m:not(.k-ol-in) > :nth-child(1) { opacity: 0; translate: -40px 0; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-slide.k-ol-m:not(.k-ol-in) > :nth-child(2) { opacity: 0; translate: 40px 0; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-slide.k-ol-m.k-ol-in > :is(:nth-child(1), :nth-child(2)) { transition: opacity 1s ease-out .1s, translate var(--ol-mv) var(--k-ease) .1s; }

/* 12: on Send, the line ties into the envelope above the thank-you, then the flap closes (all within 2.2 s; WhatsApp opens at 4 s) */
@keyframes k-ol-pen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-sent.is-on .k-ol-sent__b { stroke-dasharray: 1; animation: k-ol-pen 1.1s var(--ol-pen) .3s backwards; }
.ol-moments.kjy-fx:not(.kjy-lite) .k-ol-sent.is-on .k-ol-sent__v { stroke-dasharray: 1; animation: k-ol-pen .7s var(--ol-pen) 1.45s backwards; }
