/* Sealed letter (core/opening/230), INV-25 The Folded Letter · Luxe. W3 (A3023; owner 2026-11-09: "add stronger shadow to the opening flap
   and also the seal so it looks proper 3d ish", then the unfold opener and every luxe detail on the W3 menu). The letter lies folded in
   three in the middle of a deep burgundy ground (sampled from the seal, felt-textured): the top panel (P1, a little shorter, its free edge
   hand-torn and gilded in warm red gold) folded down over the bottom panel (P3), the burgundy blossom seal on P1's edge, the names inside
   showing through the cotton, faint and back to front. The stack lies on the ground with a contact line, a crisp cast and a soft halo;
   P1's torn edge casts its own shadow on P3. The tap: the seal pops (6 %, its shadow softens) and drops with a turn (D-474), leaving a
   faint wax trace; P1 unfolds up from crease 1, then P3 down from crease 2 (laptop: left, then right). Each face darkens or brightens as
   it turns from the light (12 o'clock; laptop from the upper left), and each lifted panel casts a moving shadow on what lies under it.
   The open letter IS the hero: its creases land on the hero's (33.3 % and 66.7 %), the middle panel is the hero itself (no copy), and
   the ground and faces cross-fade to the hero's paper at 1.65-1.85 s. 3D only while it moves, flat hinges (D-195); no light flash.
   Replaces W2's top flap, which was INV-17's opener (FINGERPRINTS "What is taken"; owner's pick on the W3 menu). */
.op230 { --op230-H: max(100svh, 640px); --op230-p: calc(var(--op230-H) / 3); --op230-c1: var(--op230-p); --op230-c2: calc(var(--op230-p) * 2);
  --op230-edge: calc(var(--op230-c1) + var(--op230-p) * .8); --op230-seal: clamp(96px, 26.5vw, 132px);
  --op230-ground: var(--k-fl-claret, #6F0C1F); --op230-ivory: #F4EADF; --op230-ivory-soft: rgb(244 234 223 / .84); /* W4.1 (A3045): claret, was #4D1621; the hint .84 (was .74) keeps its contrast on it */ --op230-dk: 18 3 7;
  --op230-io: cubic-bezier(.62, .02, .36, 1);
  position: fixed; inset: 0; z-index: 100; overflow: hidden; touch-action: none; overscroll-behavior: contain;
  perspective: 2200px; perspective-origin: 50% 50%; color: var(--op230-ivory); background: none; }
/* the ground: two bands round the folded letter (the middle is the hero itself), one continuous felt-textured claret with a vignette (W4.1 A3045: brighter, vignette .34, calmer felt) */
.op230 .op230__g { position: absolute; left: 0; right: 0; z-index: 1; overflow: hidden;
  background: radial-gradient(120% 75% at 50% 50%, rgb(255 232 226 / .06), rgb(255 232 226 / 0) 44%, rgb(var(--op230-dk) / .34) 100%) 0 var(--op230-gy, 0) / 100vw 100svh no-repeat,
    var(--k-fl-ground-relief, none) 0 0 / 1024px 1024px repeat, var(--k-fl-tile, none) 0 0 / 300px auto repeat, var(--op230-ground);
  background-blend-mode: normal, overlay, multiply, normal; }
.op230 .op230__g--a { top: 0; height: var(--op230-c1); }
.op230 .op230__g--b { top: var(--op230-c2); bottom: 0; --op230-gy: calc(var(--op230-c2) * -1); }
/* the stack on the ground: above it a short halo (light from above), below it the contact line, a crisp cast and a soft halo */
.op230 .op230__g--a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; pointer-events: none;
  background: linear-gradient(0deg, rgb(var(--op230-dk) / .42), rgb(var(--op230-dk) / .14) 30%, rgb(var(--op230-dk) / 0)); }
.op230 .op230__cast { position: absolute; left: 0; right: 0; top: 0; height: 64px; pointer-events: none;
  background: linear-gradient(180deg, rgb(var(--op230-dk) / .82) 0, rgb(var(--op230-dk) / .6) 2px, rgb(var(--op230-dk) / .42) 6px, rgb(var(--op230-dk) / .2) 18px, rgb(var(--op230-dk) / .07) 38px, rgb(var(--op230-dk) / 0)); }
