/* ink_bloom_rose skin: INV-14D Ink & Bloom in red roses · Luxe (A2340), moved from INV-14B's skin by scripts/ink_bloom_rose_kit.py. INV-14B's note: (A2164). The hand-coloured edition of the same book: the Ink & Gold · Luxe skin
   (frozen, never edited) copied, the line art fixed to ink, then one Bloom block at the end: the five-pan paintbox, the words'
   colours, the filled buttons. Every token here can change for a customer; the painted flowers themselves are pictures. */
/* ink_gold skin: INV-14 Ink & Gold · Premium (D-117, D-120, D-121; plan docs/plans/plan_inv14_premium_master.md D1).
   Template: gilded_arch. One continuous bright cotton sheet (the owner, 2026-10-23: "1 BG", "slightly brighter tone"):
   no section paints paper, the sections are separated by flower dividers (D6). The line art takes the couple's colour
   (--c-primary, darkened to OKLab L <= .45 so light picks still read); the foil takes their metal (--c-secondary, with a
   deeper low stop when the metal is light). op037 and he017 never read this file for geometry or art (kit sync). */
@font-face { font-family: "Young Serif"; src: url("assets/fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-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-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: "Allison"; src: url("assets/fonts/allison-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
:root {
  --k-gate-plaster: #F6F1E9; --k-gate-metal: #C09A45;
  --k-font-script: "Allison", cursive;
  --k-font-display: "Young Serif", Georgia, serif;
  --k-font-body: "Young Serif", Georgia, serif;
  --k-font-caps: "Montserrat", system-ui, sans-serif;
  --k-paper: #FFFEFC; --k-card: #FFFEFC; --k-ig-cover: #F6F1E9;
  --k-ink: #141414; --k-ink-body: #111111; --k-ink-soft: #3D3D3D;
  --k-ig-line: #141414; /* ink, whatever the lead colour: primary here is the paint */
  --k-ig-metal: var(--c-secondary, #C09A45);
  --k-ig-foil-lo: #8F6C2B; --k-ig-foil-hi: #F3DFA8;
  --k-sh: 40 36 30;
  --k-dark: #111111; --k-on-dark: #FFFEFC; --k-on-dark-soft: #EDE6DA;
  --k-light-ground: transparent;
  --k-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n' x='0' y='0' color-interpolation-filters='sRGB'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .30  0 0 0 0 .24  0 0 0 0 .16  .07 0 0 0 -.03'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  --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-ease: cubic-bezier(.22, 1, .36, 1);
  --k-gutter: 20px; --k-section-pad: 88px;
  /* the type scale for the W2 sections, as a length (k x 1px): WebKit mis-resolves the tan(atan2()) trick with viewport
     units (A1783), so sizes are calc(var(--k-ig-u) * N); op037 and he017 carry their own */
  --k-ig-u: clamp(.9px, min(100vw / 390, 100svh / 844), 1.6px);
  --k-ig-gap: calc(var(--k-ig-u) * 72);
  --k-measure: min(calc(var(--k-ig-u) * 480), 640px);
  --k-cw: min(calc(100% - 2 * var(--k-gutter)), var(--k-measure));
  /* compatibility aliases: a stray INV-13 token prints ink, never gold-ink words (each fork names its INV-14 token) */
  --k-gold-ink: #3D3D3D; --k-line: var(--k-ig-line); --k-ga-gap: var(--k-ig-gap);
  --k-paper-deep: #F6F1E9; --k-gut: var(--k-gutter);
  /*IGART>*/
  --k-ig-ar-corner-tl: 0.7461;
  --k-ig-ar-corner-tr: 0.7461;
  --k-ig-ar-spray-l: 2.6207;
  --k-ig-ar-garland: 8.9286;
  --k-ig-ar-divider: 5.0667;
  --k-ig-ar-wreath-900: 0.9719;
  --k-ig-ar-wreath-1250: 0.9719;
  --k-ig-ar-spray-r: 2.6207;
  --k-ig-ar-part-01: 0.6725;
  --k-ig-ar-part-02: 0.9752;
  --k-ig-ar-part-03: 0.9979;
  --k-ig-ar-part-06: 1.0101;
  --k-ig-ar-part-09: 0.6252;
  --k-ig-ar-part-10: 0.7947;
  --k-ig-ar-part-12: 0.6294;
  --k-ig-gar-top: 0.0;
  /*<IGART*/
}
@supports (color: oklab(from red l a b)) {
  :root {
    /* the extra -.18 L applies only when the metal is light (silver): pale dust on cream, W0 parked fix */
    --k-ig-foil-lo: oklab(from var(--k-ig-metal) calc(l - .14 - .18 * clamp(0, (l - .75) * 1000, 1)) a b);
    --k-ig-foil-hi: oklab(from var(--k-ig-metal) calc(l + .13) calc(a * .8) calc(b * .8));
    /* the star dust: for a light metal (silver) the whole gradient sits deeper, so it reads as metal on cream (eye r1) */
    --k-ig-dust-lo: oklab(from var(--k-ig-metal) calc(l - .14 - .22 * clamp(0, (l - .75) * 1000, 1)) a b);
    --k-ig-dust-base: oklab(from var(--k-ig-metal) calc(l - .16 * clamp(0, (l - .75) * 1000, 1)) a b);
    --k-ig-dust-hi: oklab(from var(--k-ig-metal) calc(l + .13 - .2 * clamp(0, (l - .75) * 1000, 1)) calc(a * .8) calc(b * .8));
  }
}
:root {
  --k-ig-foil: linear-gradient(118deg, var(--k-ig-foil-lo) 0%, var(--k-ig-metal) 22%, var(--k-ig-foil-hi) 40%, var(--k-ig-metal) 58%, var(--k-ig-foil-hi) 76%, var(--k-ig-foil-lo) 100%);
  --k-ig-fill: var(--k-ig-foil);
  --k-ig-dust: linear-gradient(118deg, var(--k-ig-dust-lo, var(--k-ig-foil-lo)) 0%, var(--k-ig-dust-base, var(--k-ig-metal)) 22%, var(--k-ig-dust-hi, var(--k-ig-foil-hi)) 40%, var(--k-ig-dust-base, var(--k-ig-metal)) 58%, var(--k-ig-dust-hi, var(--k-ig-foil-hi)) 76%, var(--k-ig-dust-lo, var(--k-ig-foil-lo)) 100%);
  --k-foil: var(--k-ig-foil);
}
@media (min-aspect-ratio: 1/1) { :root { --k-ig-u: clamp(.85px, 100svh / 844, 1.35px); } }
/* phones and touch tablets draw no scrollbar (they use overlay bars); computers keep theirs (eye r1) */
@media (hover: none) and (pointer: coarse) { html { scrollbar-width: none; } html::-webkit-scrollbar { display: none; } }
@media (min-width: 768px) { :root { --k-gutter: 32px; --k-section-pad: 120px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--k-paper); scrollbar-gutter: stable; font-variant-numeric: lining-nums; }
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: 400 1rem/1.6 var(--k-font-body);
  background-color: var(--k-paper);
  background-image: var(--k-grain);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid #8F6C2B; 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); font-size: 1rem; }
/* one sheet (D1): the paper and its grain belong to the page (body, so the engine footer is on the same sheet: W2 A1806),
   never to a section, so no boundary can show a step */
.kjy-main { position: relative; overflow: hidden; overflow: clip; }
.k-card { position: relative; width: var(--k-cw); margin-inline: auto; container-type: inline-size;
  background: none; box-shadow: none; clip-path: none; }
.k-kicker { font: 500 11px/1.5 var(--k-font-caps); letter-spacing: .30em; text-transform: uppercase; color: var(--k-ink-soft); }
.k-title { font: 400 clamp(1.6rem, 7vw, 2.2rem)/1.2 var(--k-font-display); color: var(--k-ink); }
.k-caps { font-family: var(--k-font-caps); font-weight: 500; text-transform: uppercase; letter-spacing: .24em; color: var(--k-ink); }
.k-amp { font: 400 1.6rem/1 var(--k-font-script); color: var(--k-ink); text-transform: none; letter-spacing: 0; }
.k-rule { display: block; width: 200px; height: auto; margin: var(--k-s-4) auto 0; color: var(--k-ig-line); }
.k-btn, .kjy-cal__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--k-s-2);
  min-height: 44px; padding: 0 var(--k-s-5); border-radius: 0;
  font: 500 12px/1 var(--k-font-caps); letter-spacing: .24em; 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 { min-height: 48px; padding: 0 var(--k-s-6); background: #111111; color: #FFFEFC; border: 1px solid #111111; }
.k-btn--solid:active { background: #2B2B2B; }
.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: rgb(20 20 20 / .06); }
.k-ico { width: 18px; height: 18px; flex: none; }
.k-ink { display: inline-block; padding: .3em .8em .5em; margin: -.3em -.8em -.5em; }
html.kjy-fx [data-k-write] .k-ink {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
html.kjy-fx [data-k-write].is-in .k-ink {
  -webkit-mask-position: 0 0; mask-position: 0 0;
  transition-property: -webkit-mask-position, mask-position;
  transition-duration: 1.4s; transition-timing-function: cubic-bezier(.5, 0, .2, 1);
}
html.kjy-fx [data-k-write].is-done .k-ink { -webkit-mask: none; mask: none; }
.kjy-footer { font: 500 .6875rem/1.4 var(--k-font-caps); 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 .6875rem/1 var(--k-font-caps); 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; }
.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-soft);
  background: rgb(255 254 252 / .92); color: var(--k-ink); box-shadow: 0 4px 14px rgb(20 20 20 / .12);
}
.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; }
/* ---------- Luxe ---------- */
:root {
  --k-ig-pen: .9;
  --k-ig-pen-sm: .5;
  --k-igl-frame: min(calc(100vw - 2 * clamp(48px, 5vw, 80px)), 1680px);
  --k-paper: #FFFEFC; --k-card: #FFFEFC; --k-ig-cover: #FFFDF9;
  --k-igl-air: 1.6;
}
.k-igpen { display: block; width: 100%; height: auto; overflow: visible; color: var(--k-ig-line, #141414); }
.k-igpen-sm { --k-ig-pen: var(--k-ig-pen-sm, .5); } /* small drawings: a lighter line */
.kjy-sound { background: rgb(255 254 252 / .92); }
/* gold leaf: as the gold is laid on, a few flakes come away and drift down, once (the section script makes them) */
.k-flakes { position: absolute; z-index: 0; pointer-events: none; filter: drop-shadow(0 .5px .5px rgb(66 46 18 / .25)); }
.k-flakes > i { position: absolute; display: block; animation: k-flake 1600ms cubic-bezier(.25, .6, .3, 1) var(--k-fd, 0ms) both; }
html.motion-reduce .k-flakes, html.kjy-lite .k-flakes { display: none; }
@keyframes k-flake {
  0% { opacity: 0; translate: 0 0; rotate: 0deg; scale: 1 1; }
  10% { opacity: 1; }
  35% { translate: var(--k-fx1) calc(var(--k-fy) * .35); rotate: calc(var(--k-fr) * .4); scale: 1 .4; }
  60% { translate: var(--k-fx2) calc(var(--k-fy) * .7); scale: 1 .9; }
  85% { opacity: .9; scale: 1 .5; }
  100% { opacity: 0; translate: var(--k-fx3) var(--k-fy); rotate: var(--k-fr); scale: 1 1; } }
/* the maker's mark at the foot: small and quiet (about 60 % smaller than the Premium's) */
.kjy-footer { padding-top: 16px; }
.kjy-footer a { gap: 6px; padding: 8px 6px; font-size: 7px; letter-spacing: .22em; }
.kjy-footer__logo { width: 28px; height: 14px; }
/* ---------- Bloom ---------- */
:root {
  /* the paintbox: pigments for art and washes */
  --kb-peony: #C8102E; --kb-coral: #D92B45; --kb-sun: #8E0D22; --kb-leaf: #2F6B45; --kb-sky: #A50F27;
  /* the same five dark enough for words on the paper (each >= 5.4:1) */
  --kb-w-peony: var(--c-primary, #B3122B); --kb-w-coral: #141414; --kb-w-sun: #141414; --kb-w-leaf: #141414; --kb-w-sky: #141414;
  --k-font-book: "Cormorant Garamond", Georgia, serif;
  /* the star dust turns to paint: narrow bands in a broken order, so neighbouring flecks differ */
  --k-ig-dust: repeating-linear-gradient(118deg, var(--kb-peony) 0 11px, var(--kb-sun) 11px 19px, var(--kb-leaf) 19px 30px, var(--kb-coral) 30px 41px, var(--kb-sky) 41px 50px, var(--k-ig-metal) 50px 58px, var(--kb-peony) 58px 67px, var(--kb-leaf) 67px 75px, var(--kb-sun) 75px 86px, var(--kb-sky) 86px 95px, var(--kb-coral) 95px 104px);
}
/* the buttons are filled with the lead colour (white on it is 6.2:1) */
.k-btn--line, .kjy-cal__toggle { background: var(--kb-w-peony); color: #FFFFFF; border: 1px solid var(--kb-w-peony); }
.k-btn--line:active, .kjy-cal__toggle:active { background: #8E0D22; }

/* ---------- The book (W1, A2189) ----------
   Every chapter is a section with .k-ib-sec, so the numbers count themselves: a section the couple doesn't have is not in
   the page at all. .k-card stays off these roots: it makes a size container, and on some browsers that walls a counter in.
   Lead colour per chapter: one .k-ib--<pan> on the root. Paint is gated like the hero's, so it stays out of the before-tap
   weight. On a laptop each chapter is an open book: two pages, words centred, a soft fold down the middle. */
@counter-style kb-words { system: fixed; symbols: "One" "Two" "Three" "Four" "Five" "Six" "Seven" "Eight" "Nine" "Ten" "Eleven" "Twelve"; fallback: decimal; }
[data-kjy-main] { counter-reset: kb-ch 0 kb-pg 0 kb-pr 1; }
:root {
  --kb-press: 0 .5px 0 rgb(255 255 255 / .6), 0 -.4px 0 rgb(20 20 20 / .1);
  --k-shadow-paper: 0 1px 2px rgb(20 20 20 / .08), 0 10px 24px -12px rgb(20 20 20 / .18);
  --c-secondary-dark: #8F6C2B;
  --kb-frame: rgb(184 147 95 / .55);
  --kb-night: #6E0B1C; --kb-w-night: #141414; /* the day's last hours, a pigment the paintbox doesn't hold */
}
/* the default carries no weight (:where), so a pan class on a section's own root always wins it */
:where(.k-ib-sec) { --kb-lead: var(--kb-w-peony); --kb-pig: var(--kb-peony); }
.k-ib--peony { --kb-lead: var(--kb-w-peony); --kb-pig: var(--kb-peony); }
.k-ib--coral { --kb-lead: var(--kb-w-coral); --kb-pig: var(--kb-coral); }
.k-ib--sun { --kb-lead: var(--kb-w-sun); --kb-pig: var(--kb-sun); }
.k-ib--leaf { --kb-lead: var(--kb-w-leaf); --kb-pig: var(--kb-leaf); }
.k-ib--sky { --kb-lead: var(--kb-w-sky); --kb-pig: var(--kb-sky); }
.k-ib-sec { position: relative; width: var(--k-cw); margin-inline: auto; padding-block: calc(var(--k-ig-u) * 40); counter-increment: kb-ch 1 kb-pg 2 kb-pr 2; }
.k-ib-div { position: relative; display: block; width: min(100%, calc(var(--k-ig-u) * 230)); aspect-ratio: 5.0667; margin: 0 auto calc(var(--k-ig-u) * 34); background: center / contain no-repeat; }
html:not(.js) .k-ib-div, html.kjy-opening .k-ib-div { background-image: url("/skins/ink_bloom_rose/assets/art/paint-divider.webp"); }
/* W2a, W2b, the echo of the first paint: a garland or a painted flower below the screen waits in ink and takes its colour once, as it comes on screen (pa083). At rest it has no filter */
.k-ib-div { transition: filter 1.1s ease; }
.k-ib-div.kb-ink { filter: var(--k-ib-wait); transition: none; }
[data-kb-echo] { transition: filter 1.1s ease; }
[data-kb-echo].kb-ink { filter: var(--k-ib-wait); transition: none; }
/* W1c: each chapter's colour at the heart of its garland: the same garland, the centre flower changed (a soft patch of paper over the
   rose, its own painted flower on top). Peony chapters keep the rose, and leaf has no flower of its own */
.k-ib--sun .k-ib-div::before, .k-ib--sky .k-ib-div::before, .k-ib--coral .k-ib-div::before { content: ""; position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(closest-side, var(--k-paper) 76%, transparent); }
.k-ib--sun .k-ib-div::after, .k-ib--sky .k-ib-div::after, .k-ib--coral .k-ib-div::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15.5%; aspect-ratio: 1; translate: -50% -50%; background: center / contain no-repeat; }
html:not(.js) .k-ib--sun .k-ib-div::after, html.kjy-opening .k-ib--sun .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-daisy-a.webp"); }
html:not(.js) .k-ib--sky .k-ib-div::after, html.kjy-opening .k-ib--sky .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-daisy-b.webp"); }
html:not(.js) .k-ib--coral .k-ib-div::after, html.kjy-opening .k-ib--coral .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-lily.webp"); }
.k-ib-head { position: relative; z-index: 1; text-align: center; }
.k-ib-no { font: 500 calc(var(--k-ig-u) * 10.5)/1.4 var(--k-font-caps); letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; color: var(--kb-lead); }
.k-ib-no::before { content: "Chapter " counter(kb-ch, kb-words); }
.k-ib-title { margin: calc(var(--k-ig-u) * 6) 0 0; font: 400 calc(var(--k-ig-u) * 62)/1 var(--k-font-script); color: var(--k-ink-body); }
.k-ib-in { margin-top: calc(var(--k-ig-u) * 2); font: italic 500 calc(var(--k-ig-u) * 20)/1.25 var(--k-font-book); color: var(--k-ink-soft); text-wrap: balance; }
.k-ib-foot { display: none; text-align: center; font: italic 500 calc(var(--k-ig-u) * 15)/1 var(--k-font-book); color: var(--k-ink-soft); }
.k-ib-foot--r { display: block; margin-top: calc(var(--k-ig-u) * 26); }
.k-ib-foot--l::before { content: counter(kb-pg); }
.k-ib-foot--r::before { content: counter(kb-pr); }
.k-ib-daub { position: absolute; z-index: 0; display: block; aspect-ratio: 1; background: var(--kb-pig); opacity: .5; pointer-events: none; }
html:not(.js) .k-ib-daub, html.kjy-opening .k-ib-daub { -webkit-mask: url("/skins/ink_bloom_rose/assets/art/wash-c.webp") center / contain no-repeat; mask: url("/skins/ink_bloom_rose/assets/art/wash-c.webp") center / contain no-repeat; }
html:not(.js) .k-ib-daub--b, html.kjy-opening .k-ib-daub--b { -webkit-mask-image: url("/skins/ink_bloom_rose/assets/art/wash-b.webp"); mask-image: url("/skins/ink_bloom_rose/assets/art/wash-b.webp"); }
html:not(.js) .k-ib-daub--a, html.kjy-opening .k-ib-daub--a { -webkit-mask-image: url("/skins/ink_bloom_rose/assets/art/wash-a.webp"); mask-image: url("/skins/ink_bloom_rose/assets/art/wash-a.webp"); }
html:not(.js) .k-ib-daub--d, html.kjy-opening .k-ib-daub--d { -webkit-mask-image: url("/skins/ink_bloom_rose/assets/art/wash-d.webp"); mask-image: url("/skins/ink_bloom_rose/assets/art/wash-d.webp"); }
html:not(.js) .k-ib-daub--e, html.kjy-opening .k-ib-daub--e { -webkit-mask-image: url("/skins/ink_bloom_rose/assets/art/wash-e.webp"); mask-image: url("/skins/ink_bloom_rose/assets/art/wash-e.webp"); }
html:not(.js) .k-ib-daub--f, html.kjy-opening .k-ib-daub--f { -webkit-mask-image: url("/skins/ink_bloom_rose/assets/art/wash-f.webp"); mask-image: url("/skins/ink_bloom_rose/assets/art/wash-f.webp"); }
/* a gold plate mark: the pressed line round a printed plate */
.k-ib-plate { position: relative; outline: 1px solid var(--kb-frame); outline-offset: calc(var(--k-ig-u) * -8); }
/* a card of the book's own paper: the card art's tooth, faint, under the page's white, so a card stays bright (<= 6 % relief) */
.k-ib-paper { background-color: var(--k-card); box-shadow: var(--k-shadow-paper); }
html:not(.js) .k-ib-paper, html.kjy-opening .k-ib-paper { background-image: linear-gradient(rgb(255 254 252 / .84), rgb(255 254 252 / .84)), url("/skins/ink_bloom_rose/assets/art/card-384.webp"); }
/* printed ink, as INV-04 (owner, A2010): a faint grain in the words, a hair of letterpress. Only the innermost text holder is
   masked (never twice), and buttons, fields and pictures stay crisp. */
:where(html:not(.js), html.kjy-opening) :where(.k-ib-sec) :where(h1, h2, h3, h4, p, li, time, .k-ink, .k-grain):where(:not(.k-nogr, .k-ib-title, :has(.k-ink, .k-grain, p, h1, h2, h3, h4, li, time), :has(.k-btn, button, input, select, textarea, img, svg, i))) {
  -webkit-mask: url("/skins/ink_bloom_rose/assets/art/ink-grain-192.webp") 0 0 / 192px 192px repeat; mask: url("/skins/ink_bloom_rose/assets/art/ink-grain-192.webp") 0 0 / 192px 192px repeat;
  text-shadow: var(--kb-press);
}
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .k-ib-sec { width: min(90vw, calc(var(--k-ig-u) * 1250)); padding-block: calc(var(--k-ig-u) * 36); }
  .k-ib-div { width: calc(var(--k-ig-u) * 280); margin-bottom: calc(var(--k-ig-u) * 24); }
  .k-ib-spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: clamp(72px, 9vw, 150px); min-height: calc(var(--k-ig-u) * 560); padding-bottom: calc(var(--k-ig-u) * 30); }
  /* the fold: the pages turn away from the light on both sides of it, softly, with no line */
  .k-ib-spread::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 260px; margin-left: -130px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgb(74 62 46 / .012) 25%, rgb(74 62 46 / .03) 40%, rgb(74 62 46 / .062) 49%, rgb(74 62 46 / .075) 50%, rgb(74 62 46 / .062) 51%, rgb(74 62 46 / .03) 60%, rgb(74 62 46 / .012) 75%, transparent);
    -webkit-mask: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
  .k-ib-foot { display: block; }
  .k-ib-foot--r { margin-top: 0; }
  .k-ib-foot--l, .k-ib-foot--r { position: absolute; bottom: 0; }
  .k-ib-foot--l { left: 0; right: calc(50% + 60px); }
  .k-ib-foot--r { right: 0; left: calc(50% + 60px); }
  .k-ib-title { font-size: calc(var(--k-ig-u) * 76); }
  .k-ib-in { font-size: calc(var(--k-ig-u) * 22); }
}

/* ---------- INV-14D in red roses (owner, A2340: "black writing ... red roses art ... stronger") ----------
   Every word is black; red lives in the roses and the buttons, gold in the metal. No wash sits behind the art: red watercolour blots on white read as stains. */
.k-ib--sun .k-ib-div::before, .k-ib--sky .k-ib-div::before, .k-ib--coral .k-ib-div::before, .k-ib--sun .k-ib-div::after, .k-ib--sky .k-ib-div::after, .k-ib--coral .k-ib-div::after { content: none; }
:where(.k-ib-sec), .k-ib--peony, .k-ib--coral, .k-ib--sun, .k-ib--leaf, .k-ib--sky { --kb-lead: #141414; }
.k-ib-daub { display: none; }
/* the dust is gold, for the same reason */
:root { --k-ig-dust: var(--k-ig-foil); }
/* W3 (A2360): soft paint waits as a pale pencil drawing: red turns dark in grey, so a plain grey filter reads as a blob */
:root { --k-ib-wait: grayscale(1) brightness(1.9) contrast(1.1); }
/* W3 (A2363): one rose opens through the book: a bud in the first chapter, a full rose at the end. The same place in every divider, nothing added. It takes the divider's own wait and colour (the filter is on the divider) */
.k-ib-sec[data-kjy-section] .k-ib-div::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--k-ig-u) * var(--k-ib-rose, 24)); aspect-ratio: 1; translate: -50% -50%; background: center / contain no-repeat; }
[data-kjy-section="date"] .k-ib-div { --k-ib-rose: 20; }
html:not(.js) [data-kjy-section="date"] .k-ib-div::after, html.kjy-opening [data-kjy-section="date"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-berry-b.webp"); }
[data-kjy-section="countdown"] .k-ib-div { --k-ib-rose: 24; }
html:not(.js) [data-kjy-section="countdown"] .k-ib-div::after, html.kjy-opening [data-kjy-section="countdown"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-bud.webp"); }
[data-kjy-section="events"] .k-ib-div { --k-ib-rose: 24; }
html:not(.js) [data-kjy-section="events"] .k-ib-div::after, html.kjy-opening [data-kjy-section="events"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-bud.webp"); }
[data-kjy-section="story"] .k-ib-div { --k-ib-rose: 27; }
html:not(.js) [data-kjy-section="story"] .k-ib-div::after, html.kjy-opening [data-kjy-section="story"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-rose-b.webp"); }
[data-kjy-section="dress_code"] .k-ib-div { --k-ib-rose: 27; }
html:not(.js) [data-kjy-section="dress_code"] .k-ib-div::after, html.kjy-opening [data-kjy-section="dress_code"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-rose-b.webp"); }
[data-kjy-section="venue"] .k-ib-div { --k-ib-rose: 29; }
html:not(.js) [data-kjy-section="venue"] .k-ib-div::after, html.kjy-opening [data-kjy-section="venue"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-daisy-a.webp"); }
[data-kjy-section="gallery"] .k-ib-div { --k-ib-rose: 29; }
html:not(.js) [data-kjy-section="gallery"] .k-ib-div::after, html.kjy-opening [data-kjy-section="gallery"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-daisy-a.webp"); }
[data-kjy-section="rsvp"] .k-ib-div { --k-ib-rose: 32; }
html:not(.js) [data-kjy-section="rsvp"] .k-ib-div::after, html.kjy-opening [data-kjy-section="rsvp"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-rose-a.webp"); }
[data-kjy-section="closing"] .k-ib-div { --k-ib-rose: 32; }
html:not(.js) [data-kjy-section="closing"] .k-ib-div::after, html.kjy-opening [data-kjy-section="closing"] .k-ib-div::after { background-image: url("/skins/ink_bloom_rose/assets/art/part-rose-a.webp"); }
