/* AMSP 003 · Review 009 · Section 05 Listening Postcard — "Airmail Nocturne" candidate.
   PRIVATE REVIEW CANDIDATE. Not publication-approved.
   Self-contained: every rule is scoped to .lp009 / .lp9 so it can sit beside review008.css
   (whose .lp / .lp008 rules no longer match anything in this section) without touching it.
   Colours are the edition's own: --lemon #f1df21, --linen #ede9dc (review002.css),
   FADS violet #33255f / #1c1438 (review008.css), postcard paper/ink from the original study. */

.e003-review main>section.lp009{
  position:relative; overflow:hidden; overflow:clip;
  background:
    radial-gradient(ellipse 46% 62% at 68% 48%, rgba(51,37,95,.62) 0%, rgba(51,37,95,0) 72%),
    radial-gradient(ellipse 30% 40% at 12% 90%, rgba(51,37,95,.28) 0%, rgba(51,37,95,0) 70%),
    linear-gradient(180deg,#120d26 0%,#0f0b1f 100%);
}

.lp9{
  --lemon:#f1df21; --lemon-soft:#fff6b0; --linen:#ede9dc; --linen-dim:rgba(237,233,220,.62);
  --paper:#f4ecd5; --paper-edge:#e4d9bd; --ink:#1a1612; --ink-soft:#4a3f33;
  --violet:#33255f; --violet-deep:#1c1438; --night:#0f0b1f;
  --lp9-tilt:-3deg;
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,6fr);
  grid-template-areas:"intro scene" "foot scene";
  grid-template-rows:auto 1fr;
  column-gap:clamp(24px,4vw,56px);
}

/* ── editorial column ── */
.lp9__intro{grid-area:intro; position:relative; z-index:4; padding-top:4px}
.e003-review .lp9 .section-lead{margin-bottom:0; max-width:24em}
.lp9__foot{grid-area:foot; align-self:end; position:relative; z-index:4; padding-top:40px}

/* ── scene: card, line, light ── */
.lp9__scene{grid-area:scene; position:relative; z-index:2; padding:72px 0 0 clamp(0px,6%,64px)}
.lp9__slot{position:relative; width:min(100%,400px); aspect-ratio:5/7; container-type:inline-size; z-index:2}
.lp9__tilt{position:absolute; inset:0; transform:rotate(var(--lp9-tilt)); transform-origin:50% 50%}
.lp9__stage{position:absolute; inset:0; perspective:2200px}
.lp9__card{position:absolute; inset:0; font-size:16px}
@supports (width:1cqw){ .lp9__card{font-size:clamp(13px,4.05cqw,17px)} }

/* light field (Mellow Swarm and the other four presets) */
/* positioned by the script around the card's measured box (wider than the card, faded at its edges) */
.lp9__field{position:absolute; left:0; top:0; width:0; height:0; z-index:0; pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 72%,transparent 100%); mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 72%,transparent 100%)}
.lp9__field canvas{position:absolute; inset:0; width:100%; height:100%; display:block}
.lp9__glow{position:absolute; inset:0; display:none; pointer-events:none; background:
  radial-gradient(circle at 10% 30%,rgba(236,213,143,.34) 0,rgba(236,213,143,0) 9%),
  radial-gradient(circle at 86% 22%,rgba(179,155,211,.36) 0,rgba(179,155,211,0) 10%),
  radial-gradient(circle at 92% 62%,rgba(243,230,202,.28) 0,rgba(243,230,202,0) 9%),
  radial-gradient(circle at 6% 70%,rgba(198,177,224,.32) 0,rgba(198,177,224,0) 10%),
  radial-gradient(circle at 34% 30%,rgba(214,192,124,.36) 0,rgba(214,192,124,0) 9%),
  radial-gradient(circle at 60% 20%,rgba(201,179,221,.34) 0,rgba(201,179,221,0) 10%)}

