/* acrylic_glass_luxe skin: INV-21 Acrylic Glass · Luxe (A2757; plan docs/plans/plan_inv21_acrylic_glass.md, D-414…D-425).
   A frosted acrylic slab seen at eye level, floating before a wall of crystal strands, white orchids and champagne silk
   (scene 8, Champagne Crystal), with J's lights in the wall and I's halo behind every pane. One fixed wall behind the page
   (body::before); every pane sees it frosted through a fixed mist clipped to the pane (INV-03's recipe), under a warm veil
   whose strength the kit measured (the face behind the words at 0.556 linear). The hero and closing add a physically
   rendered edge over that frost (scripts/acrylic_glass_kit.py slab). Art and numbers: the kit. Sections read the tokens
   below, never their own colours. */
@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: swap; }
@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: block; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: block; }
@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: "Pinyon Script"; src: url("assets/fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
:root {
  --k-font-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --k-font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --k-font-body: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --k-paper: #F4EEE6; --k-card: #F4EEE6; --k-paper-deep: #DCD2C4;
  /* W1.1 (A2773): the frost is 20 % less milky (face .556 -> .469 linear), so the inks went one step deeper to keep their
     contrast (body ink about 5.6:1, caps ink about 3.6:1, as at W1). W2.1 (A2798): 20 % less milky again (veil .459 -> .368,
     face .469 -> .406), so one more step: #463829 -> #3C3023, #635441 -> #5A4C3B, the same 5.6:1 and 3.6:1 on the clearer face */
  --k-ink: #3C3023; --k-ink-soft: #5A4C3B;
  --k-line: rgb(60 48 35 / .4);
  --k-dark: transparent; --k-on-dark: #3C3023; --k-on-dark-soft: #5A4C3B;
  --k-light-ground: transparent; --k-label: #5A4C3B;
  --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;
  --k-ease: cubic-bezier(.22, 1, .36, 1);
  --k-grain: none;
  --k-foil: #A8813F;
  --k-gold: #76551F;
  --k-gate-plaster: #F4EEE6; --k-gate-metal: #A8813F;

  /* ---- Rooms (layer/rooms/200): the bubble bar, a fade between rooms, a champagne-bronze drop ---- */
  --k-rooms-bar: bubble; --k-rooms-change: frost; --k-rooms-drop: rgb(255 251 244 / .62); /* W1.1: a clear glass lens, not a brown drop */

  /* ---- ink and foil (scene 8, the W0.3 mock) ---- */
  --ag-ink: #3C3023; --ag-ink-2: #5A4C3B;
  --ag-gold-1: #76551F; --ag-gold-2: #A8813F; --ag-gold-3: #D6B878;
  --ag-gold: linear-gradient(100deg, var(--ag-gold-1) 0%, var(--ag-gold-2) 34%, var(--ag-gold-3) 50%, var(--ag-gold-2) 66%, var(--ag-gold-1) 100%);
  --ag-hair: linear-gradient(90deg, transparent, var(--ag-gold-2) 30%, var(--ag-gold-2) 70%, transparent);
  --ag-text-lift: 0 1px 0 rgb(255 255 255 / .28);

  /* ---- the wall and its frost (kit ground; the shape follows the screen, the mist always matches the wall) ---- */
  --ag-wall-base: #3A2C1E;
  --ag-wall: image-set(url("/skins/acrylic_glass_luxe/assets/art/wall-tall-1290.webp") 1x);
  --ag-mist: url("/skins/acrylic_glass_luxe/assets/art/mist-tall.webp");
  --ag-veil-rgb: 255 251 245; /* the veil's alpha is the kit's --ag-veil-a (below, per shape) */
  --ag-etch: url("/skins/acrylic_glass_luxe/assets/art/glass-etch-1024.webp") 0 0 / 512px repeat;
  --ag-etch-o: .32;
  --ag-etch-mask: linear-gradient(115deg, #000 0%, rgb(0 0 0 / .45) 55%, rgb(0 0 0 / .28) 100%);

  /* ---- a pane: the CSS rim (simple light), the inner hairline, the I halo and a soft shadow ---- */
  --ag-r: clamp(14px, 2.2vw, 26px);
  --ag-rim: inset 0 0 0 1px rgb(255 255 255 / .55), inset 0 2px 0 rgb(255 255 255 / .6), inset 2px 0 0 rgb(255 255 255 / .38), inset 0 -2px 0 rgb(60 44 24 / .20), inset -2px 0 0 rgb(60 44 24 / .14);
  --ag-inner: rgb(255 255 255 / .16); --ag-inner-gap: 6px;
  --ag-z: 1;
  --ag-halo: 0 0 calc(34px * var(--ag-z)) rgb(255 214 158 / .42), 0 0 calc(90px * var(--ag-z)) rgb(255 214 158 / .20);
  --ag-shadow: 0 18px 44px -18px rgb(60 44 30 / .38);

  /* ---- controls: etched patches (INV-03's recipe), never outlined boxes ---- */
  --ag-etched-frost: rgb(255 255 255 / .36);
  --ag-etched-fill: var(--ag-etch), linear-gradient(var(--ag-etched-frost) 0 0);
  --ag-etched-cut: inset 0 1px 1px rgb(79 64 48 / .2), inset 1px 0 0 rgb(79 64 48 / .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);
  --ag-etched-cut-deep: inset 0 1px 2px rgb(79 64 48 / .28), inset 1px 0 0 rgb(79 64 48 / .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);
  --ag-etched-groove: inset 0 -1px 0 rgb(255 255 255 / .8), inset 0 -2px 0 rgb(79 64 48 / .34);
  --ag-etched-groove-on: inset 0 -1px 0 rgb(255 255 255 / .8), inset 0 -2.5px 0 var(--ag-gold-2);
  --ag-etched-tint: color-mix(in srgb, var(--ag-gold-3) 34%, transparent);
  --ag-etched-radius: 6px;
  --ag-etched-text: 0 1px 0 rgb(255 255 255 / .6);

  /* ---- the ladder (D-423): every pane and the hero; u = the type's unit ---- */
  --ag-sw: 80vw; --ag-sh: 84svh;
  --ag-u: min(1px, .1506svh);
  --ag-gap: 28px; /* between panes in one section */
}
/* tablet (portrait, 700 px and up): the slab about 92 % wide */
@media (min-width: 700px) and (max-aspect-ratio: 999/1000) {
  :root { --ag-sw: 92vw; --ag-sh: 88svh; --ag-u: min(1.5px, .1271svh); --ag-z: 1.3; --ag-gap: 34px; --k-gutter: 32px; --k-section-pad: 56px; }
}
/* laptop (landscape): about 90 % wide, capped at 1680 px; u 1.26 at 1280, 1.4 at 1440, 1.7 at 1920 */
@media (min-aspect-ratio: 1/1) {
  :root { --ag-sw: min(90vw, 1680px); --ag-sh: 84svh; --ag-u: min(calc(.14px + .0875vw), 1.7px, .175svh); --ag-z: 1.4; --ag-gap: 40px; --k-gutter: 32px; --k-section-pad: 64px; }
}
/* the wall's shape: tall on a phone, mid on a portrait tablet, wide on a laptop (the mist always the same shape) */
@media (min-width: 700px), (min-aspect-ratio: 72/100) {
  :root { --ag-wall: image-set(url("/skins/acrylic_glass_luxe/assets/art/wall-mid-1640.webp") 1x); --ag-mist: url("/skins/acrylic_glass_luxe/assets/art/mist-mid.webp"); }
}
@media (min-aspect-ratio: 1/1) {
  :root { --ag-wall: image-set(url("/skins/acrylic_glass_luxe/assets/art/wall-wide-1440.webp") 1x, url("/skins/acrylic_glass_luxe/assets/art/wall-wide-2560.webp") 2x);
    --ag-mist: url("/skins/acrylic_glass_luxe/assets/art/mist-wide.webp"); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ag-wall-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(--ag-ink); font: 500 1rem/1.65 var(--k-font-body);
  background: transparent; -webkit-font-smoothing: antialiased; }
/* the wall: one fixed layer behind everything, a constant 100lvh from the top (never inset: 0: AG-T348) */
body::before { content: ""; position: fixed; top: 0; right: 0; left: 0; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none;
  background: var(--ag-wall-base) var(--ag-wall) 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(--ag-gold-1); outline-offset: 3px; }
[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(--ag-ink); }
:where([data-kjy-section]) :where(p, dd, li, figcaption) { text-wrap: pretty; }

/* ---- type ---- */
.k-kicker, .k-ag-caps { font: 600 calc(9.6 * var(--ag-u))/1.95 var(--k-font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--ag-ink-2); }
.k-caps { font-family: var(--k-font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--ag-ink); }
.k-title, .k-ag-script { font: 400 calc(27 * var(--ag-u))/1.25 var(--k-font-script); padding: 0 .2em .1em; }
.k-ag-gold, .k-title, .k-amp { background: var(--ag-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-amp { font: 400 1.4em/1 var(--k-font-script); text-transform: none; letter-spacing: 0; padding: 0 .12em .1em; }
.k-ag-name { font: 500 calc(38 * var(--ag-u))/1 var(--k-font-display); letter-spacing: .2em; padding-left: .2em; text-transform: uppercase; color: var(--ag-ink); }
.k-ag-and { font: 400 calc(44 * var(--ag-u))/.7 var(--k-font-script); padding: 0 .2em .18em; }
.k-ag-num { font: 300 calc(36 * var(--ag-u))/1 var(--k-font-display); color: var(--ag-ink); font-variant-numeric: lining-nums; }
.k-ag-small { font: 500 calc(9 * var(--ag-u))/1.9 var(--k-font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ag-ink-2); }
.k-ag-read { font: 500 calc(15 * var(--ag-u))/1.6 var(--k-font-body); color: var(--ag-ink); }
/* a section's heading: small caps between two gold hairlines, the script line in gold under it (the board's events) */
.k-ag-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.k-ag-head__k { display: flex; align-items: center; gap: calc(10 * var(--ag-u)); font: 600 calc(11 * var(--ag-u))/1.6 var(--k-font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--ag-ink-2); padding-left: .26em; }
.k-ag-head__k::before, .k-ag-head__k::after { content: ""; width: calc(34 * var(--ag-u)); height: 1px; background: linear-gradient(90deg, transparent, var(--ag-gold-2)); }
.k-ag-head__k::after { background: linear-gradient(270deg, transparent, var(--ag-gold-2)); } /* W2: turned round, not mirrored, so it can grow from the words */
/* the title stands out (owner rule, INV-15): thin script needs about 56 px on a phone to keep its hairlines */
.k-ag-head__t { margin-top: calc(2 * var(--ag-u)); white-space: nowrap; font: 400 max(calc(54 * var(--ag-u)), 50px)/1.2 var(--k-font-script); padding: 0 .22em .12em; }
/* big script titles take the deep end of the foil (W1: the full ramp read faint on a laptop's lighter frost) */
.k-ag-head__t.k-ag-gold { background-image: linear-gradient(100deg, var(--ag-gold-1) 0%, var(--ag-gold-1) 28%, var(--ag-gold-2) 50%, var(--ag-gold-1) 72%, var(--ag-gold-1) 100%); }
/* the rule: two gold hairlines and a small foil diamond */
.k-ag-rule { display: flex; align-items: center; gap: calc(8 * var(--ag-u)); width: calc(120 * var(--ag-u)); margin: calc(16 * var(--ag-u)) auto; }
.k-ag-rule::before, .k-ag-rule::after { content: ""; flex: 1; height: 1px; background: var(--ag-hair); }

.k-ag-rule > b { width: calc(5 * var(--ag-u)); height: calc(5 * var(--ag-u)); rotate: 45deg; background: var(--ag-gold); flex: none; }
.k-rule { display: block; width: 200px; height: auto; margin: var(--k-s-4) auto 0; color: var(--ag-gold-2); }

/* ---- the glass ----
   A pane: <div class="k-ag-pane"><i class="k-ag-mist" aria-hidden="true"></i> … words …</div>. The mist's ::before is the
   wall's frosted copy, fixed to the screen like the wall (so it registers while the page scrolls) and cut to the pane by
   clip-path. It breaks if any ANCESTOR of .k-ag-mist has transform, translate, rotate, scale, filter, perspective, contain,
   container-type, will-change, backdrop-filter or content-visibility (the fixed box then sits in that ancestor). The veil,
   the rim and the inner hairline ride on the mist's ::after; the etch on the pane's ::before. The mist gate (layer
   particles/200) hides each mist while its pane is more than half a screen away. */
.k-ag-pane { position: relative; isolation: isolate; width: var(--ag-sw); max-width: 100%; margin-inline: auto; border-radius: var(--ag-r);
  box-shadow: var(--ag-halo), var(--ag-shadow); color: var(--ag-ink); text-shadow: var(--ag-text-lift); }
.k-ag-pane::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: var(--ag-etch); opacity: var(--ag-etch-o); -webkit-mask-image: var(--ag-etch-mask); mask-image: var(--ag-etch-mask); }
.k-ag-pane > :not(.k-ag-mist) { position: relative; z-index: 1; }
.k-ag-mist { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  clip-path: inset(0 round var(--ag-mist-r, var(--ag-r))); }
.k-ag-mist::before { content: ""; position: fixed; top: 0; right: 0; left: 0; height: 100vh; height: 100lvh;
  background: var(--ag-wall-base) var(--ag-mist) center / cover no-repeat; }
.k-ag-mist::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgb(var(--ag-veil-rgb) / var(--ag-veil-a, .56)); box-shadow: var(--ag-rim);
  outline: 1px solid var(--ag-inner); outline-offset: calc(-1 * var(--ag-inner-gap)); }
html.ag-gated .k-ag-mist:not(.is-near)::before { display: none; }
/* a small pane inside a pane (a photo's mount, a countdown tile): the same glass, its own rim, no halo */
.k-ag-pane--inner { width: auto; box-shadow: 0 10px 24px -14px rgb(60 44 30 / .34); }

/* The hero's and closing's slab: the ladder's box, the frost, the etch, the kit's rendered edge (by the slab's own aspect:
   a container query on .k-ag-slab__art, a sibling of the mist), the gold sprigs, then the words. sb = min(width, .58 x
   height): the corner (6.2 %) and the polished edge (3 %) come from it, as in the kit. */
.k-ag-slab { --ag-sb: min(var(--ag-sw), calc(.58 * var(--ag-sh))); --ag-R: calc(.062 * var(--ag-sb)); --ag-E: calc(.03 * var(--ag-sb));
  --ag-mist-r: var(--ag-R);
  position: relative; isolation: isolate; width: var(--ag-sw); height: var(--ag-sh); border-radius: var(--ag-R);
  color: var(--ag-ink); text-shadow: var(--ag-text-lift); }
.k-ag-slab > .k-ag-mist::after { box-shadow: none; outline: 0; }
.k-ag-slab__etch { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: var(--ag-etch); opacity: var(--ag-etch-o); -webkit-mask-image: var(--ag-etch-mask); mask-image: var(--ag-etch-mask); }
.k-ag-slab__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; container: agslab / size; }
.k-ag-slab__pic { position: absolute; left: calc(-1 * var(--ag-he-l)); top: calc(-1 * var(--ag-he-t)); width: var(--ag-he-pw); height: var(--ag-he-ph);
  background: var(--ag-he-pic) center / 100% 100% no-repeat; }
.k-ag-slab__words { position: absolute; inset: calc(var(--ag-E) * 1.6); z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(22 * var(--ag-u)) calc(10 * var(--ag-u)); }
/* the sprigs: printed on the face, never on the edge (the clip) */
.k-ag-sprigs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  clip-path: inset(calc(var(--ag-E) * 1.3) round calc(var(--ag-R) - var(--ag-E) * 1.3)); }
.k-ag-sprig { --ag-sp-s: calc(.40 * var(--ag-sb)); position: absolute; display: block; height: calc(var(--ag-sp-s) * var(--ag-sp-h)); aspect-ratio: calc(var(--ag-sp-w) / var(--ag-sp-h));
  background: var(--ag-sp-pic) center / contain no-repeat; }
@media (min-aspect-ratio: 1/1) { .k-ag-sprig { --ag-sp-s: calc(.36 * var(--ag-sb)); } }
.k-ag-sprig--a { left: calc(100% - .04 * var(--ag-sb) - var(--ag-sp-bx) * var(--ag-sp-s) * var(--ag-sp-w)); top: calc(.045 * var(--ag-sb) - var(--ag-sp-by) * var(--ag-sp-s) * var(--ag-sp-h)); }
.k-ag-sprig--b { --ag-sp-s2: calc(var(--ag-sp-s) * .92); height: calc(var(--ag-sp-s2) * var(--ag-sp-h));
  left: calc(.05 * var(--ag-sb) - var(--ag-sp-bx) * var(--ag-sp-s2) * var(--ag-sp-w)); top: calc(100% - .045 * var(--ag-sb) - var(--ag-sp-by) * var(--ag-sp-s2) * var(--ag-sp-h)); }
/* a pane's own sprig (a smaller print, top right): sections opt in with <i class="k-ag-sprig k-ag-sprig--a k-ag-sprig--pane"> */
.k-ag-pane > .k-ag-sprig--pane { position: absolute; z-index: 0; --ag-sb: min(var(--ag-sw), 420px); --ag-sp-s: calc(.30 * var(--ag-sb)); }

/* ---- controls: etched into the glass ---- */
.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: 0; border-radius: var(--ag-etched-radius);
  font: 600 .72rem/1 var(--k-font-body); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  color: var(--ag-ink); background: var(--ag-etched-fill); box-shadow: var(--ag-etched-cut); text-shadow: var(--ag-etched-text);
  transition: background-color .2s, color .2s; }
