/* ---------- THE SIGNATURE (Persona, introduced) ---------- */
.sig { position: relative; overflow: clip;   /* clip, not hidden: keeps .sig-inner sticky */ padding: clamp(100px, 12vw, 180px) 0 clamp(90px, 10vw, 150px);
  background: radial-gradient(ellipse 50% 60% at 62% 55%, rgba(236,222,196,.06), transparent 70%), var(--black); }   /* the same black as every section */
.sig-mark { height: 0; }
.sig-hold { height: 340vh; }               /* pinned scroll: Persona rests here, its notes rise out of it, then it leaves for the film */
.sig-inner { position: sticky; top: var(--sig-top, 12vh); max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 6vw, 110px);
  display: grid; grid-template-columns: 1fr minmax(260px, 30vw) minmax(200px, 1fr); align-items: center; gap: clamp(24px, 4vw, 70px); }
/* while Persona's notes hang above it, the words on either side step away (--tx 0→1, set by the flight) */
.sig-copy > *, .sig-facts > div { opacity: calc(1 - var(--tx, 0)); filter: blur(calc(var(--tx, 0) * 6px)); }
.sig-copy > * { transform: translateX(calc(var(--tx, 0) * -48px)); }
.sig-facts > div { transform: translateX(calc(var(--tx, 0) * 48px)); }
.sig-inner[style*="--tx: 1"] .sig-copy, .sig-inner[style*="--tx: 1"] .sig-facts { pointer-events: none; }
@media (max-width: 1020px) { .sig-copy > *, .sig-facts > div { transform: none; } }
.sig-copy .display { font-size: clamp(42px, 4.4vw, 72px); line-height: 1.02; margin: 22px 0 22px; }
.sig-copy .display em { font-style: italic; }
.sig-copy .body { max-width: 25em; }
.sig-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 36px; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; }
.sig-cta i { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); transition: border-color .4s, transform .6s var(--ease); }
.sig-cta i::before { content: ""; position: absolute; left: 50%; top: 13px; width: 1px; height: 18px; background: #fff; transform: translateX(-50%); }
.sig-cta i::after { content: ""; position: absolute; left: 50%; top: 24px; width: 7px; height: 7px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: translateX(-50%) rotate(45deg); }
.sig-cta:hover i { border-color: #fff; transform: translateY(4px); }
/* the bottle: lit from above, floating over a pool of light, drifting gently with the scroll */
.sig-bottle { --t: .5; position: relative; margin: 0; display: grid; justify-items: center;
  transform: translateY(calc(var(--sh, 0) * 9vh)); }   /* drops a little while its notes hang above it, clear of the header */
.sig-bottle > img { position: relative; z-index: 1; width: auto; max-width: min(100%, 300px); height: auto; max-height: 64vh; transform-origin: 50% 100%;   /* the section is pinned: keep it within the screen */
  transform: translateY(calc((.5 - var(--t)) * 60px)) rotate(calc((var(--t) - .5) * 4deg)) scale(var(--bs, 1));   /* --bs: shrinks while its notes hang above it */
  filter: drop-shadow(0 40px 50px rgba(0,0,0,.8)) drop-shadow(0 0 60px rgba(236,222,196,.18)); }
.sig-beam { position: absolute; left: 50%; top: -30%; width: 150%; height: 120%; transform: translateX(-50%); pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255,244,226,.13) 175deg, rgba(255,244,226,.2) 180deg, rgba(255,244,226,.13) 185deg, transparent 200deg);
  -webkit-mask-image: linear-gradient(#000 30%, transparent 92%); mask-image: linear-gradient(#000 30%, transparent 92%); }
.sig-plinth { position: relative; z-index: 0; width: 82%; height: 26px; margin-top: -10px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,240,215,.32), rgba(255,240,215,.06) 55%, transparent 72%); filter: blur(4px); }
/* Persona's notes: the ingredients rise out of the flacon one by one (base first) and hang in a column above it,
   each named on a hairline — after the owner's reference (ingredients stacked over the bottle).
   --np 0→1 = how far they have risen (set by the flight's scroll timeline), --out 0→1 = dissolving as Persona leaves.
   Per note: --f its height in the column, --s when it starts, --d how far below (the flacon's neck) it starts from. */
