/* satin_glass_luxe skin: INV-03 Satin Glass · Luxe (D-162; W1 A1983, docs/plans/plan_inv03_satin_glass_w1.md).
   Mocha satin behind the whole page (one fixed layer: no repaint on scroll), and every section a pane of glass on it.
   Art from scripts/satin_glass_kit.py art. The glass recipe is the tokens below; sections read them, never their own.
   W5 wave 2 (A2032, D-178; owner picked "Oatmeal linen" from eight neutral cloths): the ground is now a light linen (the
   kit's GROUND), so the glass is milky (a white veil), the words are espresso ink (--k-on-dark keeps its name: sections
   read it), and lines and hairlines are ink (--sgl-line, --sgl-hair). Kit contrast: 7.4:1 at worst (ink on the darkest
   ground). The mocha values are in the comments beside each token. */
/* W3 (A2001, owner 2026-10-27: "something in the design style like Calibri", every word): Lato, light 300 for the big
   words (names, dates, numbers, times, event names), 400 for everything else. Gilda and Montserrat are gone; the script
   titles stay in Italianno */
@font-face { font-family: "Lato"; src: url("assets/fonts/lato-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: block; }
@font-face { font-family: "Lato"; src: url("assets/fonts/lato-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Italianno"; src: url("assets/fonts/italianno-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
:root {
  --k-font-script: "Italianno", "Snell Roundhand", "Apple Chancery", cursive;
  --k-font-display: "Lato", "Calibri", "Carlito", "Helvetica Neue", Arial, sans-serif;
  --k-font-body: "Lato", "Calibri", "Carlito", "Helvetica Neue", Arial, sans-serif;
  --k-paper: #F2ECE3; --k-card: #F2ECE3; --k-paper-deep: #D9CEBF;
  --k-ink: #2E211A; --k-ink-soft: #5E4A3C;
  --k-line: rgb(58 42 32 / .4); /* mocha: rgb(255 255 255 / .55) */
  --k-dark: transparent; --k-on-dark: #3A2A20; --k-on-dark-soft: rgb(58 42 32 / .82); /* mocha: #FFFFFF, white .86 */
  --k-light-ground: transparent;
  --k-label: rgb(58 42 32 / .82); /* mocha: white .86 */
  --k-gate-plaster: #F2ECE3; --k-gate-metal: #A85E36;
  --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: 20px; --k-section-pad: 40px; --k-measure: 560px;
  /* W3 (even spacing): sections are 2 x --k-section-pad apart (80 / 112 / 128 px), and inside a section the title plaque,
     panes and rows are --sgl-gap-in apart (20 / 24 / 28 px) */
  --sgl-gap-in: 20px;
  --k-ease: cubic-bezier(.22, 1, .36, 1);
  --k-grain: none;
  --k-foil: #D99A6C;

  /* ---- Satin Glass (sgl) ---- */
  --sgl-satin-base: #CDBFB0; /* W5 wave 2: the linen's mean (W3.1 mocha: #715B4A) */
  --sgl-art-satin: image-set(url("/skins/satin_glass_luxe/assets/art/satin-tall-390.webp") 1x, url("/skins/satin_glass_luxe/assets/art/satin-tall-780.webp") 2x, url("/skins/satin_glass_luxe/assets/art/satin-tall-1290.webp") 3x);
  --sgl-art-mist: url("/skins/satin_glass_luxe/assets/art/satin-mist.webp");
  --sgl-art-etch: url("/skins/satin_glass_luxe/assets/art/glass-etch-1024.webp");
  --sgl-art-frost: url("/skins/satin_glass_luxe/assets/art/glass-frost-256.webp");
  --sgl-art-sprig: image-set(url("/skins/satin_glass_luxe/assets/art/sprig-240.webp") 1x, url("/skins/satin_glass_luxe/assets/art/sprig-480.webp") 2x);
  --sgl-sprig-ratio: 1.3875; /* sprig-480 is 480 x 666 */
  /* W4 (A2014): five dried flowers for .k-sgl-bloom and the pressed crescent for the arched glass (kit BLOOMS, PRESSED;
     ratios w / h from kit_art.json _ratios) */
  --sgl-art-rose: image-set(url("/skins/satin_glass_luxe/assets/art/bloom-rose-240.webp") 1x, url("/skins/satin_glass_luxe/assets/art/bloom-rose-480.webp") 2x); --sgl-rose-ratio: 1.4277;
  --sgl-art-tuft: image-set(url("/skins/satin_glass_luxe/assets/art/bloom-tuft-240.webp") 1x, url("/skins/satin_glass_luxe/assets/art/bloom-tuft-480.webp") 2x); --sgl-tuft-ratio: .7207;
  --sgl-art-pampas: image-set(url("/skins/satin_glass_luxe/assets/art/bloom-pampas-240.webp") 1x, url("/skins/satin_glass_luxe/assets/art/bloom-pampas-480.webp") 2x); --sgl-pampas-ratio: .68;
  --sgl-art-fern: image-set(url("/skins/satin_glass_luxe/assets/art/bloom-fern-240.webp") 1x, url("/skins/satin_glass_luxe/assets/art/bloom-fern-480.webp") 2x); --sgl-fern-ratio: .7239;
  --sgl-art-lunaria: image-set(url("/skins/satin_glass_luxe/assets/art/bloom-lunaria-240.webp") 1x, url("/skins/satin_glass_luxe/assets/art/bloom-lunaria-480.webp") 2x); --sgl-lunaria-ratio: .7199;
  --sgl-art-pressed: image-set(url("/skins/satin_glass_luxe/assets/art/pressed-560.webp") 1x, url("/skins/satin_glass_luxe/assets/art/pressed-1120.webp") 2x); --sgl-pressed-ratio: 1.0818;
  /* W7.2 (A2088, D-192): one dried petal of the hero's rose, the story's falling petal (kit PETAL; Kie sg-petal, 18 credits) */
  --sgl-art-petal: image-set(url("/skins/satin_glass_luxe/assets/art/petal-80.webp") 1x, url("/skins/satin_glass_luxe/assets/art/petal-160.webp") 2x); --sgl-petal-ratio: 1.0127;
  --sgl-art-seal: image-set(url("/skins/satin_glass_luxe/assets/art/seal-160.webp") 1x, url("/skins/satin_glass_luxe/assets/art/seal-320.webp") 2x);
  --sgl-seal-ratio: 1.0191; /* seal-320 is 320 x 314 (w / h) */
  /* W5 wave 2 (A2024; D-178, the owner's pick C): the ivory silk the hero's pane stands in, cut whole with its hemmed
     lower edge (kit SILK). Desktop and landscape swap in the low, wide drape (below) */
  --sgl-art-silk: image-set(url("/skins/satin_glass_luxe/assets/art/silk-1100.webp") 1x, url("/skins/satin_glass_luxe/assets/art/silk-2200.webp") 2x); --sgl-silk-ratio: 2.1989;
  /* copper and champagne (art colours; text uses --c-primary / --c-secondary) */
  --sgl-copper: #A85E36; --sgl-copper-light: #D99A6C; --sgl-copper-deep: #6E3A1F; --sgl-champ: #F4E7CF;
  /* the ivory envelope */
  --sgl-paper: #F2ECE3; --sgl-paper-shade: #D9CEBF; --sgl-paper-liner: #EAE1D4;
  --sgl-paper-hi: #F8F3EB; --sgl-paper-lo: #E0D4C3;
  /* the glass, one recipe for every pane (bottom to top: mist, veil, milk, etch, sheen, rim, words). No live blur on
     anything that moves (D-040). W2 (A1994): the texture 40 % lighter (milk .025 -> .015, etch .85 -> .51). Kit contrast
     with the text grain on the W3.1 almost-flat satin: 5.2:1 where the hero's words sit, 4.8:1 at worst on a pane. */
  --sgl-glass-mist-o: .7;
  --sgl-glass-veil: rgb(255 255 255 / .22); /* W5 wave 2: milky on the linen (mocha: rgb(42 30 22 / .24)) */
  --sgl-glass-milk: .015;
  --sgl-glass-sheen: linear-gradient(115deg, rgb(255 255 255 / .16), rgb(255 255 255 / 0) 38%);
  --sgl-glass-fill: var(--sgl-glass-sheen), linear-gradient(rgb(255 255 255 / var(--sgl-glass-milk)) 0 0), linear-gradient(var(--sgl-glass-veil) 0 0);
  --sgl-glass-etch-size: 512px; --sgl-glass-frost-size: 128px; --sgl-glass-etch-o: .51;
  /* W3: the sanding (owner: "scrubbed … with sandpaper … not too much, maybe 5 %"): 6,000 fine micro-scratches, a faint
     scuff at arm's length (kit SAND_MEAN .045; .098 read as white flecks); it rides in the etch layer, so every pane, the
     hero, the prints and the opener get it */
  --sgl-art-sand: url("/skins/satin_glass_luxe/assets/art/glass-sand-384.webp"); --sgl-glass-sand-size: 192px;
  --sgl-glass-etch: var(--sgl-art-etch) 0 0 / var(--sgl-glass-etch-size) repeat, var(--sgl-art-frost) 0 0 / var(--sgl-glass-frost-size) repeat, var(--sgl-art-sand) 0 0 / var(--sgl-glass-sand-size) repeat;
  /* W5: the old glass's etch (W2: hairlines and frost, no sanding) */
  --sgl-glass-etch-old: var(--sgl-art-etch) 0 0 / var(--sgl-glass-etch-size) repeat, var(--sgl-art-frost) 0 0 / var(--sgl-glass-frost-size) repeat;
  --sgl-glass-etch-mask: linear-gradient(115deg, #000 0%, rgb(0 0 0 / .45) 55%, rgb(0 0 0 / .28) 100%);
  /* W3 (thick glass): the edge, a bright polished bevel top and left, a faint dark bevel bottom and right; plus an inner
     hairline --sgl-glass-inner-gap inside the edge (on .k-sgl-mist::after) */
  --sgl-glass-rim: inset 0 0 0 1px rgb(255 255 255 / .5), inset 0 2px 0 rgb(255 255 255 / .55), inset 2px 0 0 rgb(255 255 255 / .32), inset 0 -2px 0 rgb(20 12 8 / .22), inset -2px 0 0 rgb(20 12 8 / .16);
  --sgl-glass-inner-line: rgb(255 255 255 / .1); --sgl-glass-inner-gap: 5px;
  --sgl-glass-shadow: 0 24px 48px -20px rgb(60 44 30 / .32), 0 0 0 1px rgb(255 255 255 / .3); /* W5 wave 2: softer on the linen */
  --sgl-glass-radius: 8px;
  /* W5 (A2018): one geometry for the hero, the closing's slab and the opener's card (owner: the opener "flips weirdly"
     from a rectangular card to the rounded hero), the pre-W4 slab; and rounded top corners at 40 % of W4's arch (owner:
     "reduce the roundness by like 60 %"). Sections read these, never set them */
  --sgl-hero-w: 84vw; --sgl-hero-top: 5svh; --sgl-hero-h: 90svh; --sgl-hero-r: 16.8vw;
  --sgl-hero-press: .9; /* the pressed garland's width, a fraction of the slab (hero and opener card) */
  --sgl-hero-shape: var(--sgl-hero-r) var(--sgl-hero-r) var(--sgl-glass-radius) var(--sgl-glass-radius);
  --sgl-text-shadow: 0 1px 0 rgb(255 255 255 / .35); /* W5 wave 2: a pressed edge under ink (mocha: a dark drop and a warm glow) */
  /* W5 wave 2: ink lines for outline buttons and hairlines that were white on the mocha */
  --sgl-line: rgb(58 42 32 / .45); --sgl-hair: rgb(58 42 32 / .25);
  /* A2044 (owner: "as this is a glass theme, everything should look and feel like it's inscribed into a glass"; the Map,
     Add to calendar and reply boxes "doesn't match"): a control is a patch sandblasted into the pane, not a box drawn on
     it. A whiter matte frost with the glass's own grain, finer than the pane's; a cut edge (a shade on the top and left
     walls, a lit lip on the bottom and right) in place of an ink outline. --sgl-etched-groove is an engraved line (a
     field's underline). The tint marks the chosen answer and Send */
  --sgl-etched-frost: rgb(255 255 255 / .34);
  --sgl-etched-fill: var(--sgl-art-frost) 0 0 / 64px repeat, var(--sgl-art-sand) 0 0 / 96px repeat, linear-gradient(var(--sgl-etched-frost) 0 0);
  --sgl-etched-cut: inset 0 1px 1px rgb(58 42 32 / .2), inset 1px 0 0 rgb(58 42 32 / .1), inset 0 -1px 0 rgb(255 255 255 / .85), inset -1px 0 0 rgb(255 255 255 / .55), 0 1px 0 rgb(255 255 255 / .5);
  --sgl-etched-cut-deep: inset 0 1px 2px rgb(58 42 32 / .28), inset 1px 0 0 rgb(58 42 32 / .14), inset 0 -1px 0 rgb(255 255 255 / .9), inset -1px 0 0 rgb(255 255 255 / .6), 0 1px 0 rgb(255 255 255 / .55);
  --sgl-etched-groove: inset 0 -1px 0 rgb(255 255 255 / .8), inset 0 -2px 0 rgb(58 42 32 / .34);
  --sgl-etched-groove-on: inset 0 -1px 0 rgb(255 255 255 / .8), inset 0 -2.5px 0 var(--c-secondary);
  --sgl-etched-tint: color-mix(in srgb, var(--c-secondary) 20%, transparent);
  --sgl-etched-radius: 4px;
  --sgl-etched-text: 0 1px 0 rgb(255 255 255 / .6); /* the words sit in the cut: a lit lip under each letter */
  /* A2058 (owner picked "etch the couple's names into the glass"): the names are cut letters, the controls' language. On
     this light ground a white frost would vanish (about 1.3:1), so the cut is frosted INK: a little see-through, the
     text grain is its frost, a dark hairline on each letter's top edge (the cut wall) and a lit lip under it (the floor) */
  --sgl-etched-letter: rgb(58 42 32 / .85); /* .8 gave the closing 4.25:1 on a phone; .85 clears 4.5 */
  --sgl-etched-letter-cut: 0 -1px 0 rgb(58 42 32 / .28), 0 1px 0 rgb(255 255 255 / .72), 0 1.5px 1px rgb(255 255 255 / .35);
  /* W2: a scrolling pane sees the satin through it like the hero: an <i class="k-sgl-mist"> as its first child (the
     rules below), background transparent, box-shadow var(--sgl-glass-shadow), and the etch on its ::before as before.
     --sgl-pane-veil is the pane's own veil (same as the hero's; the kit's PANE_VEIL) */
  --sgl-pane-veil: rgb(255 255 255 / .22); /* W5 wave 2 (mocha: rgb(42 30 22 / .24)) */
  --sgl-pane-fill: var(--sgl-glass-sheen), linear-gradient(rgb(255 255 255 / var(--sgl-glass-milk)) 0 0), linear-gradient(var(--sgl-pane-veil) 0 0);
  /* W4 (A2014, owner: "I liked the previous glass effect as well … a mix of both randomly across"): a lit pane shows the
     satin's folds through it (kit satin_lit(): W3's folds x .8 at today's tone) while the page behind stays flat, so
     light bands slide through it on scroll. W5: these are the old glass's (.k-sgl-old below). Its veil is a touch
     deeper (.30): kit contrast 3.1:1 at the brightest band (D-169 waiver; W3 showed 2.1:1) */
  /* A2040 (owner: "the glass effect is back to 1 only … I see the sand papered style only"): on the light ground the
     old glass shows the lit cloth sharp and whole (kit SATIN_LIT; mocha: the blurred satin-mist-lit.webp), nearly no
     veil, and a glossy reflection (--sgl-old-fill): clear glass. The new glass stays milky (sanded). Kit contrast for
     the clear glass: 5.5:1 at worst */
  --sgl-art-mist-lit: image-set(url("/skins/satin_glass_luxe/assets/art/satin-lit-tall-780.webp") 1x, url("/skins/satin_glass_luxe/assets/art/satin-lit-tall-1290.webp") 3x);
  --sgl-lit-veil: rgb(255 255 255 / .05); /* A2040: .18 -> .05, clear (mocha: rgb(42 30 22 / .30)) */
  --sgl-old-fill: linear-gradient(115deg, rgb(255 255 255 / .34), rgb(255 255 255 / 0) 34%),
    linear-gradient(115deg, transparent 60%, rgb(255 255 255 / .14) 66%, transparent 72%),
    linear-gradient(rgb(255 255 255 / var(--sgl-glass-milk)) 0 0), linear-gradient(var(--sgl-lit-veil) 0 0);
  --sgl-lit-fill: var(--sgl-glass-sheen), linear-gradient(rgb(255 255 255 / var(--sgl-glass-milk)) 0 0), linear-gradient(var(--sgl-lit-veil) 0 0);
  /* a pane that moves with a transform (the tilted gallery prints, the opener's card and hint) can't register with the
     fixed satin, so it keeps W1's frosted mist at screen scale. Use: background: var(--sgl-pane-bg); box-shadow:
     var(--sgl-pane-shadow); plus the etch pseudo */
  --sgl-pane-bg: var(--sgl-glass-fill), var(--sgl-satin-base) var(--sgl-art-mist) 50% 50% / max(100%, 100vw) max(100%, 100vh) no-repeat;
  --sgl-pane-shadow: var(--sgl-glass-rim), var(--sgl-glass-shadow);
  /* W2: the grain inside every letter (owner: "add some texture to all of the text"), and INV-14 v2's outfit sketches
     (dc002's pen art, static) for the dress-code tags */
  --sgl-art-text-grain: url("/skins/satin_glass_luxe/assets/art/text-grain-128.webp");
  --sgl-text-tex: var(--sgl-art-text-grain) 0 0 / 64px repeat;
  --sgl-art-attire-formal: url("/skins/satin_glass_luxe/assets/art/attire-formal.svg");
  --sgl-art-attire-cocktail: url("/skins/satin_glass_luxe/assets/art/attire-cocktail.svg");
  --sgl-art-attire-smart: url("/skins/satin_glass_luxe/assets/art/attire-smart.svg");
  --sgl-art-attire-traditional: url("/skins/satin_glass_luxe/assets/art/attire-traditional.svg");
  --sgl-art-attire-shoes: url("/skins/satin_glass_luxe/assets/art/attire-shoes.svg");
  --sgl-glint-o: .34; /* A2062: the scroll light's core (.k-sgl-glint) */
  --sgl-glint-warm: .3; /* its warm flanks: a white band alone vanished on the pale glass (AG-T039; my mid-pass frame lifted the
     pane only 1.05-1.14:1), so the core sits between two warm shades and reads as a reflection */
}
@media (min-aspect-ratio: 1/1) {
  :root {
    --sgl-art-satin: image-set(url("/skins/satin_glass_luxe/assets/art/satin-wide-1440.webp") 1x, url("/skins/satin_glass_luxe/assets/art/satin-wide-1920.webp") 1.5x, url("/skins/satin_glass_luxe/assets/art/satin-wide-2560.webp") 2x);
    --sgl-art-mist: url("/skins/satin_glass_luxe/assets/art/satin-mist-wide.webp");
    --sgl-art-mist-lit: image-set(url("/skins/satin_glass_luxe/assets/art/satin-lit-wide-1440.webp") 1x, url("/skins/satin_glass_luxe/assets/art/satin-lit-wide-2560.webp") 2x); /* A2040 (mocha: satin-mist-lit-wide.webp) */
    --sgl-art-silk: image-set(url("/skins/satin_glass_luxe/assets/art/silk-wide-1600.webp") 1x, url("/skins/satin_glass_luxe/assets/art/silk-wide-3200.webp") 2x); --sgl-silk-ratio: 4.0615;
  }
}
@media (min-width: 768px) { :root { --k-gutter: 32px; } }
@media (min-width: 700px) and (max-aspect-ratio: 999/1000) { :root { --sgl-hero-w: 76vw; --sgl-hero-r: 15.2vw; --sgl-hero-press: .74; } }
@media (min-aspect-ratio: 1/1) { :root { --sgl-hero-w: min(90vw, 1240px); --sgl-hero-top: 6svh; --sgl-hero-h: 88svh; --sgl-hero-r: 12svh; --sgl-hero-press: .36; } }
@media (min-width: 700px) and (max-aspect-ratio: 1/1) { :root { --k-section-pad: 56px; --sgl-gap-in: 24px; --sgl-glass-inner-gap: 6px; } }
@media (min-aspect-ratio: 1/1) { :root { --k-section-pad: 64px; --sgl-gap-in: 28px; --sgl-glass-inner-gap: 6px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--sgl-satin-base); 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-on-dark);
  font: 400 1rem/1.65 var(--k-font-body);
  background: transparent; /* html paints the base: a body background would cover the satin layer (z -1) */
  -webkit-font-smoothing: antialiased;
}
/* the satin: one fixed layer behind everything (composited once; a fixed background-attachment would repaint on scroll) */
/* W7.3 (A2123, owner on the iPhone: the hero slab "increases into three different sizes as you try to scroll"): every
   fixed layer (the satin, each pane's mist, the flurry) is one constant size, 100lvh from the top, never inset: 0. Safari
   resizes an inset: 0 box in steps as its toolbar collapses, and the satin (cover) rescaled at each step */
body::before { content: ""; position: fixed; top: 0; right: 0; left: 0; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none;
  background: var(--sgl-satin-base) var(--sgl-art-satin) center / cover no-repeat; }
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 var(--c-secondary); outline-offset: 3px; } /* A2044: the deep champagne; --sgl-champ (#F4E7CF) vanished on the light ground */
[tabindex="-1"]:focus { outline: none; }
.k-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kjy-main { position: relative; overflow: hidden; overflow: clip; font-family: var(--k-font-body); font-size: 1rem; color: var(--k-on-dark); }
.k-kicker { font: 400 .72rem/1.6 var(--k-font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--k-on-dark-soft); }
.k-title { font: 400 clamp(1.86rem, 7.68vw, 2.82rem)/1.05 var(--k-font-script); color: var(--c-secondary); text-shadow: var(--sgl-text-shadow); } /* W2: x .8; W3: x .8 */
.k-caps { font-family: var(--k-font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; color: var(--k-on-dark); }
.k-amp { font: 400 1.6em/1 var(--k-font-script); color: var(--c-secondary); text-transform: none; letter-spacing: 0; }
.k-rule { display: block; width: 200px; height: auto; margin: var(--k-s-4) auto 0; color: var(--sgl-champ); }
.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: 2px;
  font: 400 .72rem/1 var(--k-font-body); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
/* A2044: both kinds are etched into the glass (W5 wave 2: a line was ink on milky glass, a white .22 fill and a 1 px
   --sgl-line border; solid was a copper block, white words). The solid one (Send) is the same cut, deeper and champagne
   tinted, its word in the deep copper (#864B2B, 5.3:1 on the frost), so it still leads */
.k-btn--solid { min-height: 48px; padding: 0 var(--k-s-6); border: 0; border-radius: var(--sgl-etched-radius); color: var(--c-primary-dark);
  background: linear-gradient(var(--sgl-etched-tint) 0 0), var(--sgl-etched-fill); box-shadow: var(--sgl-etched-cut-deep); text-shadow: var(--sgl-etched-text); }
.k-btn--solid:active { background: linear-gradient(color-mix(in srgb, var(--c-secondary) 30%, transparent) 0 0), var(--sgl-etched-fill); }
.k-btn--line, .kjy-cal__toggle { border: 0; border-radius: var(--sgl-etched-radius); color: var(--k-on-dark);
  background: var(--sgl-etched-fill); box-shadow: var(--sgl-etched-cut); text-shadow: var(--sgl-etched-text); }
.k-btn--line:active, .kjy-cal__toggle:active { background: linear-gradient(rgb(255 255 255 / .16) 0 0), var(--sgl-etched-fill); box-shadow: var(--sgl-etched-cut-deep); }
.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; }
/* W2 (A1994): a scrolling pane sees the satin through it, registered like the hero's (owner: "it is the real effect").
   The mist is fixed to the screen, the same box as the satin layer (body::before), so the folds run on under the glass
   while the page scrolls; clip-path cuts it to the pane (overflow does not clip a fixed box, clip-path does). It breaks
   if any ancestor of .k-sgl-mist has transform, translate, rotate, scale, filter, perspective, contain, container-type,
   will-change, backdrop-filter or content-visibility other than visible: the fixed box would then sit in that ancestor.
   The pane: isolation: isolate (so z -1 stays inside it), background transparent; the rim rides on ::after, above the
   mist. The layer section pa060 (the mist gate) hides each mist while its pane is more than half a screen away, so
   Safari keeps only a few full-screen layers; without it every mist shows. */
.k-sgl-mist { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  clip-path: inset(0 round var(--sgl-glass-radius, 8px)); }
.k-sgl-mist::before { content: ""; position: fixed; top: 0; right: 0; left: 0; height: 100vh; height: 100lvh; background: var(--sgl-art-mist) center / cover no-repeat;
  opacity: var(--sgl-glass-mist-o, .7); }
.k-sgl-mist::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--sgl-pane-fill); box-shadow: var(--sgl-glass-rim);
  outline: 1px solid var(--sgl-glass-inner-line); outline-offset: calc(-1 * var(--sgl-glass-inner-gap)); }
html.sgl-gated .k-sgl-mist:not(.is-near)::before { display: none; }
/* W5 (A2018, owner: "one texture or effect per slab"): every slab is one of two glasses. New (the default): sanded,
   over the calm satin. Old (W2): clear, no sanding, the light bands sliding through it. Mark a PANE .k-sgl-old, or a
   container of looped panes .k-sgl-old-even (every second child) or .k-sgl-old-3n2 (the 2nd, 5th, 8th …); the values
   inherit to the pane's etch (::before) and its mist */
.k-sgl-old, .k-sgl-old-even > :nth-child(even), .k-sgl-old-3n2 > :nth-child(3n+2) {
  --sgl-glass-etch: var(--sgl-glass-etch-old); --sgl-art-mist: var(--sgl-art-mist-lit);
  --sgl-pane-fill: var(--sgl-old-fill); --sgl-glass-mist-o: 1; } /* A2040: the light ground's clear glass (was --sgl-lit-fill) */
/* A2062 (W6.2, stage 2 light): a soft band of light crosses a clear pane once as it scrolls by, both ways. A scroll-driven
   view timeline: the element names it, its ::before takes it (the burgundy note: a pseudo-element takes a NAMED timeline
   from its element) and moves with translate only, on the compositor. At rest the band sits off the pane at both ends.
   Place <i class="k-sgl-glint" aria-hidden="true"></i> right after a pane's .k-sgl-mist (it is a sibling, never an
   ancestor, so the mist rule holds); data-glint="exit" runs it as the pane leaves (the hero), "entry" as it comes in (the
   closing). Still glass without animation-timeline, under reduced motion and in lite. The SECTION names the timeline, not
   the pane or the glint: an overflow: hidden box is a scroll container, so a timeline under the pane (or under he060's and
   cl060's own overflow: hidden roots) would watch a box that never scrolls and freeze the band mid-pane (my film, A2062) */
.k-sgl-glint { display: none; }
@supports (animation-timeline: view()) {
  html:not(.motion-reduce):not(.kjy-lite) [data-kjy-section]:has(.k-sgl-glint) { view-timeline: --sgl-glint block; }
  html:not(.motion-reduce):not(.kjy-lite) .k-sgl-glint { display: block; position: absolute; inset: 0; z-index: 1; overflow: hidden;
    border-radius: inherit; pointer-events: none; }
  html:not(.motion-reduce):not(.kjy-lite) .k-sgl-glint::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: -100%; width: 40%;
    background: linear-gradient(100deg, transparent 0%, rgb(196 168 134 / 0) 22%, rgb(196 168 134 / var(--sgl-glint-warm)) 40%,
      rgb(255 252 245 / var(--sgl-glint-o)) 50%, rgb(196 168 134 / var(--sgl-glint-warm)) 60%, transparent 78%);
    transform: skewX(-12deg); will-change: translate;
    animation: sgl-glint linear both; animation-timeline: --sgl-glint; animation-range: cover 20% cover 80%; }
  html:not(.motion-reduce):not(.kjy-lite) .k-sgl-glint[data-glint="exit"]::before { animation-range: exit 0% exit 80%; }
  html:not(.motion-reduce):not(.kjy-lite) .k-sgl-glint[data-glint="entry"]::before { animation-range: entry 40% entry 100%; }
}
/* the band starts and ends 60 % of the pane clear of it: the skew leans its ends out by up to ~.13 x the pane's height, so
   from -40 % a tall phone pane showed a lit wedge at rest (my pixel-compare, A2062) */
@keyframes sgl-glint { from { translate: 0 0; } to { translate: 650% 0; } }
/* W4 (A2014, owner: "sprinkle around more accessories, like similar/related flowers"): dried flowers lying on the satin
   or over a pane's edge, one or two a section (kit BLOOMS: Kie photos, cut). The skin gives the art, its ratio and the
   shadow; a section places each on its own root (left or right, top or bottom, width, transform). A bloom carries a
   filter (and a section's transform), so it is never a pane's ancestor (skin W2 note) */
.k-sgl-bloom { position: absolute; z-index: 3; display: block; pointer-events: none; height: auto;
  aspect-ratio: var(--sgl-bloom-ratio, 1); background: var(--sgl-bloom-art, none) center / contain no-repeat;
  filter: drop-shadow(0 5px 7px rgb(20 10 5 / .36)); }
.k-sgl-bloom--rose { --sgl-bloom-art: var(--sgl-art-rose); --sgl-bloom-ratio: var(--sgl-rose-ratio); }
.k-sgl-bloom--tuft { --sgl-bloom-art: var(--sgl-art-tuft); --sgl-bloom-ratio: var(--sgl-tuft-ratio); }
.k-sgl-bloom--pampas { --sgl-bloom-art: var(--sgl-art-pampas); --sgl-bloom-ratio: var(--sgl-pampas-ratio); }
.k-sgl-bloom--fern { --sgl-bloom-art: var(--sgl-art-fern); --sgl-bloom-ratio: var(--sgl-fern-ratio); }
.k-sgl-bloom--lunaria { --sgl-bloom-art: var(--sgl-art-lunaria); --sgl-bloom-ratio: var(--sgl-lunaria-ratio); }
/* W7.2 (A2088, D-192; the owner picked all 12 effects, D-188): the panes' moments, timed by the layer pa062 (Glass
   moments). pa062 marks each element k-sgl-in once (never removed: reveals never reverse) and adds html.sgl-moments last,
   taking it off on any error. Every "before" state exists only under html.sgl-moments:not(.kjy-lite): with no JavaScript,
   under Reduce motion (no layer script) or in lite (even when the weak-phone probe adds it later) everything shows at
   rest. Motion is opacity, translate and rotate, plus the titles' mask wipe; no filter moves (D-040). One-offs fill
   backwards (AG-T332) */
/* F. breath clears: a pane (not the hero or the closing) arrives breathed-on and clears once */
.k-sgl-breath { display: none; }
html.sgl-moments:not(.kjy-lite) [data-kjy-section] .k-sgl-breath { display: block; position: absolute; inset: 0; z-index: 6;
  pointer-events: none; border-radius: inherit; opacity: 1;
  background: var(--sgl-art-frost) 0 0 / 128px repeat, radial-gradient(ellipse at 50% 55%, rgb(255 255 255 / .58), rgb(255 255 255 / .74)); }
html.sgl-moments:not(.kjy-lite) [data-kjy-section] .k-sgl-breath.k-sgl-in { opacity: 0; transition: opacity 1.8s cubic-bezier(.3, .1, .3, 1) .1s; }
/* G. titles frosted in: the script wipes in pale and settles into its champagne; the grain stays the mask's first layer */
html.sgl-moments:not(.kjy-lite) .k-title > .k-ink {
  -webkit-mask: var(--sgl-text-tex), linear-gradient(90deg, #000 40%, transparent 60%) 100% 0 / 260% 100% no-repeat;
  mask: var(--sgl-text-tex), linear-gradient(90deg, #000 40%, transparent 60%) 100% 0 / 260% 100% no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect; }
html.sgl-moments:not(.kjy-lite) .k-title.k-sgl-in > .k-ink { -webkit-mask-position: 0 0, 0 0; mask-position: 0 0, 0 0;
  transition: -webkit-mask-position 1.6s cubic-bezier(.5, 0, .2, 1), mask-position 1.6s cubic-bezier(.5, 0, .2, 1); }
html.sgl-moments:not(.kjy-lite) .k-title { transition: color 1.4s ease .5s; }
html.sgl-moments:not(.kjy-lite) .k-title:not(.k-sgl-in) { color: var(--sgl-champ); }
/* H. blooms peek out: a flower outside the hero starts 16 px toward the glass (pa062 sets --sgl-peek-x) and 8 px low,
   then slides out; translate adds to the section's placing transform */
html.sgl-moments:not(.kjy-lite) .k-sgl-bloom { transition: opacity .9s ease-out, translate 1.2s cubic-bezier(.2, .7, .3, 1); }
html.sgl-moments:not(.kjy-lite) .k-sgl-bloom:not(.k-sgl-in) { opacity: 0; translate: var(--sgl-peek-x, 0px) 8px; }
/* I. one petal falls (a petal of the hero's rose; kit PETAL): the element drops on one smooth curve while its ::before (the
   art) sways and turns on its own eased path, so the fall never stalls at a waypoint. A section places it (transform) */
.k-sgl-petal { position: absolute; z-index: 3; display: block; pointer-events: none; height: auto; aspect-ratio: var(--sgl-petal-ratio, 1); }
.k-sgl-petal::before { content: ""; position: absolute; inset: 0; background: var(--sgl-art-petal, none) center / contain no-repeat;
  filter: drop-shadow(0 3px 3px rgb(20 10 5 / .3)); }
html.sgl-moments:not(.kjy-lite) .k-sgl-petal[data-sgl-fall]:not(.k-sgl-in) { opacity: 0; }
html.sgl-moments:not(.kjy-lite) .k-sgl-petal[data-sgl-fall].k-sgl-in { animation: sgl-petal-drop 3.4s cubic-bezier(.33, .12, .4, 1) backwards; }
html.sgl-moments:not(.kjy-lite) .k-sgl-petal[data-sgl-fall].k-sgl-in::before { animation: sgl-petal-sway 3.4s ease-in-out backwards; }
@keyframes sgl-petal-drop { from { opacity: 0; translate: 0 -58vh; } 8% { opacity: 1; } to { opacity: 1; translate: 0 0; } }
@keyframes sgl-petal-sway { 0% { translate: -36px 0; rotate: -150deg; } 30% { translate: 30px 0; rotate: -80deg; }
  58% { translate: -22px 0; rotate: -28deg; } 82% { translate: 8px 0; rotate: 4deg; } 100% { translate: 0 0; rotate: 0deg; } }
/* W7.3 (A2123, D-199): the moments, timed by pa062 like W7.2 (every "before" state under html.sgl-moments:not(.kjy-lite)).
   J: a changing digit (days, hours, minutes) frosts in and clears; colour and text-shadow are its small paint (one digit,
   at most once a minute).
   The digit's grain mask ends at its box (AG-T285), so the box gets room for the glow; the negative margin keeps the layout.
   Its last frame is the still style, so it fills backwards (AG-T332) */
html.sgl-moments:not(.kjy-lite) [data-kjy-countdown] .kjy-unit__n { padding-block: .3em; margin-block: -.3em; }
html.sgl-moments:not(.kjy-lite) [data-kjy-countdown] .kjy-unit__n.k-sgl-flip { animation: sgl-flip 900ms cubic-bezier(.4, 0, .3, 1) backwards; }
/* the new digit arrives white with a frost glow and a faint cut edge, then clears into the ink (the `to` frame takes the
   digit's own colour); a glow alone was invisible on the light glass and read as a fade */
@keyframes sgl-flip {
  from { color: #FFFFFF; text-shadow: 0 0 5px rgb(255 255 255 / .95), 0 0 12px rgb(255 255 255 / .75), 0 1px 1px rgb(58 42 32 / .3); }
  to { text-shadow: var(--sgl-text-shadow); }
}
/* L: after Send, the guest's name on a small etched tag in the reply (pa062 builds it at 1.7 s); etched ink, never white (D-186) */
.k-sgl-tag { display: flex; flex-direction: column; align-items: center; gap: 2px; justify-self: center; width: fit-content;
  max-width: min(100%, 280px); margin: 4px auto 0; padding: 12px 26px 14px; border-radius: var(--sgl-etched-radius);
  background: var(--sgl-etched-fill); box-shadow: var(--sgl-etched-cut); text-align: center; }
.k-sgl-tag::before { content: ""; width: 7px; height: 7px; margin-bottom: 6px; border-radius: 50%; box-shadow: var(--sgl-etched-cut-deep); }
.k-sgl-tag__l { margin: 0; padding-left: .26em; font: 400 11px/1.4 var(--k-font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--k-label); }
.k-sgl-tag__n { margin: 0; font: 400 clamp(1.5rem, 6vw, 1.9rem)/1.1 var(--k-font-script); color: var(--sgl-etched-letter);
  text-shadow: var(--sgl-etched-letter-cut); overflow-wrap: anywhere; }
html.sgl-moments:not(.kjy-lite) .k-sgl-tag { transition: opacity .8s ease-out, translate 1s cubic-bezier(.2, .7, .3, 1); }
html.sgl-moments:not(.kjy-lite) .k-sgl-tag:not(.k-sgl-in) { opacity: 0; translate: 0 8px; }
/* M (owner, mid-W7.3: "a foggy kind of effect … between rain or snow … constant … behind the slabs", "fuzzy and
   blurry"; then "80 %", "in the front as well", "totally random movement, not straight"; a soap-bubble try was dropped):
   a soft flurry. pa062 builds two fixed fields of loose out-of-focus flecks and a little haze: --back behind the panes
   (z -1, after the satin in the tree), --front over them (z 3, under the sound button at 90, never takes a tap). Every
   fleck has its own random spot, size, paths, speeds and delays, and sums two slow eased drifts on different axes and
   periods (translate and transform) with a slow twinkle (opacity), so no two move alike and none moves in a line. Only
   translate, transform and opacity move: composited, no repaint. The blur is the gradient itself, never a live filter
   (D-040). The field's opacity .8 = 80 % of the approved draft. Lite and Reduce: pa062 builds nothing */
.k-sgl-flurry { display: none; }
html.sgl-moments:not(.kjy-lite) .k-sgl-flurry { display: block; position: fixed; top: 0; right: 0; left: 0; height: 100vh; height: 100lvh; z-index: -1; overflow: hidden;
  pointer-events: none; opacity: .8; animation: sgl-flurry-in 2.4s ease-out backwards; }
html.sgl-moments:not(.kjy-lite) .k-sgl-flurry--front { z-index: 3; }
.k-sgl-flurry > i { position: absolute; display: block; border-radius: 50%; opacity: var(--a, .7);
  background: radial-gradient(closest-side, rgb(255 252 246) 0, rgb(255 252 246 / .7) 30%, rgb(255 252 246 / .25) 60%, rgb(255 252 246 / 0) 100%);
  animation: sgl-flurry-a var(--ta, 13s) ease-in-out var(--da, 0s) infinite alternate,
    sgl-flurry-b var(--tb, 19s) ease-in-out var(--db, 0s) infinite alternate, sgl-flurry-tw var(--tc, 6s) ease-in-out var(--dc, 0s) infinite alternate; }
.k-sgl-flurry > i.k-sgl-wisp { background: radial-gradient(closest-side, rgb(255 255 255), rgb(255 255 255 / 0)); }
@keyframes sgl-flurry-a { to { translate: var(--ax, 0px) var(--ay, 0px); } }
@keyframes sgl-flurry-b { to { transform: translate(var(--bx, 0px), var(--by, 0px)); } }
@keyframes sgl-flurry-tw { to { opacity: calc(var(--a, .7) * .45); } }
@keyframes sgl-flurry-in { from { opacity: 0; } }
/* W3 (owner picked "no lonely words"): paragraphs and notes never end on one word alone; a section's own text-wrap
   (balance on titles) still wins (zero specificity) */
:where([data-kjy-section]) :where(p, dd, li, figcaption) { text-wrap: pretty; }
/* W2: every line of text carries a fine grain (mean alpha .94), like the glass's etch (pattern from INV-02's
   midnight_ribbon, A1990). Zero specificity, so a section opts an element out with .k-nogr (or any mask rule). A heading
   that holds a padded .k-ink leaves the grain to the span, so script swashes past the line box are never cut (AG-T285).
   Never on anything that holds a button, a form field, a picture or a pane: the grain would break 1 px outlines. */
:where([data-kjy-section]) :where(h1, h2, h3, h4, p, dt, dd, label, legend, figcaption, time, .k-ink, .kjy-unit__n, .kjy-unit__l):where(:not(.k-nogr, :has(> .k-ink), :has(.k-btn, button, input, select, textarea, img, picture, .k-sgl-mist))) {
  -webkit-mask: var(--sgl-text-tex); mask: var(--sgl-text-tex);
}
/* W2: the footer is the envelope pocket running on to the end of the page (the closing ends on the pocket's flat
   bottom edge, #E0D4C3), so the words and logo are dark (the wine logo) */
/* A2047 (owner: the "crafted by" band "is too thick … make it very, very thin"): about 34 px tall (was 104: 24 + 32 + 48);
   the phone's safe area still clears the home bar; the link keeps a 24 px target */
.kjy-footer { position: relative; z-index: 1; padding: 5px var(--k-gutter) calc(5px + env(safe-area-inset-bottom)); text-align: center;
  font: 400 .5rem/1.4 var(--k-font-body); background: var(--sgl-paper-lo, #E0D4C3); }
.kjy-footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 4px; font: 400 .5rem/1 var(--k-font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--k-ink-soft); text-decoration: none; }
.kjy-footer__logo { display: block; width: 30px; height: 15px; }
.kjy-footer__logo--porcelain { display: none; } /* an ivory footer: wine */
.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 rgb(255 255 255 / .6);
  background: rgb(42 30 22 / .55); color: #FFFFFF; box-shadow: 0 4px 14px rgb(20 12 8 / .3), inset 0 1px 0 rgb(255 255 255 / .3);
}
.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; }