.k-btn--solid { min-height: 48px; padding: 0 var(--k-s-6); color: #4A3516;
  background: linear-gradient(var(--ag-etched-tint) 0 0), var(--ag-etched-fill); box-shadow: var(--ag-etched-cut-deep); }
.k-btn:active, .kjy-cal__toggle:active { box-shadow: var(--ag-etched-cut-deep); }
.k-ico { width: 18px; height: 18px; flex: none; }
.kjy-cal { position: relative; display: inline-block; }
.kjy-cal__menu { position: absolute; z-index: 5; left: 50%; translate: -50% 0; top: calc(100% + 6px); min-width: 190px; padding: 6px; border-radius: 12px;
  background: rgb(250 246 240 / .97); box-shadow: 0 12px 30px -12px rgb(60 44 30 / .45), inset 0 0 0 1px rgb(255 255 255 / .7); }
.kjy-cal__opt { display: block; padding: 10px 12px; border-radius: 8px; font: 500 .95rem/1.2 var(--k-font-body); color: var(--ag-ink); text-decoration: none; }
.kjy-cal__opt:hover { background: rgb(214 184 120 / .18); }

/* ---- the page's edges ---- */
.kjy-footer { position: relative; z-index: 1; padding: 6px var(--k-gutter) calc(6px + env(safe-area-inset-bottom)); text-align: center; font: 500 .55rem/1.4 var(--k-font-body); }
.kjy-footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 4px; font: 600 .55rem/1 var(--k-font-body); letter-spacing: .22em; text-transform: uppercase; color: rgb(255 246 230 / .82); text-decoration: none; }
.kjy-footer__logo { display: none; width: 30px; height: 15px; }
.kjy-footer__logo--porcelain { display: block; }
.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(58 44 30 / .5); color: #FFFFFF;
  box-shadow: 0 4px 14px rgb(30 20 10 / .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; }