/* the column hangs over the flacon's shrunken top: --nb (from layout) = the figure's bottom → the small flacon's cap */
.sig-notes { --np: 0; --out: 0; --ih: 5.2vh; position: absolute; z-index: 2; left: 50%; bottom: var(--nb, 40vh); width: min(480px, 36vw); height: 38vh; transform: translateX(-50%); pointer-events: none; }
.sn { position: absolute; left: 0; right: 0; top: calc(var(--f) * 100%); height: 0;
  --k: clamp(0, calc((var(--np) - var(--s)) / .38), 1); --kl: clamp(0, calc((var(--np) - var(--s) - .2) / .26), 1); }
.sn-img { position: absolute; left: 50%; top: 0; height: var(--ih); aspect-ratio: var(--a);
  transform: translate(-50%, calc(-50% + (1 - var(--k)) * var(--d) - var(--out) * 6vh)) scale(calc(.3 + .7 * var(--k)));
  opacity: clamp(0, calc(var(--k) * 1.4 - var(--out) * 1.6), 1); filter: blur(calc((1 - var(--k)) * 6px + var(--out) * 8px)); }
.sn-img img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.6));
  animation: snFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
@keyframes snFloat { 50% { transform: translateY(-5px) rotate(.6deg); } }
.sn-label { position: absolute; top: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; transform: translateY(-50%);
  opacity: clamp(0, calc(var(--kl) - var(--out) * 1.6), 1); }
.sn-r .sn-label { left: calc(50% + var(--ih) * var(--a) / 2 + 8px); }
.sn-l .sn-label { right: calc(50% + var(--ih) * var(--a) / 2 + 8px); flex-direction: row-reverse; text-align: right; }
.sn-label i { display: block; width: 30px; height: 1px; background: rgba(244,239,230,.5); transform: scaleX(var(--kl)); }
.sn-r .sn-label i { transform-origin: left; }
.sn-l .sn-label i { transform-origin: right; }
.sn-label b { display: grid; font: 400 15px/1.1 var(--serif); letter-spacing: .02em; color: var(--ivory); }
.sn-label em { font-style: normal; font-family: var(--sans, inherit); font-size: 8.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(244,239,230,.5); margin-top: 3px; }
@media (prefers-reduced-motion: reduce) { .sig-notes { --np: 1 !important; --out: 0 !important; } .sn-img img { animation: none; } }
.sig-bottle figcaption { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(244,239,230,.6); letter-spacing: .04em; }
.sig-facts { display: grid; border-top: 1px solid rgba(255,255,255, calc(.14 * (1 - var(--tx, 0)))); }   /* its top rule leaves with the words */
.sig-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.sig-facts dt { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(244,239,230,.55); padding-top: 4px; }
.sig-facts dd { font-family: var(--serif); font-size: 19px; }
@media (max-width: 1020px) {
  .sig-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .sig-copy .body { margin: 0 auto; }
  .sig-bottle > img { width: 220px; }
  .sig-bottle { transform: none; }                 /* the pinned block is taller than the screen here: no room to drop */
  .sig-notes { --ih: 3.1vh; height: 24vh; width: min(420px, 100%); }
  .sn-label b { font-size: 13.5px; }
  .sig-facts { width: 100%; max-width: 420px; text-align: left; }
}

/* ---------- THE MAISON PROMISE ---------- */
/* ---------- THE MAISON PROMISE: the maison's letter (animated) ----------
   Scroll only decides which step is due: app.js toggles s-in · s-crack · s-open · s-out · s-front · s-w1…s-w5
   on .pm-pin. Each step then plays on its own timing (transitions / keyframes), and reverses if you scroll back.
   Always alive meanwhile: the envelope floats, tilts toward the cursor, light glides over the paper, motes drift. */
@property --w { syntax: "<number>"; inherits: false; initial-value: 0; }
.promise { position: relative; height: 400vh; }
.pm-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr;
  padding: clamp(80px, 10vh, 112px) clamp(12px, 4vw, 60px) clamp(16px, 3vh, 36px);
  background: radial-gradient(ellipse 60% 55% at 50% 58%, rgba(236,222,196,.075), transparent 70%); }