/* moving shadows, off at rest: a lifted panel's shadow on the ground it is about to cover (a, b) and on the hero's middle panel (m) */
.op230 .op230__ls { position: absolute; z-index: 1; pointer-events: none; opacity: 0; }
.op230 .op230__ls--a { inset: 0; background: linear-gradient(0deg, rgb(var(--op230-dk) / .62), rgb(var(--op230-dk) / .3) 55%, rgb(var(--op230-dk) / .12)); }
.op230 .op230__ls--b { inset: 0; background: linear-gradient(180deg, rgb(var(--op230-dk) / .66), rgb(var(--op230-dk) / .3) 55%, rgb(var(--op230-dk) / .12)); }
.op230 .op230__ls--m { left: 0; right: 0; top: var(--op230-c1); height: var(--op230-p); background: linear-gradient(0deg, rgb(52 30 14 / .34), rgb(52 30 14 / .1) 45%, rgb(52 30 14 / 0) 80%); }
/* ivory words on the ground */
.op230 .op230__inv { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: var(--op230-c1); display: grid; place-items: center; margin: 0;
  padding: max(20px, env(safe-area-inset-top)) var(--k-gutter, 22px) 0; text-align: center; color: var(--op230-ivory); font-size: clamp(.8rem, .6rem + .9vw, 1.05rem); letter-spacing: .22em; }
.op230 .op230__foot { position: absolute; z-index: 3; left: 0; right: 0; top: var(--op230-c2); bottom: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; padding: 18px var(--k-gutter, 22px) max(8px, env(safe-area-inset-bottom)); text-align: center; }
.op230 .op230__date { color: var(--op230-ivory); }
.op230 .op230__hint { color: var(--op230-ivory-soft); font-size: .72rem; letter-spacing: .24em; }
/* the two folding panels: each a front (in, the letter's inside, blank: the hero's words arrive on the real page) and a back (out) */
.op230 .op230__p { position: absolute; left: 0; right: 0; transform-style: preserve-3d; }
.op230 .op230__p--3 { z-index: 2; top: var(--op230-c2); height: var(--op230-p); transform-origin: 50% 0; transform: rotateX(180deg); }
.op230 .op230__p--1 { z-index: 4; top: calc(var(--op230-c1) - var(--op230-p) * .8); height: calc(var(--op230-p) * .8); transform-origin: 50% 100%; transform: rotateX(-180deg); }
.op230 .op230__f { position: absolute; inset: 0; overflow: hidden; color: var(--k-ink, #1B1917); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.op230 .op230__f--out { transform: rotateX(180deg); }
/* the inside faces line up with the page's paper, so the cross-fade to the hero is seamless */
.op230 .op230__p--3 .op230__f--in { background-position: 0 calc(var(--op230-c2) * -1); }
.op230 .op230__p--1 .op230__f--in { background-position: 0 calc((var(--op230-c1) - var(--op230-p) * .8) * -1); }
/* each face's light: a shade that follows its turn (animated on the tap); the outside also carries its fold's highlight at the hinge */
.op230 .op230__f::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; background: rgb(34 20 10); opacity: 0; }
.op230 .op230__p--1 .op230__f--out::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .75), rgb(255 255 255 / 0) 3px), linear-gradient(180deg, rgb(70 52 34 / .07), rgb(70 52 34 / .015) 55%, rgb(255 255 255 / .05)); }
.op230 .op230__p--3 .op230__f--out::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgb(70 52 34 / .2), rgb(70 52 34 / 0) 6px), linear-gradient(0deg, rgb(70 52 34 / .05), rgb(255 255 255 / .04)); }
/* P1's free edge: torn by hand (deckle) and gilded; the same torn line on both faces */
.op230 .op230__p--1 .op230__f--out { -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 12px) no-repeat, url("/skins/folded_letter_luxe/assets/art/deckle-b.svg") 0 100% / 600px 12px repeat-x;
  mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 12px) no-repeat, url("/skins/folded_letter_luxe/assets/art/deckle-b.svg") 0 100% / 600px 12px repeat-x; }
