/* Letterpress card · Luxe (core/invitation/005) — INV-05 Sage Light v2.2 · Luxe (inv05_luxe_plus w1, A1427): the
   letterpress card (invitation 002) on Luxe paper (the SLPAPER block: a brighter cotton face, a thin sage duplex
   edge, a debossed groove and a champagne-foil frame that glints once as the card comes upright), a blind-embossed
   monogram, a champagne rule, and a soft contact shade on the table. The scroll lifts the card off the table to face
   you (section.js); on a desktop it leans a little toward the mouse. Below, the letterpress card's own notes:
   Letterpress card (core/invitation/002) — inv05_more w3 (INV-05 v1.1/v2.1, A1359, D-031/D-032/D-035).
   The families' words pressed into a thick cotton card: the blessing, the hosts, the invitation line, the names in
   script, then the main event's day, date and time (the venue is vn001's). The press is CSS: a light lip below-right
   and a faint dark lip above-left of every word, set by --iv005-dx/--iv005-dy (the light's lean; live.js moves them
   with its raking light and clears them in destroy). A blind-debossed frame runs 14 px inside the edge. A pressed
   eucalyptus sprig (euc-b) lies across the top-left corner; the top padding keeps the words clear of it (≥ 32 px). */
.iv005 {
  --iv005-dx: .6; --iv005-dy: 1; --iv005-sprig: min(56%, 270px);
  position: relative; padding: var(--k-section-pad) var(--k-gutter); background: var(--k-light-ground); color: var(--k-ink);
  text-align: center; touch-action: pan-y;
}
/* the hero above (he004, frozen) ends in a straight edge a touch darker than the page (its own shadows; measured at
   390: rgb(236 233 226) over the page's rgb(243 240 233)). This soft shade carries that tone down 160 px so no seam
   shows. */
.iv005::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; pointer-events: none;
  background: linear-gradient(rgb(74 63 53 / .042), rgb(74 63 53 / 0)); }
/* tablet: the hero's foot ends warmer and darker (measured rgb 234 229 218 over 244 241 234; round 2 of the review), so a
   warm 180 px shade; desktop split hero (he004 at >= 1200 and
   5:4): its foot measured rgb 221 216 220 (photo, cool), 222 218 215 (middle), 229 226 219 (card side) over the page's
   ~241 238 231, so a three-stop shade, cooler on the photo side */
@media (min-width: 768px) { .iv005::before { height: 180px; background: linear-gradient(rgb(120 100 60 / .085), rgb(120 100 60 / 0)); } }
@media (min-width: 1200px) and (min-aspect-ratio: 5/4) {
  .iv005::before { height: 220px; background: linear-gradient(90deg, rgb(84 70 78 / .12) 0 30%, rgb(74 63 56 / .1) 50%, rgb(74 63 53 / .07) 70% 100%);
    -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent); }
}
/* the card stands on the table: the wrap holds the perspective and the contact shade; the tilt (desktop mouse) and
   the card (scroll lift) are separate boxes, so the two transforms never fight */