.pm-head { position: relative; z-index: 7; text-align: center; margin: 0; transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.pm-head .display { margin-top: 14px; }
.pm-head .display em { font-style: italic; }
.s-open .pm-head { opacity: 0; transform: translateY(-24px); }   /* clears the way as the card rises */
.pm-stage { position: relative; }
:root { --paper-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .3  0 0 0 0 .22  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* drifting motes of light */
.pm-motes { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.s-in .pm-motes { opacity: 1; }
.pm-motes i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(rgba(255,240,215,.9), transparent 70%); opacity: .0;
  animation: pmMote var(--t) ease-in-out var(--d) infinite; }
@keyframes pmMote { 0%, 100% { transform: translate(0, 0); opacity: 0; } 20%, 80% { opacity: var(--o); } 50% { transform: translate(var(--dx), -60px); } }

/* the envelope rig: big (3 : 2), centred; tilts toward the cursor, and floats */
.pm-tilt { --ew: min(860px, 80vw, (100svh - 170px) / 1.6 * 1.5); position: absolute; left: 50%; top: calc(50% + var(--ew) * .17); width: var(--ew); aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%) perspective(1800px) rotateX(calc(var(--my, 0) * -5deg)) rotateY(calc(var(--mx, 0) * 7deg));
  transition: transform .9s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.pm-rig { position: absolute; inset: 0; transform-style: preserve-3d; animation: pmFloat 7s ease-in-out infinite; }
.pm-stage { transition: transform 1.4s cubic-bezier(.22,1,.36,1); transform-origin: 50% 70%; }
.s-open:not(.s-front) .pm-stage { transform: perspective(1600px) rotateX(9deg) scale(1.02); }   /* leans toward you as it opens */
@keyframes pmFloat { 50% { transform: translateY(-12px) rotate(-.5deg); } }

.pm-env { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateY(110px) rotate(-6deg) scale(.94); opacity: 0;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1), opacity 1s ease; }
.s-in .pm-env { transform: none; opacity: 1; }
.s-front .pm-env { transform: translateY(80vh) rotate(4deg); opacity: 0; transition: transform 1.3s cubic-bezier(.6,0,.35,1), opacity .8s ease .35s; }
.pm-env-back { z-index: 1; filter: drop-shadow(0 50px 70px rgba(0,0,0,.7)); }
.pm-env-front { z-index: 3; pointer-events: none; }
.pm-back, .pm-pocket, .pm-flap-face { background: var(--paper-grain), linear-gradient(160deg, #f6eee0, #ebdec7 55%, #dccaa8); }
.pm-back { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; }
.pm-back::after { content: ""; position: absolute; inset: 0;   /* the dark liner, seen once the flap is open */
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.07), transparent 60%), linear-gradient(#1c1815, #0e0c0a); clip-path: polygon(0 0, 100% 0, 50% 54%); }
.pm-pocket { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 -40px 60px rgba(120,95,60,.14); }
.pm-pocket::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(120,95,60,.24) 50%, transparent calc(50% + 1px)) left bottom / 50% 100% no-repeat,
              linear-gradient(to top left, transparent calc(50% - 1px), rgba(120,95,60,.24) 50%, transparent calc(50% + 1px)) right bottom / 50% 100% no-repeat; }
/* a slow band of light gliding over the paper */
.pm-pocket::after, .pm-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.5) 50%, transparent 62%) no-repeat; background-size: 250% 100%;
  animation: pmSheen 6.5s ease-in-out infinite; }
.pm-card::after { opacity: .45; }
@keyframes pmSheen { 0% { background-position: 130% 0; } 55%, 100% { background-position: -130% 0; } }

/* the flap: springs open, then lies back behind the card (one copy per layer, swapped as it passes upright) */
.pm-flap { position: absolute; left: 0; right: 0; top: 0; height: 58%; transform-origin: 50% 0; transform-style: preserve-3d;
  transform: rotateX(0deg); transition: transform 1.25s cubic-bezier(.34,1.5,.55,1); }
