/* ink_gold_luxe skin: Ink & Gold · Luxe. The Ink & Gold skin below byte for byte (a test keeps it so: a fix there
   is copied here), then one Luxe block at the end: the pen-line tokens (line thickness in screen px), the pen
   drawing box and the laptop frame. */
/* 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: "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: #F5EFE4; --k-gate-metal: #B8935F;
  --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: #FCF9F3; --k-card: #FCF9F3; --k-ig-cover: #F5EFE4;
  --k-ink: #38342C; --k-ink-body: #2B2824; --k-ink-soft: #5C564C;
  --k-ig-line: var(--c-primary, #1A1816);
  --k-ig-metal: var(--c-secondary, #B8935F);
  --k-ig-foil-lo: #8E6C42; --k-ig-foil-hi: #E9CA93;
  --k-sh: 40 36 30;
  --k-dark: #2B2824; --k-on-dark: #FCF9F3; --k-on-dark-soft: #EDE6D8;
  --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: #5C564C; --k-line: var(--k-ig-line); --k-ga-gap: var(--k-ig-gap);
  --k-paper-deep: #F5EFE4; --k-gut: var(--k-gutter);
  /*IGART>*/
  --k-ig-ar-corner-tl: 0.966;
  --k-ig-ar-corner-tr: 1.0047;
  --k-ig-ar-spray-l: 1.0434;
  --k-ig-ar-garland: 5.1303;
  --k-ig-ar-divider: 6.5449;
  --k-ig-ar-wreath-900: 1.0061;
  --k-ig-ar-wreath-1250: 1.0061;
  --k-ig-ar-spray-r: 1.0434;
  --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 {
    --k-ig-line: oklab(from var(--c-primary, #1A1816) min(l, .45) a b);
    /* 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 #8E6C42; 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: #2B2824; color: #FCF9F3; border: 1px solid #2B2824; }
.k-btn--solid:active { background: #45403A; }
.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(56 52 44 / .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(252 249 243 / .92); color: var(--k-ink); box-shadow: 0 4px 14px rgb(43 40 36 / .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: #FEFCF9; --k-card: #FEFCF9; --k-ig-cover: #F7F2E9;
  --k-igl-air: 1.6;
}
.k-igpen { display: block; width: 100%; height: auto; overflow: visible; color: var(--k-ig-line, #1A1816); }
.k-igpen-sm { --k-ig-pen: var(--k-ig-pen-sm, .5); } /* small drawings: a lighter line */
.kjy-sound { background: rgb(254 252 249 / .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; }