.iv005__wrap { position: relative; max-width: 540px; margin: 0 auto; perspective: 1100px; }
.iv005__shade { position: absolute; left: 8%; right: 8%; bottom: -20px; height: 46px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(62 52 42 / .2), rgb(62 52 42 / 0)); }
.iv005__tilt { transform-style: preserve-3d; }
.iv005__card { container-type: inline-size; padding: calc(var(--iv005-sprig) * .58 + 34px) clamp(30px, 8vw, 58px) 64px; }
/*SLPAPER-CSS>*/
.iv005 { --iv005-face: #FCFAF5; --iv005-edge: #A4AE92; }
@supports (color: color-mix(in oklab, red, red)) { .iv005 { --iv005-edge: color-mix(in oklab, var(--c-secondary, #8A9A7B) 72%, #FCFAF5); } }
.iv005-paper { position: relative; isolation: isolate; border: 0; border-radius: 1px;
  background: radial-gradient(120% 90% at 18% 0%, rgb(255 255 255 / .6), transparent 60%), linear-gradient(162deg, rgb(255 255 255 / .35), transparent 40%, rgb(74 63 53 / .035)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4  0 0 0 0 .37  0 0 0 0 .3  .14 0 0 0 -.055'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='l' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  -.14 0 0 0 .085'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23l)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .42  0 0 0 0 .32  .07 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23m)'/%3E%3C/svg%3E"),
    var(--iv005-face);
  box-shadow: 0 1px 1px rgb(62 52 42 / .12), 0 10px 18px -8px rgb(62 52 42 / .16), 0 34px 64px -28px rgb(62 52 42 / .26); }
.iv005-paper--duplex { box-shadow: 1px 1.5px 0 0 var(--iv005-edge), 0 0 0 .5px rgb(74 63 53 / .1), 0 1px 1px rgb(62 52 42 / .12), 0 10px 18px -8px rgb(62 52 42 / .16), 0 34px 64px -28px rgb(62 52 42 / .26); }
.iv005-paper__deboss, .iv005-paper__foil { position: absolute; z-index: 0; pointer-events: none; }
.iv005-paper__deboss { inset: 10px; border-radius: 1px; opacity: .4; box-shadow: inset 1px 1px 0 rgb(110 90 60 / .14), inset -1px -1px 0 rgb(255 255 255 / .9), 1px 1px 0 rgb(255 255 255 / .9), -1px -1px 0 rgb(110 90 60 / .1); }
.iv005-paper__foil { inset: 16px; border: 1.5px solid #B4975F; }
@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
  .iv005-paper__foil { border: 0; padding: 1.5px; background: linear-gradient(118deg, #8F7444 0%, #C2A56C 20%, #EBDDB2 38%, #B89A62 55%, #E2CF9C 72%, #957847 100%) 100% 0 / 260% 100% border-box;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
  .iv005-paper.is-lit .iv005-paper__foil { animation: iv005-glint 1.6s cubic-bezier(.45, 0, .25, 1) 1 both; }
}
@keyframes iv005-glint { from { background-position: 100% 0; } to { background-position: 0 0; } }
html.motion-reduce .iv005-paper.is-lit .iv005-paper__foil { animation: none; }
@media (prefers-reduced-motion: reduce) { .iv005-paper.is-lit .iv005-paper__foil { animation: none; } }
/*<SLPAPER-CSS*/
/* the monogram, blind-embossed: the paper's own colour, lit on its upper-left edge, shaded below-right (raised) */
.iv005__inner .iv005-mono { margin: 0 0 20px; padding-left: .32em; font: 400 1.6rem/1 var(--k-font-display); letter-spacing: .32em;
  color: var(--iv005-face); text-shadow: -1px -1px 0 rgb(255 255 255 / .95), 1px 1px 1px rgb(90 70 50 / .42), 0 0 1px rgb(90 70 50 / .16); }
/* desktop at 1x: 1 px shades are thin, so the emboss is larger and its shade a little deeper (review round 2) */
@media (min-width: 1024px) {
  .iv005__inner .iv005-mono { font-size: 1.9rem; text-shadow: -1px -1px 0 rgb(255 255 255 / .95), 1px 1px 1px rgb(90 70 50 / .45), 1px 2px 2px rgb(90 70 50 / .18); }
}
.iv005__inner {
  --iv005-lip: calc(var(--iv005-dx) * 1px) calc(var(--iv005-dy) * 1px) 0 rgb(255 255 255 / .9), calc(var(--iv005-dx) * -.6px) calc(var(--iv005-dy) * -.6px) 0 rgb(74 63 53 / .16);
  position: relative; z-index: 0;
}
.iv005__inner p, .iv005__inner h2 { text-shadow: var(--iv005-lip); }
.iv005-blessing { margin-bottom: 20px; font: 500 1.25rem/1.55 var(--k-font-body); color: var(--c-primary); overflow-wrap: anywhere; }
.iv005-blessing[lang="ar"], .iv005-blessing[lang="ur"], .iv005-blessing[lang="fa"] { font-family: "Geeza Pro", "Noto Naskh Arabic", "Amiri", serif; font-size: 1.5rem; }
.iv005-hosts { display: grid; gap: 12px; }
.iv005-host__names { display: block; padding-left: .2em; font: 400 .9rem/1.5 var(--k-font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--k-ink); overflow-wrap: anywhere; }
.iv005-host__rel { display: block; margin-top: 2px; font: 500 .74rem/1.5 var(--k-font-body); letter-spacing: .06em; color: var(--k-ink-soft); }
.iv005-line { max-width: 22em; margin: 22px auto 0; font: 400 1.18rem/1.5 var(--k-font-display); color: var(--k-ink-soft); text-wrap: balance; }
.iv005-names {
  margin-top: 14px; color: var(--c-primary); overflow-wrap: anywhere; text-wrap: balance;
  font: 400 clamp(2rem, min(13cqi, calc(185cqi / var(--iv005-len, 8))), 4.4rem)/1.12 var(--k-font-script);
}
.iv005-names__n { display: block; }
.iv005-and { display: block; margin: 2px 0; font: 400 .82rem/1.6 var(--k-font-display); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: var(--k-ink-soft); }
.iv005__rule { width: 150px; margin: 22px auto 0; color: #B4975F; }
.iv005-when { display: grid; gap: 4px; margin-top: 18px; }
.iv005-when__day { padding-left: .26em; font: 500 .72rem/1.4 var(--k-font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--c-secondary-dark); }
.iv005-when__date { font: 400 1.8rem/1.2 var(--k-font-display); color: var(--k-ink); }
.iv005-when__time { font: 500 .78rem/1.5 var(--k-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--k-ink-soft); }

/* the light (live) covers the card; the sprig lies above it */
.iv005__stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.iv005__sprig, .iv005__sprig-shadow { position: absolute; top: -30px; left: -26px; width: var(--iv005-sprig); height: auto; max-width: none; pointer-events: none; user-select: none; transform-origin: 30% 60%; }
.iv005__sprig { z-index: 3; transform: rotate(12deg); }
.iv005__sprig-shadow { z-index: 2; transform: translate(4px, 7px) rotate(12deg); opacity: .75; }

@media (min-width: 768px) {
  .iv005 { --iv005-sprig: 320px; }
  .iv005__sprig, .iv005__sprig-shadow { top: -42px; left: -64px; }
  .iv005-blessing { font-size: 1.375rem; }
}