.op230 .op230__p--1 .op230__f--in { -webkit-mask: linear-gradient(#000 0 0) 0 12px / 100% calc(100% - 12px) no-repeat, url("/skins/folded_letter_luxe/assets/art/deckle-t.svg") 0 0 / 600px 12px repeat-x;
  mask: linear-gradient(#000 0 0) 0 12px / 100% calc(100% - 12px) no-repeat, url("/skins/folded_letter_luxe/assets/art/deckle-t.svg") 0 0 / 600px 12px repeat-x; }
.op230 .op230__gilt { position: absolute; left: 0; right: 0; height: 12px; z-index: 8; pointer-events: none; background: 0 0 / 600px 12px repeat-x; }
.op230 .op230__gilt--out { bottom: 0; background-image: url("/skins/folded_letter_luxe/assets/art/gilt-b.svg"); }
.op230 .op230__gilt--in { top: 0; background-image: url("/skins/folded_letter_luxe/assets/art/gilt-t.svg"); }
/* P3's straight free edge is gilded too (it shows as the panel swings down) */
.op230 .op230__p--3 .op230__f--in { box-shadow: inset 0 -2px 0 #B07A3E, inset 0 -3px 0 rgb(240 207 147 / .55); }
/* the torn edge's shadow on P3 under it: tight and dark at the edge, soft below (the owner's "lid shadow") */
.op230 .op230__lift { position: absolute; left: 0; right: 0; top: calc(var(--op230-p) * .8 - 10px); height: 40px; pointer-events: none;
  background: linear-gradient(180deg, rgb(48 28 12 / .5) 0, rgb(48 28 12 / .36) 9px, rgb(48 28 12 / .2) 13px, rgb(48 28 12 / .07) 24px, rgb(48 28 12 / 0)); }
/* the wax trace where the seal sat (shown on the tap): W4 (A3038), a code-drawn broken ring with crumbs (docs/plans/evidence_inv25_w4/wax_trace.py).
   Its canvas is 340 px round the seal's 300 px footprint, so the width is seal x .94 x 340/300 and the ring sits where W3's did */
.op230 .op230__wax { position: absolute; left: 50%; top: calc(var(--op230-p) * .8); width: calc(var(--op230-seal) * 1.065); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; opacity: 0;
  background: url("/skins/folded_letter_luxe/assets/art/wax-trace.webp") center / contain no-repeat; }
/* the folded letter's face: the initials, and the names inside showing through the cotton, faint and back to front */
/* A3061 (owner 2026-11-09, "yes" to lifting the initials on short phones): the seal keeps its width-based size while the panel shrinks with
   the screen's height, so on short phones (390x664, an iPhone Pro Max in Safari at ~430x739) the J's hook came within ~5 px of the seal.
   --op230-up lifts the whole monogram (initials and "and" together) by just enough to keep the 390x844 gap (line box to seal, 10.5 px);
   at 390x844 and on tablets it is 0, so those covers are unchanged. Desktop landscape resets it below */
.op230 .op230__mono { --op230-mf: min(calc(var(--op230-p) * .8 * .62), calc(46vw * var(--k-fl-z, 1)), 230px);
  --op230-up: max(0px, calc(10.5px - (var(--op230-p) * .4 + 2vw - var(--op230-mf) * .43 - var(--op230-seal) * .48)));
  position: absolute; inset: calc(var(--op230-up) * -1) 0 var(--op230-up) 0; display: flex; justify-content: center; align-items: center; margin: 0; padding-bottom: 4%;
  font-size: var(--op230-mf); line-height: .86; }
.op230 .op230__m { display: block; margin-inline: .05em; padding-inline: .28em; }
.op230 .op230__and { position: absolute; left: 50%; top: 46%; translate: -50% -50%; rotate: -6deg; font-size: .42em; }
.op230 .op230__thru { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; transform: scaleY(-1);
  font: 300 calc(min(calc(84vw / (var(--op230-len) * .62)), 12.6svh) * var(--k-fl-z, 1))/.9 var(--k-font-display, Georgia, serif); text-transform: uppercase; color: var(--k-ink, #1B1917); opacity: .045; filter: blur(.6px); }
.op230 .op230__thru em { font: 400 .56em/1 var(--k-font-script, cursive); text-transform: none; margin-block: -.32em; }
/* the tap targets and the seal (its shadow stronger: a contact line, a crisp cast and a soft halo, in the skin's .k-fl-seal) */
.op230 .op230__all { position: absolute; inset: 0; z-index: 5; }
.op230 .op230__seal { position: absolute; z-index: 6; left: 50%; top: var(--op230-edge); width: var(--op230-seal); translate: -50% -50%; border-radius: 50%; }
.op230 .op230__seal .k-fl-seal { width: 100%; }
/* W5 (A3049, release SOP B42/B64/B71): the seal is the opener's k-btn, reset here; it keeps its size under any skin; no scale over 1: on the tap the seal
   is drawn 6 % bigger at .943 and popped to 1 (at rest it stays exactly as it was, so the closed cover is unchanged to the pixel) */
.op230 .op230__seal.k-btn { display: block; aspect-ratio: 1; min-height: 0; padding: 0; gap: 0; border: 0; border-radius: 50%; background: none; color: inherit; font: inherit; letter-spacing: normal; text-transform: none; transition: none; }
.op230 .op230__seal .k-fl-seal { display: block; aspect-ratio: 1; }
.op230 .op230__seal:focus-visible { outline: 2px solid var(--op230-ivory, #F4EADF); outline-offset: 4px; }

/* Laptop: the letter lies folded sideways (P1 the left panel, P3 the right), the ground left and right; light from the upper left */
@media (min-width: 980px) and (orientation: landscape) {
  .op230 { --op230-q: calc(100vw / 3); --op230-seal: clamp(120px, 10vw, 168px); }
  .op230 .op230__g { top: 0; bottom: 0; height: auto; }
  .op230 .op230__g--a { left: 0; right: auto; width: var(--op230-q); }
  .op230 .op230__g--b { left: calc(var(--op230-q) * 2); right: 0; top: 0; --op230-gy: 0; background-position: calc(var(--op230-q) * -2) 0, 0 0, 0 0, 0 0; }
  .op230 .op230__g--a::after { left: auto; top: 0; right: 0; bottom: 0; width: 22px; height: auto; background: linear-gradient(270deg, rgb(var(--op230-dk) / .4), rgb(var(--op230-dk) / .12) 30%, rgb(var(--op230-dk) / 0)); }
  .op230 .op230__cast { top: 0; bottom: 0; right: auto; width: 76px; height: auto;
    background: linear-gradient(90deg, rgb(var(--op230-dk) / .82) 0, rgb(var(--op230-dk) / .6) 2px, rgb(var(--op230-dk) / .44) 7px, rgb(var(--op230-dk) / .22) 22px, rgb(var(--op230-dk) / .07) 46px, rgb(var(--op230-dk) / 0)); }
  .op230 .op230__ls--a { background: linear-gradient(270deg, rgb(var(--op230-dk) / .62), rgb(var(--op230-dk) / .3) 55%, rgb(var(--op230-dk) / .12)); }
  .op230 .op230__ls--b { background: linear-gradient(90deg, rgb(var(--op230-dk) / .66), rgb(var(--op230-dk) / .3) 55%, rgb(var(--op230-dk) / .12)); }
  .op230 .op230__ls--m { top: 0; bottom: 0; height: auto; left: var(--op230-q); right: auto; width: var(--op230-q); background: linear-gradient(270deg, rgb(52 30 14 / .34), rgb(52 30 14 / .1) 45%, rgb(52 30 14 / 0) 80%); }
  .op230 .op230__inv { top: 0; bottom: 0; height: auto; right: auto; width: var(--op230-q); padding: 0 2.4vw; }
  .op230 .op230__inv br { display: block; }
  /* W4 (A3038): bigger words on the cloth bands, so no band reads bare (in px: a rem here is 15 px) */
  .op230 .op230__inv { font-size: clamp(16px, 9px + .75vw, 23px); letter-spacing: .28em; line-height: 1.7; }
  .op230 .op230__date { font-size: clamp(17px, 10px + .8vw, 25px); letter-spacing: .14em; }
  .op230 .op230__hint { font-size: clamp(12px, 8px + .35vw, 15px); }
  .op230 .op230__foot { gap: 20px; }
  .op230 .op230__foot { top: 0; bottom: 0; left: calc(var(--op230-q) * 2); right: 0; padding: 0 2.4vw; }
  .op230 .op230__p { top: 0; bottom: 0; height: auto; }
  .op230 .op230__p--3 { left: calc(var(--op230-q) * 2); right: auto; width: var(--op230-q); transform-origin: 0 50%; transform: rotateY(-180deg); }
  .op230 .op230__p--1 { left: calc(var(--op230-q) * .2); right: auto; width: calc(var(--op230-q) * .8); transform-origin: 100% 50%; transform: rotateY(180deg); }
  .op230 .op230__f--out { transform: rotateY(180deg); }
  .op230 .op230__p--3 .op230__f--in { background-position: calc(var(--op230-q) * -2) 0; box-shadow: inset -2px 0 0 #B07A3E, inset -3px 0 0 rgb(240 207 147 / .55); }
  .op230 .op230__p--1 .op230__f--in { background-position: calc(var(--op230-q) * -.2) 0; }
  .op230 .op230__p--1 .op230__f--out::before { background: linear-gradient(90deg, rgb(255 255 255 / .75), rgb(255 255 255 / 0) 3px), linear-gradient(90deg, rgb(70 52 34 / .07), rgb(70 52 34 / .015) 55%, rgb(255 255 255 / .05)); }
  .op230 .op230__p--3 .op230__f--out::before { background: linear-gradient(270deg, rgb(70 52 34 / .2), rgb(70 52 34 / 0) 6px), linear-gradient(270deg, rgb(70 52 34 / .05), rgb(255 255 255 / .04)); }
  .op230 .op230__p--1 .op230__f--out { -webkit-mask: linear-gradient(#000 0 0) 0 0 / calc(100% - 12px) 100% no-repeat, url("/skins/folded_letter_luxe/assets/art/deckle-r.svg") 100% 0 / 12px 600px repeat-y;
    mask: linear-gradient(#000 0 0) 0 0 / calc(100% - 12px) 100% no-repeat, url("/skins/folded_letter_luxe/assets/art/deckle-r.svg") 100% 0 / 12px 600px repeat-y; }
  .op230 .op230__p--1 .op230__f--in { -webkit-mask: linear-gradient(#000 0 0) 12px 0 / calc(100% - 12px) 100% no-repeat, url("/skins/folded_letter_luxe/assets/art/deckle-l.svg") 0 0 / 12px 600px repeat-y;
    mask: linear-gradient(#000 0 0) 12px 0 / calc(100% - 12px) 100% no-repeat, url("/skins/folded_letter_luxe/assets/art/deckle-l.svg") 0 0 / 12px 600px repeat-y; }
  .op230 .op230__gilt { top: 0; bottom: 0; left: auto; right: auto; width: 12px; height: auto; background-size: 12px 600px; background-repeat: repeat-y; }
  .op230 .op230__gilt--out { right: 0; background-image: url("/skins/folded_letter_luxe/assets/art/gilt-r.svg"); }
  .op230 .op230__gilt--in { left: 0; background-image: url("/skins/folded_letter_luxe/assets/art/gilt-l.svg"); }
  .op230 .op230__lift { top: 0; bottom: 0; right: auto; height: auto; left: calc(var(--op230-q) * .8 - 10px); width: 46px;
    background: linear-gradient(90deg, rgb(48 28 12 / .5) 0, rgb(48 28 12 / .36) 9px, rgb(48 28 12 / .2) 14px, rgb(48 28 12 / .07) 28px, rgb(48 28 12 / 0)); }
  .op230 .op230__p--1 .op230__wax { left: 100%; top: 50%; }
  .op230 .op230__p--3 .op230__wax { left: calc(var(--op230-q) * .8); top: 50%; }
  .op230 .op230__mono { inset: 0; flex-direction: column; padding: 0 6% 0 0; font-size: min(calc(var(--op230-q) * .8 * .5), 30svh, 230px); }
  .op230 .op230__and { top: 50%; }
  .op230 .op230__thru { transform: scaleX(-1); font-size: calc(min(calc(28vw / (var(--op230-len) * .56)), 18svh) * var(--k-fl-z, 1)); }
  .op230 .op230__seal { left: calc(var(--op230-q) * 1.8); top: 50%; }
}

/* The tap (W3). Seal: pop 0-220 ms, drop 200-1150 ms, its wax trace shows as it lifts. Words fade 0-350 ms. P1 unfolds 300-1150 ms,
   P3 800-1600 ms; the stack's shadows lift as each panel leaves; each lifted panel's shadow grows on the ground it is about to cover.
   The faces and the ground cross-fade to the hero's paper 1650-1850 ms; the gate ends at 1850 ms (section.json opening.ms). */
.op230.is-opening { pointer-events: none; }
.op230.is-opening :is(.op230__inv, .op230__foot) { animation: op230-gone 350ms ease forwards; }
.op230.is-opening .op230__seal .k-fl-seal { width: 106%; margin: -3%; scale: .9434; animation: op230-pop 220ms cubic-bezier(.2, .8, .3, 1) both; }
.op230.is-opening .op230__seal { animation: op230-fall 950ms cubic-bezier(.333, 0, .667, .333) 200ms forwards; }
.op230.is-opening .op230__wax { animation: op230-trace 260ms ease 60ms forwards; }
.op230.is-opening .op230__p--1 { animation: op230-p1 850ms var(--op230-io) 300ms both; }
.op230.is-opening .op230__p--3 { animation: op230-p3 800ms var(--op230-io) 800ms both; }
/* each face shows only on its side of edge-on (the turn's ease is symmetric, so edge-on is half its time). Not left to backface-visibility:
   WebKit drew the outside from behind, mirrored (W3 r3) */
.op230 .op230__f--in { visibility: hidden; }
.op230.is-opening .op230__p--1 .op230__f--out { animation: op230-side-a 850ms linear 300ms both, op230-gone 200ms ease 1650ms forwards; }
.op230.is-opening .op230__p--1 .op230__f--in { animation: op230-side-b 850ms linear 300ms both, op230-gone 200ms ease 1650ms forwards; }
.op230.is-opening .op230__p--3 .op230__f--out { animation: op230-side-a 800ms linear 800ms both, op230-gone 200ms ease 1650ms forwards; }
.op230.is-opening .op230__p--3 .op230__f--in { animation: op230-side-b 800ms linear 800ms both, op230-gone 200ms ease 1650ms forwards; }
.op230.is-opening .op230__p--1 .op230__f--out::after { animation: op230-dim-out 850ms linear 300ms both; }
.op230.is-opening .op230__p--1 .op230__f--in::after { animation: op230-dim-in-1 850ms linear 300ms both; }
.op230.is-opening .op230__p--3 .op230__f--out::after { animation: op230-dim-out-3 800ms linear 800ms both; }
.op230.is-opening .op230__p--3 .op230__f--in::after { animation: op230-dim-in-3 800ms linear 800ms both; }
.op230.is-opening .op230__lift { animation: op230-gone 300ms ease 300ms forwards; }
.op230.is-opening .op230__g--a::after { animation: op230-gone 300ms ease 300ms forwards; }
.op230.is-opening .op230__cast { animation: op230-gone 320ms ease 800ms forwards; }
.op230.is-opening .op230__ls--a { animation: op230-land 850ms linear 300ms both; }
.op230.is-opening .op230__ls--b { animation: op230-land 800ms linear 800ms both; }
.op230.is-opening .op230__ls--m { animation: op230-hinge 800ms linear 800ms both; }
/* each ground band goes as soon as its panel covers it (else it would tint the paper pink through the faces' cross-fade, W3 r2) */
.op230.is-opening .op230__g--a { animation: op230-gone 350ms ease 1250ms forwards; }
.op230.is-opening .op230__g--b { animation: op230-gone 40ms linear 1600ms forwards; }

@media (min-width: 980px) and (orientation: landscape) {
  .op230.is-opening .op230__seal { animation-name: op230-fall-x; }
  .op230.is-opening .op230__p--1 { animation-name: op230-p1x; }
  .op230.is-opening .op230__p--3 { animation-name: op230-p3x; }
}
@keyframes op230-gone { to { opacity: 0; } }
@keyframes op230-side-a { 0%, 49.9% { visibility: visible; } 50%, 100% { visibility: hidden; } }
@keyframes op230-side-b { 0%, 49.9% { visibility: hidden; } 50%, 100% { visibility: visible; } }
@keyframes op230-pop { to { scale: 1; filter: drop-shadow(0 1px 1.6px rgb(30 8 8 / .3)) drop-shadow(0 3px 5px rgb(30 8 8 / .2)) drop-shadow(0 10px 22px rgb(30 8 8 / .15)); } }
@keyframes op230-fall { to { transform: translate(16px, calc(var(--op230-H) - var(--op230-edge) + var(--op230-seal))) rotate(26deg); } }
@keyframes op230-fall-x { to { transform: translate(12px, calc(50svh + var(--op230-seal))) rotate(26deg); } }
@keyframes op230-trace { to { opacity: .9; } }
@keyframes op230-p1 { from { transform: rotateX(-180deg); } to { transform: rotateX(0deg); } }
@keyframes op230-p3 { from { transform: rotateX(180deg); } to { transform: rotateX(0deg); } }
@keyframes op230-p1x { from { transform: rotateY(180deg); } to { transform: rotateY(0deg); } }
@keyframes op230-p3x { from { transform: rotateY(-180deg); } to { transform: rotateY(0deg); } }
/* the faces' light, keyed to the turn (the rotation's ease is symmetric, so 50 % of the time is edge-on) */
@keyframes op230-dim-out { 0% { opacity: 0; animation-timing-function: cubic-bezier(.6, 0, 1, 1); } 50%, 100% { opacity: .24; } }
@keyframes op230-dim-in-1 { 0%, 50% { opacity: .12; animation-timing-function: cubic-bezier(0, 0, .4, 1); } 100% { opacity: 0; } }
@keyframes op230-dim-out-3 { 0% { opacity: 0; } 30% { opacity: .02; animation-timing-function: cubic-bezier(.6, 0, 1, 1); } 50%, 100% { opacity: .22; } }
@keyframes op230-dim-in-3 { 0%, 50% { opacity: .22; animation-timing-function: cubic-bezier(0, 0, .4, 1); } 100% { opacity: 0; } }
/* a lifted panel's shadow on the ground it will cover: nothing while it stands on the far side, darkest just before it lands */
@keyframes op230-land { 0%, 48% { opacity: 0; animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 90% { opacity: .95; } 100% { opacity: 0; } }
/* P3's shadow on the hero's middle panel while it stands near its hinge */
@keyframes op230-hinge { 0% { opacity: 0; } 28% { opacity: 1; } 58%, 100% { opacity: 0; } }
/* Reduce Motion: the letter simply fades onto the hero */
html.motion-reduce .op230.is-opening { animation: op230-gone .4s ease forwards; }
html.motion-reduce .op230.is-opening :is(.op230__inv, .op230__foot, .op230__seal, .op230__seal .k-fl-seal, .op230__wax, .op230__p, .op230__f, .op230__p .op230__f, .op230__f::after, .op230__lift, .op230__g, .op230__g--a::after, .op230__cast, .op230__ls) { animation: none; }