.s-open .pm-flap { transform: rotateX(176deg); }
.s-open .pm-flap-f, .s-open .pm-flap-b { animation: pmPeel 1.5s cubic-bezier(.34,1.45,.55,1); }
@keyframes pmPeel { 0% { transform: rotateX(0deg); } 18% { transform: rotateX(14deg); } 30% { transform: rotateX(8deg); } 100% { transform: rotateX(176deg); } }

.pm-flap-f { z-index: 4; transition: transform 1.25s cubic-bezier(.34,1.5,.55,1), visibility 0s .32s; }
.pm-flap-b { visibility: hidden; transition: transform 1.25s cubic-bezier(.34,1.5,.55,1), visibility 0s .32s; }
.s-open .pm-flap-b { visibility: visible; } .s-open .pm-flap-f { visibility: hidden; }
.s-open .pm-flap-f, .s-open .pm-flap-b { transition: transform 1.25s cubic-bezier(.34,1.5,.55,1), visibility 0s .72s; }   /* the peel delays the moment it passes upright */
.pm-flap-face, .pm-flap-liner { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); backface-visibility: hidden; }
.pm-flap-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.2), transparent 40%, rgba(110,85,55,.14)); }
.pm-flap-liner { transform: rotateX(180deg); background: linear-gradient(#221d19, #12100e); }

/* the seal: flashes, cracks, bursts into three tumbling shards and a spray of wax crumbs */
.pm-seal { position: absolute; left: 50%; top: 58%; width: 17%; aspect-ratio: 1; z-index: 5; transform: translate(-50%, -50%); }
.pm-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
.pm-seal .piece { opacity: 0; transform-box: view-box; transform-origin: 50% 50%; }
.pm-seal .crack { fill: none; stroke: rgba(0,0,0,.9); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 64; stroke-dashoffset: 64; transition: stroke-dashoffset .3s ease-out; }
.s-crack .pm-seal .whole { opacity: 0; }
.s-crack .pm-seal .crack { stroke-dashoffset: 0; }
.s-crack .pm-seal .crack { animation: pmGone .2s linear .5s forwards; }
.s-crack .pm-seal .p0 { animation: pmFly0 1.3s cubic-bezier(.3,.1,.6,1) forwards; }
.s-crack .pm-seal .p1 { animation: pmFly1 1.3s cubic-bezier(.3,.1,.6,1) forwards; }
.s-crack .pm-seal .p2 { animation: pmFly2 1.3s cubic-bezier(.3,.1,.6,1) forwards; }
@keyframes pmGone { to { opacity: 0; } }
@keyframes pmFly0 { 0%, 30% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(-6px, 120px) rotate(-70deg); } }
@keyframes pmFly1 { 0%, 30% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(40px, 140px) rotate(95deg); } }
@keyframes pmFly2 { 0%, 30% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(-44px, 150px) rotate(-110deg); } }
.pm-seal::before { content: ""; position: absolute; inset: -10%; border-radius: 50%; border: 2px solid rgba(255,244,226,.8); opacity: 0; }
.s-crack .pm-seal::before { animation: pmRing .7s ease-out; }
@keyframes pmRing { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.9); } }
.pm-seal .crumb { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2); border-radius: 30%;
  background: #121212; opacity: 0; }
.s-crack .pm-seal .crumb { animation: pmCrumb 1.1s cubic-bezier(.2,.6,.4,1) .3s forwards; }
@keyframes pmCrumb { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0); }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) translateY(70px) rotate(200deg); } }

/* the card: lies in the envelope, slides up out of it, then turns to face you, larger, in the middle */
/* laid out at its FINAL reading size (--cw from app.js, ≤ 1100 px) and scaled DOWN (--si) while it is in the envelope,
   so the text is rasterised full size and stays crisp at the end (scaling a small card up blurred it) */