/* the route: one line, drawn by the script from the card's real position */
.lp9__route{position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; z-index:1; pointer-events:none}
.lp9__line{fill:none; stroke:var(--lemon); stroke-width:1.25; stroke-linecap:round; stroke-linejoin:round}
.lp9__pulse{fill:none; stroke:var(--lemon-soft); stroke-width:1.7; stroke-linecap:round; opacity:0}
.lp9__end{fill:none; stroke:var(--lemon); stroke-width:1.25}
.lp9__plane{fill:var(--night); stroke:var(--linen); stroke-width:1.15; stroke-linejoin:round; stroke-linecap:round; opacity:0}

/* migrating fragments: three small outline postcards at the margins */
.lp9__migrants{position:absolute; inset:0; z-index:1; pointer-events:none}
.lp9__frag{position:absolute; display:block; overflow:visible; fill:none; stroke:rgba(237,233,220,.5); stroke-width:1; stroke-linecap:round; stroke-linejoin:round}
.lp9__frag .st{stroke:rgba(241,223,33,.8)}
.lp9__frag--a{width:50px; right:-9%; top:3%; transform:rotate(-8deg)}
.lp9__frag--b{width:40px; right:-12%; top:56%; transform:rotate(7deg)}
.lp9__frag--c{width:34px; left:-13%; top:80%; transform:rotate(-4deg)}

/* ── the postcard ── */
.lp9__cover,.lp9__interior{position:absolute; inset:0; border-radius:.2em}
.lp9__cover{
  z-index:2; display:flex; flex-direction:column; padding:1.35em 1.3em 1.25em; cursor:pointer;
  background:var(--paper); color:var(--ink);
  box-shadow:0 1px 0 rgba(255,255,255,.45) inset, 0 0 0 1px rgba(26,22,18,.05) inset;
  transform-origin:left center; transform:rotateY(0deg); transition:transform .85s cubic-bezier(.4,.05,.2,1);
  backface-visibility:hidden; -webkit-backface-visibility:hidden; outline-offset:6px}
/* the glassine window: a hole in the cover through which the light field (the music's mood) is seen
   before opening. Hole and frame share one geometry: left/right 1.3em, top 54%, height 24%. */