/* ---------- W2 motion (A2786, D-440: "an evening seen through frosted glass"; the owner's picks 2-8, pace calm) ----------
   The opener (core/opening/200) carries the tap; the hero's names settle here in CSS from the tap (section scripts start too
   late for the hero); every other moment is the layer's (layer/particles/200): it adds k-ag-m + data-ag-m, then k-ag-in
   once with --pa200-d, its delay. Every before state sits under html.kjy-fx.ag-moments:not(.kjy-lite), so lite, Reduce
   motion and no script show the still page. Opacity, translate, scale and stroke-dashoffset only (letter-spacing for the
   names); a k-ag-fade target holds a frost and only fades. Nothing reverses. */
:root { --ag-mv: 1.1s; --ag-ln: 1.2s; --ag-st: 80ms; --ag-wd: .3s; }
@keyframes ag-name { from { opacity: 0; letter-spacing: .36em; padding-left: .36em; } 35% { opacity: 1; } to { opacity: 1; letter-spacing: .2em; padding-left: .2em; } }
@keyframes ag-rise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes ag-show { from { opacity: 0; } to { opacity: 1; } }
/* 5. the names settle as the card lands (the card's cross-fade is 1480-1640 ms); all at rest by about 3.4 s after the tap */
@media (prefers-reduced-motion: no-preference) {
  html.kjy-opening:not(.kjy-instant):not(.motion-reduce) .he200-name { animation: ag-name var(--ag-mv) var(--k-ease) 1400ms both; }
  html.kjy-opening:not(.kjy-instant):not(.motion-reduce) .he200-and { animation: ag-show var(--ag-mv) var(--k-ease) 1700ms both; }
  html.kjy-opening:not(.kjy-instant):not(.motion-reduce) .he200__inv { animation: ag-rise var(--ag-mv) var(--k-ease) 1950ms both; }
  html.kjy-opening:not(.kjy-instant):not(.motion-reduce) .he200__rule { animation: ag-show var(--ag-mv) var(--k-ease) 2030ms both; }
  html.kjy-opening:not(.kjy-instant):not(.motion-reduce) .he200__line { animation: ag-rise var(--ag-mv) var(--k-ease) 2110ms both; }
  html.kjy-opening:not(.kjy-instant):not(.motion-reduce) .he200__date { animation: ag-rise var(--ag-mv) var(--k-ease) 2190ms both; }
  html.kjy-opening:not(.kjy-instant):not(.motion-reduce) .he200__kick { animation: ag-rise var(--ag-mv) var(--k-ease) 2270ms both; }
}
/* the moments: one transition list on every managed piece; k-ag-now (in view or passed at start) never moves */
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m { transition: opacity var(--ag-mv) var(--k-ease) var(--pa200-d, 0ms), translate var(--ag-mv) var(--k-ease) var(--pa200-d, 0ms), scale var(--ag-mv) var(--k-ease) var(--pa200-d, 0ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:is(.k-ag-rule, .k-ag-head__k)::before, html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:is(.k-ag-rule, .k-ag-head__k)::after { transition: scale var(--ag-ln) var(--k-ease) var(--pa200-d, 0ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m.k-ag-rule > b { transition: opacity var(--ag-mv) var(--k-ease) var(--pa200-d, 0ms), scale var(--ag-mv) var(--k-ease) var(--pa200-d, 0ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m[data-ag-m="photo"] { transition: opacity calc(var(--ag-mv) * .45) ease-out var(--pa200-d, 0ms), scale 1.3s var(--k-ease) var(--pa200-d, 0ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m.dt200__ring .dt200__foil { stroke-dasharray: 1; transition: stroke-dashoffset var(--ag-ln) var(--k-ease) var(--pa200-d, 0ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m.dt200__ring .dt200__halo { transition: opacity var(--ag-mv) var(--k-ease) var(--pa200-d, 0ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:is(.dt200__d--ev, .dt200__d--main)::before { transform-origin: 0 50%; transition: scale .5s var(--k-ease) var(--pa200-d, 0ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m.ev200-gap > * { transform-origin: 50% 0; transition: opacity .6s ease-out var(--pa200-d, 0ms), scale .8s var(--k-ease) var(--pa200-d, 0ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m.ev200-gap > .ev200-gap__w { transition-delay: calc(var(--pa200-d, 0ms) + 300ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m.ev200-gap > .ev200-gap__line--b { transition-delay: calc(var(--pa200-d, 0ms) + 500ms); }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-now, html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-now::before, html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-now::after,
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-now *, html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-now *::before { transition: none !important; }
/* the before states (only until k-ag-in) */
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in):is([data-ag-m="words"], [data-ag-m="day"], .k-ag-head__t, .k-ag-script, .iv200-and, .cl200-and, .dt200__grid, .k-ag-head__k, .k-ag-sprig--pane, .iv200-mono, .ev200-ev__ico, [data-ag-m="photo"]) { opacity: 0; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in):not(.k-ag-fade)[data-ag-m="words"] { translate: 0 8px; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in):not(.k-ag-fade)[data-ag-m="day"] { translate: 0 14px; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in):not(.k-ag-fade):is(.k-ag-head__t, .k-ag-script, .iv200-and, .cl200-and) { translate: 0 6px; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in).k-ag-sprig--pane { scale: .96; transform-origin: 100% 0; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in).iv200-mono { scale: 1.06; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in).ev200-ev__ico { scale: 1.15; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in):not(.k-ag-fade)[data-ag-m="photo"] { scale: 1.04; }
/* 2. gold pressed in: the hairlines grow out from the diamond (or the words), the diamond presses in */
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in):is(.k-ag-rule, .k-ag-head__k)::before { scale: 0 1; transform-origin: 100% 50%; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in):is(.k-ag-rule, .k-ag-head__k)::after { scale: 0 1; transform-origin: 0 50%; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:is(.k-ag-rule, .k-ag-head__k)::before { transform-origin: 100% 50%; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:is(.k-ag-rule, .k-ag-head__k)::after { transform-origin: 0 50%; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in).k-ag-rule > b { opacity: 0; scale: 1.6; }
/* 6. the day's ring draws, the band fills from the first day to the last (each cell after the one before) */
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in).dt200__ring .dt200__foil { stroke-dashoffset: 1; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in).dt200__ring .dt200__halo { opacity: 0; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m.k-ag-done.dt200__ring .dt200__foil { stroke-dasharray: none; transition: none; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in):is(.dt200__d--ev, .dt200__d--main)::before { scale: 0 1; }
/* 7. the gap between two events: its line grows down, the words, then the line below */
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in).ev200-gap > :is(.ev200-gap__line, .ev200-gap__line--b) { scale: 1 0; }
html.kjy-fx.ag-moments:not(.kjy-lite) .k-ag-m:not(.k-ag-in).ev200-gap > .ev200-gap__w { opacity: 0; }

/* kit:begin (scripts/acrylic_glass_kit.py css; do not edit by hand) */
:root { --ag-veil-a: 0.368; }
@media (min-width: 700px) and (max-aspect-ratio: 999/1000) { :root { --ag-veil-a: 0.36; } }
@media (min-aspect-ratio: 1/1) { :root { --ag-veil-a: 0.358; } }
:root { --ag-star: url("/skins/acrylic_glass_luxe/assets/art/star-144.webp"); }
.k-ag-sprig--a { --ag-sp-pic: url("/skins/acrylic_glass_luxe/assets/art/foil-sprig-a.webp"); --ag-sp-w: 0.8344; --ag-sp-h: 0.675; --ag-sp-bx: 0.9962; --ag-sp-by: 0.0094; }
.k-ag-sprig--b { --ag-sp-pic: url("/skins/acrylic_glass_luxe/assets/art/foil-sprig-b.webp"); --ag-sp-w: 0.888; --ag-sp-h: 0.7011; --ag-sp-bx: 0.0033; --ag-sp-by: 0.9969; }
.k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r1.webp"); --ag-he-l: 35.256%; --ag-he-t: 15.513%; --ag-he-pw: 170.513%; --ag-he-ph: 131.026%; }
@container agslab (aspect-ratio > 0.4919) { .k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r2.webp"); --ag-he-l: 35.256%; --ag-he-t: 19.391%; --ag-he-pw: 170.513%; --ag-he-ph: 138.782%; } }
@container agslab (aspect-ratio > 0.6160) { .k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r3.webp"); --ag-he-l: 14.581%; --ag-he-t: 10.061%; --ag-he-pw: 129.162%; --ag-he-ph: 120.122%; } }
@container agslab (aspect-ratio > 0.7703) { .k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r4.webp"); --ag-he-l: 14.581%; --ag-he-t: 12.54%; --ag-he-pw: 129.162%; --ag-he-ph: 125.08%; } }
@container agslab (aspect-ratio > 0.9593) { .k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r5.webp"); --ag-he-l: 8.488%; --ag-he-t: 9.082%; --ag-he-pw: 116.975%; --ag-he-ph: 118.164%; } }
@container agslab (aspect-ratio > 1.1974) { .k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r6.webp"); --ag-he-l: 8.488%; --ag-he-t: 11.373%; --ag-he-pw: 116.975%; --ag-he-ph: 122.747%; } }
@container agslab (aspect-ratio > 1.5093) { .k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r7.webp"); --ag-he-l: 8.488%; --ag-he-t: 14.429%; --ag-he-pw: 116.975%; --ag-he-ph: 128.858%; } }
@container agslab (aspect-ratio > 1.7972) { .k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r8.webp"); --ag-he-l: 8.488%; --ag-he-t: 16.127%; --ag-he-pw: 116.975%; --ag-he-ph: 132.253%; } }
@container agslab (aspect-ratio > 2.0211) { .k-ag-slab__pic { --ag-he-pic: url("/skins/acrylic_glass_luxe/assets/art/he-r9.webp"); --ag-he-l: 8.488%; --ag-he-t: 18.248%; --ag-he-pw: 116.975%; --ag-he-ph: 136.497%; } }
/* kit:end */