.pm-card { --cw: calc(var(--ew) * .94); position: absolute; left: 50%; top: 50%; width: var(--cw); height: calc(var(--cw) / 1.5);
  margin: calc(var(--cw) / -3) 0 0 calc(var(--cw) / -2); z-index: 2; container-type: inline-size; color: #2a2219;
  background: var(--paper-grain), linear-gradient(170deg, #fcf8ef, #f2e8d6 70%, #e9dcc2); border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(150,120,80,.2), inset 0 0 0 10px #f7f0e3, inset 0 0 0 11px rgba(150,120,80,.24);
  transform: scale(var(--si, 1)) translateY(4%); opacity: 0; transform-origin: 50% 50%;
  transition: transform 1.4s cubic-bezier(.22,1,.36,1), opacity .6s ease, box-shadow 1s ease; }
.s-in .pm-card { opacity: 1; }
.s-out .pm-card { transform: scale(var(--si, 1)) translateY(-44%) rotate(-1.2deg); }   /* no tilt in depth: in the 3D rig it would sink behind the envelope's back */
.s-front .pm-card { z-index: 6; transform: translateY(var(--fy, calc(var(--ew) * -.17 - 2vh))) scale(1); transform-origin: 50% 50%;   /* --fy from app.js: dead centre, at its true size */
  box-shadow: 0 50px 120px rgba(0,0,0,.65), inset 0 0 0 1px rgba(150,120,80,.2), inset 0 0 0 10px #f7f0e3, inset 0 0 0 11px rgba(150,120,80,.24);
  transition: transform 1.6s cubic-bezier(.16,1,.3,1), box-shadow 1s ease; animation: pmTurn 1.6s cubic-bezier(.16,1,.3,1); }
@keyframes pmTurn { 0% { rotate: x 28deg; } 60% { rotate: x -4deg; } 100% { rotate: x 0deg; } }
.pm-card-in { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 5cqw 6cqw 4cqw; }
.pm-salute { margin: 0; font: 400 5.6cqw/1 var(--script); }
.pm-list { list-style: none; margin: 3.4cqw 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4.4cqw; align-content: start; }
.pm-list li { position: relative; padding-top: 3cqw; border-top: 1px solid rgba(150,120,80,.28); }
.pm-no { position: absolute; top: .6cqw; left: 0; font: italic 400 1.9cqw var(--serif); color: #8a6f4d; opacity: 0; transition: opacity .6s ease; }
.pm-list h3 { margin: 1.4cqw 0 0; font: 400 4.7cqw/1.05 var(--script); color: #1e1813; }
.pm-list p { margin: 1.4cqw 0 0; font: 400 1.75cqw/1.6 var(--serif); color: rgba(42,34,25,.8);
  opacity: 0; transform: translateY(8px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.pm-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 4cqw; }
.pm-sign { margin: 0; text-align: right; }
.pm-sign .ink { font: 400 6cqw/1 var(--script); color: #1e1813; }
.pm-sign small { display: block; margin-top: .8cqw; font: 400 1.05cqw var(--sans); letter-spacing: .34em; text-transform: uppercase; color: #8a6f4d;
  opacity: 0; transition: opacity .9s ease .8s; }
/* the little PS seal, stamped in the corner once it is signed */
.pm-stamp { position: relative; width: 9.5cqw; aspect-ratio: 1; opacity: 0; transform: scale(2.2) rotate(-25deg); }
.pm-stamp svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.s-w5 .pm-stamp { animation: pmStamp .8s cubic-bezier(.3,1.6,.5,1) 1.1s forwards; }
@keyframes pmStamp { 0% { opacity: 0; transform: scale(2.2) rotate(-25deg); } 55% { opacity: 1; transform: scale(.92) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-10deg); } }

/* ink: each line written left → right with a soft wet edge and a point of ink riding it */
.ink { --w: 0; position: relative; display: inline-block; padding: 0 .14em .16em 0; transition: --w 1.6s cubic-bezier(.45,.05,.35,1);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--w) * 112% - 12%), transparent calc(var(--w) * 112%));
  mask-image: linear-gradient(90deg, #000 calc(var(--w) * 112% - 12%), transparent calc(var(--w) * 112%)); }
.ink::after { content: ""; position: absolute; top: 58%; left: calc(var(--w) * 100%); width: .18em; height: .18em; margin: -.09em; border-radius: 50%;
  background: radial-gradient(#2a1c0e, transparent 70%); opacity: calc(var(--w) * (1 - var(--w)) * 4); }
.s-w1 .pm-salute .ink,
.s-w2 .pm-list li:nth-child(1) .ink, .s-w3 .pm-list li:nth-child(2) .ink, .s-w4 .pm-list li:nth-child(3) .ink,
.s-w5 .pm-sign .ink { --w: 1; }
.s-w2 .pm-list li:nth-child(1) .pm-no, .s-w3 .pm-list li:nth-child(2) .pm-no, .s-w4 .pm-list li:nth-child(3) .pm-no { opacity: 1; }
.s-w2 .pm-list li:nth-child(1) p, .s-w3 .pm-list li:nth-child(2) p, .s-w4 .pm-list li:nth-child(3) p { opacity: 1; transform: none; transition-delay: 1.1s; }
.s-w5 .pm-sign small { opacity: 1; }
/* with the writing hand (app.js adds .pm-js): the hand drives the ink — each line starts only once the nib has
   reached it — so the CSS timing above steps aside and the JS marks lines started / done */
.pm-pin.pm-js .ink { transition: none; }
.pm-pin.pm-js .pm-list li .pm-no { opacity: 0; }
.pm-pin.pm-js .pm-list li.started .pm-no { opacity: 1; }
.pm-pin.pm-js .pm-list li p { opacity: 0; transform: translateY(8px); transition-delay: 0s; }
.pm-pin.pm-js .pm-list li.done p { opacity: 1; transform: none; transition-delay: .15s; }
.pm-pin.pm-js .pm-sign small { opacity: 0; transition-delay: 0s; }
.pm-pin.pm-js .pm-sign.done small { opacity: 1; transition-delay: .2s; }
.pm-pin.pm-js .pm-stamp { animation: none; }
.pm-pin.pm-js .pm-foot.done .pm-stamp { animation: pmStamp .8s cubic-bezier(.3,1.6,.5,1) .5s forwards; }

/* the hand that writes it: a hand holding a black-and-gold fountain pen (GPT still, keyed), its nib kept on the ink's
   wet edge by app.js; it travels to the next line between promises and lifts away after the signature */
.pm-hand { position: absolute; left: 0; top: 0; z-index: 4; width: 50cqw; height: auto; max-width: none; pointer-events: none;
  transform-origin: .5% 99%; opacity: 0; transition: opacity .6s ease; will-change: transform;
  filter: drop-shadow(-16px 28px 24px rgba(40,25,10,.32)) drop-shadow(-2px 4px 4px rgba(40,25,10,.25)); }
.pm-hand.on { opacity: 1; }
/* phones: the card is too narrow for three columns at 3:2 — it is read as a tall letter that rises from the envelope */
@media (max-width: 760px) {
  .pm-tilt { --ew: 90vw; }
  .pm-card { left: 4%; top: 6%; width: 92%; height: auto; min-height: 88%; margin: 0; }
  .pm-card-in { position: relative; padding: 8cqw 7cqw 7cqw; }
  .s-in .pm-card { opacity: 0; } .s-front .pm-card { opacity: 1; transform: translateY(calc(-48% - var(--ew) * .17)); transform-origin: 50% 50%; }
  .pm-salute { font-size: 10cqw; }
  .pm-list { grid-template-columns: 1fr; gap: 5cqw; margin-top: 6cqw; }
  .pm-list li { padding-top: 4cqw; } .pm-no { font-size: 3.6cqw; top: 1cqw; }
  .pm-list h3 { font-size: 9.5cqw; margin-top: 2cqw; } .pm-list p { font-size: 3.7cqw; }
  .pm-foot { margin-top: 6cqw; } .pm-stamp { width: 16cqw; } .pm-sign .ink { font-size: 11cqw; } .pm-sign small { font-size: 2.2cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-rig, .pm-motes i, .pm-pocket::after, .pm-card::after { animation: none; }
  .pm-env, .pm-card, .pm-flap, .ink, .pm-list p { transition: none; }
}

/* ---------- FOOTER ---------- */
.footer { position: relative; overflow: hidden; display: block; text-align: left; padding: clamp(80px, 8vw, 120px) clamp(20px, 6vw, 100px) 28px;
  background: radial-gradient(ellipse 70% 60% at 50% 120%, rgba(236,222,196,.07), transparent 70%), var(--black); }   /* no hard rule on top: the page simply continues */
.ft-top { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.4fr; gap: clamp(30px, 4vw, 70px); max-width: 1320px; margin: 0 auto; }
.ft-brand .footer-logo { width: 190px; }
.ft-brand p { margin-top: 24px; max-width: 22em; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.55; color: rgba(244,239,230,.62); }
.ft-col { display: grid; align-content: start; gap: 14px; }
.ft-col h4, .newsletter label { font-size: 10px; letter-spacing: .36em; text-transform: uppercase; font-weight: 400; color: rgba(244,239,230,.5); margin-bottom: 8px; }
.ft-col a { font-family: var(--serif); font-size: 19px; color: rgba(244,239,230,.86); justify-self: start; padding-bottom: 2px;
  background: linear-gradient(#fff, #fff) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.ft-col a:hover { color: #fff; background-size: 100% 1px; }
.newsletter { max-width: none; gap: 0; align-content: start; }
.newsletter p { font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(244,239,230,.62); margin: 6px 0 22px; }
.newsletter div { border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .4s; }
.newsletter div:focus-within { border-color: #fff; }
.newsletter input { font-size: 15px; padding: 14px 0; }
.newsletter button { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .32em; color: #fff; }
.newsletter button i { width: 18px; height: 1px; background: #fff; position: relative; transition: width .4s var(--ease); }
.newsletter button i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-right: 1px solid #fff; border-top: 1px solid #fff; transform: rotate(45deg); }
.newsletter button:hover i { width: 28px; }
/* the name, full width, as a quiet signature beneath it all */
.footer { justify-items: stretch; }
.ft-mark, .ft-bottom, .ft-top { width: 100%; }
.ft-mark { max-width: 1320px; margin: clamp(70px, 8vw, 120px) auto 0; opacity: .1; }
.ft-mark img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(#000 35%, transparent 100%); mask-image: linear-gradient(#000 35%, transparent 100%); }
.ft-bottom { max-width: 1320px; margin: 30px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ft-bottom .legal { font-size: 11px; letter-spacing: .14em; color: rgba(244,239,230,.42); }
.ft-tag { font-family: var(--serif); font-style: italic; letter-spacing: .06em; font-size: 14px; color: rgba(244,239,230,.42); }
.ft-up { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(244,239,230,.75); }
.ft-up i { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); transition: transform .5s var(--ease), border-color .3s; }
.ft-up i::after { content: ""; position: absolute; left: 50%; top: 12px; width: 6px; height: 6px; border-left: 1px solid #fff; border-top: 1px solid #fff; transform: translateX(-50%) rotate(45deg); }
.ft-up:hover i { transform: translateY(-4px); border-color: #fff; }
@media (max-width: 1020px) { .ft-top { grid-template-columns: 1fr 1fr; } .ft-brand, .newsletter { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft-bottom { flex-direction: column; align-items: flex-start; } .ft-tag { display: none; } }
.ft-legal { display: flex; gap: 22px; } .ft-legal a { font-size: 11px; letter-spacing: .14em; color: rgba(244,239,230,.42); transition: color .3s; } .ft-legal a:hover { color: #fff; }
/* footer: a 4th column — Instagram / WhatsApp / e-mail with icons (2026-11-17) */
.ft-top { grid-template-columns: 1.3fr .7fr .7fr .9fr 1.3fr; }
.ft-follow a { display: inline-flex; align-items: center; gap: 12px; }
.ft-follow svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .8; }
.ft-follow a span[data-c="email"] { font-family: var(--sans); font-size: 15px; letter-spacing: .02em; }
@media (max-width: 1020px) { .ft-top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 620px) { .ft-top { grid-template-columns: 1fr 1fr; } }