.lp9.is-live .lp9__cover{
  -webkit-mask:linear-gradient(#000,#000) 0 0/100% 100% no-repeat, linear-gradient(#000,#000) 50% 71.05%/calc(100% - 2.6em) 24% no-repeat;
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000,#000) 0 0/100% 100% no-repeat exclude, linear-gradient(#000,#000) 50% 71.05%/calc(100% - 2.6em) 24% no-repeat}
/* the frame sits 1px outside the hole so it stays on the paper */
.lp9__peek{position:absolute; left:calc(1.3em - 1px); right:calc(1.3em - 1px); top:calc(54% - 1px); height:calc(24% + 2px); border:1px solid rgba(26,22,18,.42); pointer-events:none}
.lp9__peek-label{position:absolute; right:0; top:calc(100% + .55em); font:500 .54em/1 "IBM Plex Mono",monospace; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft)}
.lp9.no-js .lp9__peek,.lp9.is-reduced .lp9__peek{background:radial-gradient(circle at 22% 45%,rgba(236,213,143,.55) 0,transparent 16%),radial-gradient(circle at 64% 60%,rgba(179,155,211,.55) 0,transparent 18%),radial-gradient(circle at 86% 30%,rgba(243,230,202,.4) 0,transparent 12%),#1c1438}
.lp9.is-reduced .lp9__peek{background-color:transparent}
.lp9__glass{position:absolute; left:1.3em; right:1.3em; top:54%; height:24%; z-index:1; pointer-events:none; display:none;
  background:linear-gradient(115deg,rgba(244,236,213,.1) 0%,rgba(244,236,213,.03) 38%,rgba(244,236,213,.08) 62%,rgba(244,236,213,.02) 100%)}
.lp9.is-live .lp9__card:not(.is-open) .lp9__glass{display:block}
.lp9__shadow{position:absolute; inset:0; border-radius:.2em; box-shadow:0 2.4em 4.4em -1.6em rgba(0,0,0,.72); pointer-events:none; z-index:0}
.lp9__cover::after{content:""; position:absolute; left:0; top:0; bottom:0; width:.85em; border-radius:.2em 0 0 .2em; pointer-events:none;
  background:linear-gradient(90deg,rgba(26,22,18,.12),rgba(26,22,18,0))} /* the hinge */
.lp9__card.is-open .lp9__cover{transform:rotateY(-158deg); pointer-events:none}
.lp9__cover:focus-visible{outline:3px solid #fbf14f}
@media (hover:hover) and (pointer:fine){
  .lp9.is-live:not(.is-reduced) .lp9__card:not(.is-open) .lp9__cover:hover{transform:rotateY(-9deg)}
}
.lp9__cover-top{display:flex; justify-content:space-between; align-items:flex-start; gap:1em; position:relative}
.lp9__mark{margin:0; font:500 .6em/1.55 "IBM Plex Mono",monospace; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft)}
.lp9__stamp{position:relative; flex:0 0 auto; width:3.3em; height:4em; display:block;
  -webkit-mask:radial-gradient(circle at 50% 50%,#000 .13em,transparent .14em) -.16em -.16em/.5em .5em, linear-gradient(#000,#000) .17em .17em/calc(100% - .34em) calc(100% - .34em) no-repeat;
  mask:radial-gradient(circle at 50% 50%,#000 .13em,transparent .14em) -.16em -.16em/.5em .5em, linear-gradient(#000,#000) .17em .17em/calc(100% - .34em) calc(100% - .34em) no-repeat;
  background:#fbf6e6}
.lp9__stamp svg{position:absolute; inset:.3em; width:calc(100% - .6em); height:calc(100% - .6em)}
.lp9__postmark{position:absolute; right:1.9em; top:2.45em; width:7.6em; height:auto; overflow:visible; fill:none; stroke:rgba(26,22,18,.34); stroke-width:.9; transform:rotate(-9deg); pointer-events:none}
.lp9__postmark text{fill:rgba(26,22,18,.45); stroke:none; font:500 6.3px "IBM Plex Mono",monospace; letter-spacing:.9px}

.lp9__cover-body{margin-top:1.9em; position:relative}
.lp9__kicker{margin:0; font:italic 400 .92em/1.3 "Libre Baskerville",Georgia,serif; color:#6f5a22}
.lp9__title{margin:.3em 0 0; font:400 2.5em/1.05 "Libre Baskerville",Georgia,serif; letter-spacing:-.035em; color:var(--ink)}
.lp9__title i{font-style:italic; color:var(--ink)}
.lp9__by{margin:.75em 0 0; font:500 .74em/1 "IBM Plex Mono",monospace; letter-spacing:.2em; color:var(--ink-soft)}
.lp9__foot-row{margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:.8em}
.lp9__open{display:inline-flex; align-items:center; gap:.55em; min-height:44px; padding:.55em 1.05em; border-radius:999px;
  background:var(--ink); color:var(--lemon); font:500 .66em/1.2 "IBM Plex Mono",monospace; letter-spacing:.15em; text-transform:uppercase;
  transition:background .25s ease, color .25s ease}
.lp9__open svg{width:1.35em; height:1.35em; flex:0 0 auto}
.lp9__cover:hover .lp9__open,.lp9__cover:focus-visible .lp9__open{background:var(--lemon); color:var(--ink)}
.lp9__folio{font:italic 400 .74em/1 "Libre Baskerville",Georgia,serif; color:var(--ink-soft)}

/* inside: a clear window onto the light, then the record */
.lp9__interior{z-index:1; display:flex; flex-direction:column; overflow:hidden; color:var(--linen)}
.lp9__window{position:relative; flex:1 1 auto; min-height:4.5em; border:1px solid rgba(237,233,220,.26); border-bottom:0; border-radius:.2em .2em 0 0;
  background:linear-gradient(180deg,rgba(15,11,31,.08),rgba(15,11,31,.3))}
.lp9__caption{position:absolute; left:.95em; bottom:.75em; font:500 .58em/1 "IBM Plex Mono",monospace; letter-spacing:.16em; text-transform:uppercase; color:rgba(237,233,220,.7)}
.lp9__panel{flex:0 0 auto; padding:1em 1.05em 1.05em; background:linear-gradient(180deg,#151030 0%,#0f0b1f 100%); border:1px solid rgba(237,233,220,.12); border-top:1px solid rgba(241,223,33,.45);
  border-radius:0 0 .2em .2em}
.lp9__enclosed{margin:0; font:500 .6em/1 "IBM Plex Mono",monospace; letter-spacing:.18em; text-transform:uppercase; color:var(--lemon)}
.lp9__panel h3{margin:.5em 0 0; font:400 1.42em/1.12 "Libre Baskerville",Georgia,serif; letter-spacing:-.02em; color:#f6f1e4}
.lp9__panel-meta{margin:.4em 0 0; font:400 .7em/1.4 "IBM Plex Mono",monospace; letter-spacing:.06em; color:#b9b0c9}
.lp9__links{display:flex; flex-wrap:wrap; gap:.4em; margin-top:.8em}
.e003-review .lp9__links a{display:inline-flex; align-items:center; min-height:44px; padding:.35em .85em; border-radius:999px; text-decoration:none;
  font:500 max(.62em,11px)/1.2 "IBM Plex Mono",monospace; letter-spacing:.1em; text-transform:uppercase;
  color:var(--linen); border:1px solid rgba(237,233,220,.3); background:transparent; transition:background .2s,border-color .2s,color .2s}
.e003-review .lp9__links a.lp9__primary{background:var(--lemon); border-color:var(--lemon); color:var(--ink)}
.e003-review .lp9__links a:hover,.e003-review .lp9__links a:focus-visible{border-color:var(--lemon); background:rgba(241,223,33,.16); color:#fff}
.e003-review .lp9__links a.lp9__primary:hover,.e003-review .lp9__links a.lp9__primary:focus-visible{background:#fbf14f; color:var(--ink)}
.lp9__also{margin:.85em 0 0; padding-top:.7em; border-top:1px solid rgba(237,233,220,.1); font:400 max(.64em,11px)/1.55 "Libre Baskerville",Georgia,serif; color:#b3abbf}
.e003-review .lp9__also a{color:#d9d2e4; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:2px}
.e003-review .lp9__also a:hover{color:var(--lemon)}
.lp9__close{position:absolute; top:.6em; right:.6em; z-index:3; width:44px; height:44px; display:grid; place-items:center; border-radius:50%; cursor:pointer;
  border:1px solid rgba(237,233,220,.32); background:rgba(15,11,31,.72); color:var(--linen); font:400 20px/1 Georgia,serif;
  opacity:0; pointer-events:none; transition:opacity .3s ease .25s}
.lp9__card.is-open .lp9__close{opacity:1; pointer-events:auto}
.lp9__close:hover{border-color:var(--lemon); color:var(--lemon)}
.lp9__close:focus-visible{outline:3px solid #fbf14f; outline-offset:3px}
.lp9__card:not(.is-open) .lp9__interior,.lp9__card:not(.is-open) .lp9__interior a,.lp9__card:not(.is-open) .lp9__close{visibility:hidden; pointer-events:none}

/* ── Listen: the line's destination ── */
.lp9__listen{position:relative; z-index:3; margin:30px 0 0; width:min(100%,400px)}
.e003-review a.lp9__listen-link{display:inline-flex; flex-direction:column; gap:6px; text-decoration:none; color:var(--linen); padding:4px 0; min-height:44px}
.lp9__listen-word{font:italic 400 clamp(30px,2.7vw,38px)/1.05 "Libre Baskerville",Georgia,serif; color:var(--lemon); letter-spacing:-.02em; align-self:flex-start}
.lp9__listen-meta{font:500 11px/1.5 "IBM Plex Mono",monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--linen-dim)}
.e003-review a.lp9__listen-link:hover .lp9__listen-meta,.e003-review a.lp9__listen-link:focus-visible .lp9__listen-meta{color:var(--linen)}
.e003-review a.lp9__listen-link:hover .lp9__listen-word{text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:6px}
.e003-review a.lp9__listen-link:focus-visible{outline:3px solid #fbf14f; outline-offset:6px}

/* ── motion controls + honest note ── */
.lp9__controls{display:flex; flex-wrap:wrap; gap:8px 10px; align-items:center; font:500 11px/1.4 "IBM Plex Mono",monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--linen-dim)}
.lp9__controls label{margin-right:2px}
.lp9__controls select,.lp9__controls button{min-height:44px; padding:8px 14px; border-radius:999px; border:1px solid rgba(237,233,220,.28); background:transparent; color:var(--linen); cursor:pointer;
  font:500 11px/1.3 "IBM Plex Mono",monospace; letter-spacing:.08em; text-transform:uppercase}
.lp9__controls select{padding-right:30px; appearance:none; -webkit-appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--linen) 50%),linear-gradient(135deg,var(--linen) 50%,transparent 50%);
  background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%; background-size:5px 5px; background-repeat:no-repeat}
.lp9__controls select option{background:#151030; color:var(--linen)}
.lp9__controls select:focus-visible,.lp9__controls button:focus-visible{outline:3px solid #fbf14f; outline-offset:3px}
.lp9__controls button[aria-pressed="true"]{background:rgba(241,223,33,.2); border-color:var(--lemon)}
.lp9__controls :disabled{opacity:.55; cursor:not-allowed}
.lp9__motion-note{flex-basis:100%; margin:0; font:400 11px/1.5 "IBM Plex Mono",monospace; letter-spacing:.06em; text-transform:none; color:var(--linen-dim)}
.lp9__note{margin:14px 0 0; max-width:34em; font:400 12.5px/1.6 Montserrat,Arial,sans-serif; color:rgba(237,233,220,.7)}
.lp9-sr{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}

/* ── motion: only when the script is running and nothing asked it to stop ── */
@keyframes lp9-float{from{transform:rotate(var(--lp9-tilt)) translateY(0)} to{transform:rotate(calc(var(--lp9-tilt) + .55deg)) translateY(-5px)}}
@keyframes lp9-migrate-a{
  0%{transform:translate(46px,-14px) rotate(-12deg); opacity:0}
  9%{opacity:.95}
  42%{transform:translate(-34px,10px) rotate(-4deg)}
  58%{transform:translate(-38px,12px) rotate(-3deg)}
  90%{opacity:.95}
  100%{transform:translate(-128px,-8px) rotate(5deg); opacity:0}}
@keyframes lp9-migrate-b{
  0%{transform:translate(30px,34px) rotate(14deg); opacity:0}
  12%{opacity:.9}
  45%{transform:translate(-22px,-6px) rotate(6deg)}
  62%{transform:translate(-26px,-10px) rotate(4deg)}
  88%{opacity:.9}
  100%{transform:translate(-96px,-60px) rotate(-6deg); opacity:0}}
@keyframes lp9-migrate-b-phone{  /* stays inside the narrow left margin */
  0%{transform:translate(-6px,44px) rotate(10deg); opacity:0}
  14%{opacity:.85}
  50%{transform:translate(3px,-4px) rotate(3deg)}
  64%{transform:translate(4px,-9px) rotate(2deg)}
  86%{opacity:.85}
  100%{transform:translate(-8px,-74px) rotate(-6deg); opacity:0}}
@keyframes lp9-migrate-c{
  0%{transform:translate(-30px,20px) rotate(-14deg); opacity:0}
  14%{opacity:.85}
  50%{transform:translate(30px,-4px) rotate(-5deg)}
  64%{transform:translate(34px,-6px) rotate(-4deg)}
  86%{opacity:.85}
  100%{transform:translate(104px,-34px) rotate(6deg); opacity:0}}
.lp9.is-live:not(.is-reduced) .lp9__tilt{animation:lp9-float 9s ease-in-out infinite alternate}
.lp9.is-live:not(.is-reduced) .lp9__frag--a{animation:lp9-migrate-a 34s cubic-bezier(.45,.05,.4,1) -11s infinite}
.lp9.is-live:not(.is-reduced) .lp9__frag--b{animation:lp9-migrate-b 41s cubic-bezier(.45,.05,.4,1) -19s infinite}
.lp9.is-live:not(.is-reduced) .lp9__frag--c{animation:lp9-migrate-c 47s cubic-bezier(.45,.05,.4,1) -6s infinite}
.lp9.is-paused .lp9__tilt,.lp9.is-paused .lp9__frag,.lp9.is-offscreen .lp9__tilt,.lp9.is-offscreen .lp9__frag{animation-play-state:paused!important}

/* ── reduced motion: the same drawing, completely still; the fold becomes a fade ── */
.lp9.is-reduced .lp9__field canvas{display:none}
.lp9.is-reduced .lp9__glow{display:block}
.lp9.is-reduced .lp9__cover{transition:opacity .25s ease, visibility .25s ease}
.lp9.is-reduced .lp9__card.is-open .lp9__cover{transform:none; opacity:0; visibility:hidden}
@media (prefers-reduced-motion:reduce){
  .lp9 .lp9__tilt,.lp9 .lp9__frag{animation:none!important}
  .lp9 .lp9__cover{transition:opacity .25s ease, visibility .25s ease}
  .lp9 .lp9__card.is-open .lp9__cover{transform:none; opacity:0; visibility:hidden}
}

/* ── no JavaScript: cover and inside both shown, stacked and readable; nothing moves ── */
.lp9.no-js .lp9__slot{aspect-ratio:auto}
.lp9.no-js .lp9__tilt,.lp9.no-js .lp9__stage,.lp9.no-js .lp9__card{position:relative; inset:auto}
.lp9.no-js .lp9__tilt{transform:none}
.lp9.no-js .lp9__card{display:flex; flex-direction:column}
.lp9.no-js .lp9__cover{position:relative; order:-1; aspect-ratio:5/7; cursor:default}
.lp9.no-js .lp9__interior{position:relative; margin-top:22px; visibility:visible!important}
.lp9.no-js .lp9__interior a{visibility:visible!important; pointer-events:auto!important}
.lp9.no-js .lp9__window{min-height:9em; background:radial-gradient(circle at 30% 40%,rgba(236,213,143,.4) 0,transparent 18%),radial-gradient(circle at 70% 55%,rgba(179,155,211,.4) 0,transparent 20%),rgba(15,11,31,.4)}
.lp9.no-js .lp9__close,.lp9.no-js .lp9__controls,.lp9.no-js .lp9__open,.lp9.no-js .lp9__route,.lp9.no-js .lp9__caption{display:none}

/* ── narrower desktops: keep fragments clear of the text ── */
@media (max-width:1180px){ .lp9__frag--c{display:none} .lp9__frag--a{right:-4%} .lp9__frag--b{right:-5%} }

/* ── phone: one reading column; the line becomes a compact marginal gesture ── */
@media (max-width:760px){
  .e003-review .lp009 .section-inner{width:min(100% - 32px,680px)}
  .lp9{--lp9-tilt:-2deg; grid-template-columns:minmax(0,1fr); grid-template-areas:"intro" "scene" "foot"; grid-template-rows:auto}
  .lp9__scene{padding:36px 0 0 14%}
  .lp9__slot{width:min(100%,340px)}
  .lp9__listen{margin-top:26px}
  .lp9__foot{padding-top:30px}
  .lp9__frag--a{width:38px; right:-1%; top:-2%}
  .lp9__frag--b{width:30px; right:auto; left:0; top:35%}
  .lp9.is-live:not(.is-reduced) .lp9__frag--b{animation-name:lp9-migrate-b-phone}
}
