/* Studio-only presets share the existing cover markup and optimized photos. */
.motif-picker{border:0;padding:22px 0;margin:12px 0}.motif-picker legend{font-size:21px;font-weight:600}.motif-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.motif-options label{position:relative;cursor:pointer;margin:0}.motif-options input{position:absolute;opacity:0;width:1px;height:1px}.motif-options label>span{display:flex;min-height:106px;align-items:center;justify-content:center;flex-direction:column;gap:6px;border:1px solid #b8beb7;border-radius:14px;background:#ffffff70;padding:10px;text-align:center}.motif-options svg{width:42px;height:42px}.motif-options b{font-size:12px;font-weight:500}.motif-options input:checked+span{border:2px solid #456458;background:#e8efe5}.motif-options input:focus-visible+span{outline:3px solid #456458;outline-offset:3px}.motif-intro svg{width:64px;height:64px;display:block;margin:auto}
.stationery-cover[data-motif]:not([data-motif="original"]) .stationery-motif{width:18cqw;height:18cqw;right:5cqw;top:4cqw;opacity:.7}.stationery-motif svg{width:100%;height:auto}.stationery-cover[data-motif="none"] .stationery-motif{display:none}
/* Photographic trio: open image, restrained titles, readable shade only behind type. */
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]){padding:12cqw 8cqw 9cqw;min-height:153cqw;color:#fff;background:#29272d;justify-content:flex-end}
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-portrait{position:absolute;inset:0;margin:0;width:100%;height:100%;border-radius:0;z-index:0;box-shadow:none}
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-photo{filter:none;object-position:50% 40%}
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]):after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(#13101938,transparent 32%,#13101938 48%,#131019e6 100%);pointer-events:none}
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-border,.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-seal{display:none}
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-kicker{margin-bottom:auto;padding-bottom:35cqw}
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-motif{color:#fff;z-index:2;top:24cqw}
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-date>span{border-color:#ffffff65}
.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-bottom{margin-top:2cqw;color:#fff}.stationery-cover:is([data-cover-layout="lunar"],[data-cover-layout="vows"],[data-cover-layout="afterhours"]) .stationery-amp{color:#fff}
.stationery-cover[data-cover-layout="vows"] .stationery-title>span{display:inline}.stationery-cover[data-cover-layout="vows"] .stationery-amp{display:inline-block;margin:0 .15em}.stationery-cover[data-cover-layout="vows"] .stationery-title{font-size:min(var(--title-scale),11cqw);line-height:1.2}.stationery-cover[data-cover-layout="vows"] .stationery-photo{object-position:50% 30%;filter:saturate(.75)}
.stationery-cover[data-cover-layout="afterhours"]{align-items:flex-start;text-align:left}.stationery-cover[data-cover-layout="afterhours"] .stationery-title{font-family:var(--font-hero,Manrope,sans-serif);font-weight:800;letter-spacing:-.06em;text-transform:uppercase;font-size:min(var(--title-scale),17cqw);line-height:1}.stationery-cover[data-cover-layout="afterhours"] .stationery-date{justify-content:flex-start}.stationery-cover[data-cover-layout="afterhours"] .stationery-tagline{margin-left:0;max-width:100%}.stationery-cover[data-cover-layout="afterhours"] .stationery-kicker{margin-left:0}.stationery-cover[data-cover-layout="afterhours"]:after{background:linear-gradient(#21163155,transparent 35%,#211631f2 100%)}
/* Cotton paper and a broad inset photograph. */
.stationery-cover[data-cover-layout="paper"]{padding:14cqw 8cqw 8cqw}.stationery-cover[data-cover-layout="paper"]:before,.stationery-cover[data-cover-layout="vellum"]:before{opacity:.65;z-index:1}.stationery-cover[data-cover-layout="paper"] .stationery-border{inset:3cqw;border:0;border-bottom:1px solid var(--cover-accent)}.stationery-cover[data-cover-layout="paper"] .stationery-portrait{width:100%;height:82cqw;border-radius:0;padding:2cqw;background:#fff9;transform:rotate(-2deg);box-shadow:1cqw 2cqw 4cqw #34291b20}.stationery-cover[data-cover-layout="paper"] .stationery-seal{display:none}.stationery-cover[data-cover-layout="paper"] .stationery-title{font-style:italic}.stationery-cover[data-cover-layout="paper"] .stationery-motif{width:13cqw;top:2cqw;right:43cqw}
/* Torn photo edge with quiet manuscript below. */
.stationery-cover[data-cover-layout="vellum"]{padding:0 9cqw 8cqw}.stationery-cover[data-cover-layout="vellum"] .stationery-portrait{order:-2;width:calc(100% + 18cqw);height:86cqw;border-radius:0;margin:0 -9cqw 9cqw;box-shadow:none;clip-path:polygon(0 0,100% 0,100% 96%,95% 98%,90% 95%,84% 99%,78% 97%,72% 100%,65% 96%,57% 99%,50% 96%,42% 100%,35% 97%,28% 99%,21% 96%,14% 100%,7% 96%,0 98%)}.stationery-cover[data-cover-layout="vellum"] .stationery-photo{object-position:50% 30%;filter:sepia(.13)}.stationery-cover[data-cover-layout="vellum"] .stationery-border,.stationery-cover[data-cover-layout="vellum"] .stationery-seal{display:none}.stationery-cover[data-cover-layout="vellum"] .stationery-title{font-size:min(var(--title-scale),11cqw)}.stationery-cover[data-cover-layout="vellum"] .stationery-title>span{display:inline}.stationery-cover[data-cover-layout="vellum"] .stationery-amp{display:inline;margin:0 .18em}.stationery-cover[data-cover-layout="vellum"] .stationery-motif{top:89cqw;width:12cqw}
/* A clean photo journal for birthdays, gatherings and animal lovers. */
.stationery-cover[data-cover-layout="companions"]{padding:10cqw 7cqw 8cqw}.stationery-cover[data-cover-layout="companions"] .stationery-border{display:none}.stationery-cover[data-cover-layout="companions"] .stationery-portrait{order:-1;width:100%;height:91cqw;border-radius:2cqw;margin:0 0 10cqw}.stationery-cover[data-cover-layout="companions"] .stationery-title{font-size:min(var(--title-scale),10cqw);letter-spacing:-.04em}.stationery-cover[data-cover-layout="companions"] .stationery-seal{display:none}.stationery-cover[data-cover-layout="companions"] .stationery-motif{top:89cqw;right:5cqw;background:var(--cover-paper);border-radius:50%;padding:2cqw;opacity:1;z-index:3}.stationery-cover[data-cover-layout="companions"] .stationery-kicker{font-size:2cqw;letter-spacing:.1em}
.sample-story .stationery-cover:is([data-cover-layout="paper"],[data-cover-layout="vellum"],[data-cover-layout="companions"]){height:auto;min-height:165cqw}.sample-story .stationery-cover:is([data-cover-layout="paper"],[data-cover-layout="vellum"],[data-cover-layout="companions"]) .stationery-portrait{flex-shrink:0}
.invitation:is(.paper,.vellum,.companions) .invite-root{background-color:var(--paper);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23p)' opacity='.04' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.invitation:is(.lunar,.vows,.afterhours,.paper,.vellum,.companions) .detail-card{border-radius:6px}.invitation:is(.vows,.vellum) .intro-block h2{font-style:italic}.invitation.afterhours .intro-block h2{font-family:var(--font-intro,Manrope,sans-serif);font-weight:800}.invitation:is(.paper,.vellum) .rsvp-banner{background:color-mix(in srgb,var(--accent) 12%,var(--paper))}
@media(max-width:700px){.motif-options{grid-template-columns:repeat(3,minmax(0,1fr))}.motif-options label>span{min-height:98px}}

/* Collection gallery miniatures load once and are cached across cards. */
.sample-gallery{padding:6cqw;background:var(--sample-paper);text-align:center}.sample-gallery>small{font:500 1.7cqw var(--sans);letter-spacing:.12em}.sample-gallery>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2cqw;margin-block:4cqw 3cqw}.sample-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:1cqw}.sample-gallery>span{font:400 1.8cqw var(--sans)}.hero-paper .sample-gallery,.preset-card .sample-gallery{display:none}.design-new{display:inline-block;font:650 9px var(--sans);letter-spacing:.1em;border:1px solid #73856380;border-radius:20px;padding:4px 7px;margin-bottom:8px;color:#3d5439}.preset-total{padding:14px 18px;background:#e8eee580;border-radius:12px}.background-options .background-swatch{background-size:100% 100%;background-repeat:no-repeat}
.invitation .invitation-decoration{background-size:100% auto}
.muse .stationery-cover .stationery-title{font-style:italic}.linen .stationery-cover .stationery-portrait{clip-path:none;border-bottom:2cqw solid var(--cover-accent)}.linen .stationery-cover .stationery-title{letter-spacing:.025em}.orbit .stationery-cover .stationery-title{font-family:var(--font-hero,Manrope,sans-serif);font-weight:700}.orbit .stationery-cover .stationery-portrait{transform:rotate(2deg)}.nightclub .stationery-cover:after{background:linear-gradient(#25113038,transparent 20%,#331345ec 100%)}.pawprints .stationery-cover .stationery-portrait{border-radius:44cqw 44cqw 2cqw 2cqw}.encore .stationery-cover .stationery-title{font-style:italic}
@media(max-width:700px){.experience-grid>*{min-width:0}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-grid>article{min-width:0}.feature-grid h3{overflow-wrap:anywhere}}
/* Portadas de estudio: solo disposición. */
.stationery-cover[data-cover-layout="revista"]{align-items:flex-start;justify-content:center;text-align:left;padding:14cqw 7cqw 9cqw 53cqw}
.stationery-cover[data-cover-layout="revista"] .stationery-portrait{position:absolute;left:0;top:0;bottom:0;width:46%;height:auto;margin:0;border-radius:0;box-shadow:none;outline:0}
.stationery-cover[data-cover-layout="revista"] .stationery-border{inset:4cqw 4cqw 4cqw 50cqw}
.stationery-cover[data-cover-layout="revista"] .stationery-kicker{margin:0 0 4cqw;max-width:100%}
.stationery-cover[data-cover-layout="revista"] .stationery-title{font-size:min(var(--title-scale),11.5cqw);text-align:left}
.stationery-cover[data-cover-layout="revista"] .stationery-date{justify-content:flex-start;gap:2cqw;margin:5cqw 0;max-width:100%}.stationery-cover[data-cover-layout="revista"] .stationery-date>span{width:auto;min-width:0;padding-inline:1cqw}
.stationery-cover[data-cover-layout="revista"] .stationery-tagline{margin:2cqw 0 5cqw;max-width:100%;text-align:left;font-size:4cqw}
.stationery-cover[data-cover-layout="revista"] .stationery-bottom{flex-wrap:wrap;gap:1.5cqw 3cqw}
.stationery-cover[data-cover-layout="revista"] .stationery-seal{left:38cqw;right:auto;bottom:12cqw}
.stationery-cover[data-cover-layout="revista"] .stationery-motif{width:20cqw;right:5cqw;top:5cqw}
.stationery-cover[data-cover-layout="ventanas"] .stationery-portrait{width:94%;height:84cqw;border-radius:0;box-shadow:none;outline:0;margin:1cqw auto 6cqw;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 280' preserveAspectRatio='none'%3E%3Cpath d='M0 280V78A46 46 0 0 1 92 78V280ZM104 280V48A46 46 0 0 1 196 48V280ZM208 280V78A46 46 0 0 1 300 78V280Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 280' preserveAspectRatio='none'%3E%3Cpath d='M0 280V78A46 46 0 0 1 92 78V280ZM104 280V48A46 46 0 0 1 196 48V280ZM208 280V78A46 46 0 0 1 300 78V280Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.stationery-cover[data-cover-layout="ventanas"] .stationery-title{font-size:min(var(--title-scale),13cqw)}
.stationery-cover[data-cover-layout="ventanas"] .stationery-date{margin:4cqw 0 6cqw}
.stationery-cover[data-cover-layout="ventanas"] .stationery-seal{position:relative;inset:auto;margin:-11cqw auto 3cqw;width:13cqw;height:13cqw;z-index:3}
.stationery-cover[data-cover-layout="ventanas"] .stationery-border{inset:4cqw;border-radius:44cqw 44cqw 2cqw 2cqw}
.stationery-cover[data-cover-layout="estampilla"] .stationery-portrait{width:70%;height:86cqw;margin:1cqw auto 8cqw;padding:3.4cqw;border-radius:0;background:#fff;box-shadow:none;outline:0;transform:rotate(-2.5deg);filter:drop-shadow(0 1.6cqw 2.4cqw color-mix(in srgb,var(--cover-ink) 18%,transparent));-webkit-mask:radial-gradient(circle 1.15cqw at 50% 50%,#0000 97%,#000) -1.7cqw -1.7cqw/3.4cqw 3.4cqw,linear-gradient(#000 0 0) content-box;mask:radial-gradient(circle 1.15cqw at 50% 50%,#0000 97%,#000) -1.7cqw -1.7cqw/3.4cqw 3.4cqw,linear-gradient(#000 0 0) content-box}
.stationery-cover[data-cover-layout="estampilla"] .stationery-title{font-size:min(var(--title-scale),13cqw)}
.stationery-cover[data-cover-layout="estampilla"] .stationery-date{margin:4cqw 0 6cqw}
.stationery-cover[data-cover-layout="estampilla"] .stationery-seal{position:relative;inset:auto;align-self:flex-end;margin:-30cqw 5cqw 8cqw 0;width:22cqw;height:22cqw;background:transparent!important;color:var(--cover-accent)!important;border:.5cqw solid currentColor;outline:.35cqw dashed currentColor;outline-offset:1.3cqw;box-shadow:none!important;transform:rotate(-14deg);font-size:5cqw;z-index:3;mix-blend-mode:multiply}
.stationery-cover[data-cover-layout="estampilla"] .stationery-border{inset:4cqw;border-style:dashed}
/* Portadas minimalistas: tipografía y aire. */
.stationery-monogram,.stationery-date-numeric{display:none}
.stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="margen"],[data-cover-layout="retrato"]){justify-content:center;padding:17cqw 12cqw 13cqw;min-height:136cqw}
.stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="margen"],[data-cover-layout="retrato"]) .stationery-seal{display:none}
.stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="margen"]) .stationery-portrait{display:none}
.stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="retrato"]) .stationery-motif{position:static;width:15cqw;margin:0 auto 7cqw;opacity:.85}
.stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="retrato"]) .stationery-title{font-size:min(var(--title-scale),7.4cqw);text-transform:uppercase;letter-spacing:.2em;line-height:1.55;padding-left:.2em}
.titles-script .stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="retrato"]) .stationery-title{font-size:min(var(--title-scale),13cqw);padding-left:0}
.stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="margen"],[data-cover-layout="retrato"]) .stationery-kicker{letter-spacing:.3em;margin-bottom:7cqw}
.stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="margen"],[data-cover-layout="retrato"]) .stationery-tagline{font-size:3.7cqw;margin-top:2cqw}
.stationery-cover:is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="retrato"]) .stationery-bottom{display:none}
.stationery-cover[data-cover-layout="carta"] .stationery-border{inset:5cqw;border-width:1px}
.stationery-cover[data-cover-layout="carta"] .stationery-title:after{content:'';display:block;width:11cqw;height:1px;margin:7cqw auto 0;background:currentColor;opacity:.4}
.stationery-cover[data-cover-layout="carta"] .stationery-date{margin:7cqw 0 6cqw}
.stationery-cover[data-cover-layout="fecha"] .stationery-border{display:none}
.stationery-cover[data-cover-layout="fecha"] .stationery-date{display:none}
.stationery-cover[data-cover-layout="fecha"] .stationery-date-numeric{display:flex;align-items:center;justify-content:center;gap:3.2cqw;margin:9cqw 0 8cqw;font:300 17cqw/1 var(--title-font,var(--font-hero,var(--cover-font)));letter-spacing:.02em;font-variant-numeric:lining-nums}
.titles-script .stationery-cover[data-cover-layout="fecha"] .stationery-date-numeric{font-family:var(--text-font,var(--cover-font))}
.stationery-cover[data-cover-layout="fecha"] .stationery-date-numeric i{font-style:normal;font-size:.45em;color:var(--cover-accent)}
.stationery-cover[data-cover-layout="fecha"] .stationery-title{font-size:min(var(--title-scale),5.6cqw)}
.stationery-cover[data-cover-layout="monograma"] .stationery-border{display:none}
.stationery-cover[data-cover-layout="monograma"] .stationery-monogram{display:grid;place-items:center;width:36cqw;height:36cqw;margin:0 auto 9cqw;border:1px solid color-mix(in srgb,var(--cover-ink) 55%,transparent);border-radius:50%;outline:1px solid color-mix(in srgb,var(--cover-accent) 70%,transparent);outline-offset:1.6cqw;font:400 14cqw/1 var(--title-font,var(--font-hero,var(--cover-font)));letter-spacing:.02em;white-space:nowrap}
.stationery-cover[data-cover-layout="monograma"].stationery-couple .stationery-monogram{font-size:9.5cqw}
.stationery-cover[data-cover-layout="monograma"] .stationery-date{margin:7cqw 0 5cqw}
.stationery-cover[data-cover-layout="margen"]{align-items:flex-start;text-align:left;padding:18cqw 9cqw 13cqw 18cqw}
.stationery-cover[data-cover-layout="margen"] .stationery-border{inset:12cqw auto 12cqw 10cqw;width:0;border:0;border-left:1px solid color-mix(in srgb,var(--cover-ink) 45%,transparent)}
.stationery-cover[data-cover-layout="margen"] .stationery-motif{width:16cqw;right:8cqw;top:10cqw}
.stationery-cover[data-cover-layout="margen"] .stationery-kicker{margin-inline:0;max-width:100%}
.stationery-cover[data-cover-layout="margen"] .stationery-title{font-size:min(var(--title-scale),13cqw);line-height:1.08;text-align:left;letter-spacing:-.02em}
.stationery-cover[data-cover-layout="margen"] .stationery-date{justify-content:flex-start;gap:3cqw;margin:8cqw 0 6cqw}
.stationery-cover[data-cover-layout="margen"] .stationery-date>span{min-width:0;padding-inline:1.5cqw}
.stationery-cover[data-cover-layout="margen"] .stationery-tagline{margin-inline:0;max-width:100%;text-align:left}
.stationery-cover[data-cover-layout="margen"] .stationery-bottom{margin-top:10cqw}
.stationery-cover[data-cover-layout="retrato"] .stationery-border{display:none}
.stationery-cover[data-cover-layout="retrato"] .stationery-portrait{order:-1;flex:none;width:40cqw;height:40cqw;margin:0 auto 9cqw;border-radius:50%;box-shadow:none;outline:1px solid color-mix(in srgb,var(--cover-accent) 80%,transparent);outline-offset:1.6cqw}
.stationery-cover[data-cover-layout="retrato"] .stationery-motif{order:-2;margin-bottom:5cqw}
.stationery-cover[data-cover-layout="retrato"] .stationery-date{margin:7cqw 0 5cqw}
.motif-custom{display:block;width:100%;height:auto;object-fit:contain}.stationery-cover:is([data-motif="custom"],[data-motif^="u_"]):not([data-motif="original"]) .stationery-motif{width:26cqw;height:auto;opacity:1}.motif-intro .motif-custom{width:auto;max-width:150px;max-height:110px;margin:auto}.section-flourish .motif-custom{max-width:140px;max-height:110px;margin:auto}
.stationery-cover:is([data-motif="custom"],[data-motif^="u_"]):not([data-motif="original"]):is([data-cover-layout="carta"],[data-cover-layout="fecha"],[data-cover-layout="monograma"],[data-cover-layout="retrato"]) .stationery-motif{width:30cqw;margin-bottom:6cqw}
/* Color del logo en la portada (editor: «Color del logo en la portada»): el logo se pinta de un solo color usando su silueta
   como máscara (--logo-mask, InvitationDesign::logoPaint). La imagen se corre fuera de su caja y el fondo de la caja pinta. */
.stationery-cover[data-logo-color] .stationery-motif .motif-custom{object-position:-500vw 0;background:var(--logo-paint);background-blend-mode:var(--logo-blend,normal);-webkit-mask:var(--logo-mask) center/contain no-repeat;mask:var(--logo-mask) center/contain no-repeat}
.stationery-cover[data-logo-color="gold"]{--logo-paint:var(--foil,linear-gradient(115deg,#9a7432 0%,#f3dc9b 18%,#c19a4d 34%,#fff4d2 48%,#b68b3f 62%,#efd48d 80%,#9a7432 100%));--logo-blend:var(--foil-blend,normal),normal}
.stationery-cover[data-logo-color="white"]{--logo-paint:#fff}.stationery-cover[data-logo-color="black"]{--logo-paint:#111}
/* Gran apertura: el logo del local arriba, una cinta para cortar y, si se carga, la foto del local como vidriera. */
.stationery-ribbon{display:none}
.stationery-cover[data-cover-layout="apertura"]{justify-content:center;min-height:138cqw;padding:13cqw 9cqw 10cqw;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--cover-accent) 14%,transparent),transparent 62%),var(--cover-paper)}
.stationery-cover[data-cover-layout="apertura"] .stationery-border{inset:4cqw;border-radius:3cqw;border-color:color-mix(in srgb,var(--cover-accent) 45%,transparent)}
.stationery-cover[data-cover-layout="apertura"][data-motif] .stationery-motif{position:static;width:52cqw;margin:0 auto 6cqw;opacity:1}
.stationery-cover[data-cover-layout="apertura"][data-motif]:not([data-motif="custom"]):not([data-motif^="u_"]) .stationery-motif{width:18cqw}
.stationery-cover[data-cover-layout="apertura"][data-motif] .stationery-motif .motif-custom{width:auto;max-width:100%;max-height:30cqw;margin:0 auto}
.stationery-cover[data-cover-layout="apertura"][data-motif="none"] .stationery-monogram{display:grid;place-items:center;width:25cqw;height:25cqw;margin:0 auto 7cqw;border-radius:50%;background:var(--cover-accent);color:var(--cover-paper);font:600 11cqw/1 var(--title-font,var(--font-hero,var(--cover-font)));box-shadow:0 0 0 1.3cqw var(--cover-paper),0 0 0 1.6cqw color-mix(in srgb,var(--cover-accent) 55%,transparent)}
.stationery-cover[data-cover-layout="apertura"] .stationery-kicker{font-weight:700;letter-spacing:.32em;color:var(--cover-accent);margin-bottom:4cqw}
.stationery-cover[data-cover-layout="apertura"] .stationery-title{font-weight:650;letter-spacing:-.035em;font-size:min(var(--title-scale),12.5cqw)}
.titles-script .stationery-cover[data-cover-layout="apertura"] .stationery-title{font-weight:400;letter-spacing:0}
.stationery-cover[data-cover-layout="apertura"] .stationery-ribbon{display:block;align-self:stretch;margin:6cqw -9cqw 1cqw;height:13cqw;color:var(--cover-accent)}
.stationery-cover[data-cover-layout="apertura"] .stationery-ribbon:before{content:'';position:absolute;left:0;right:0;top:50%;height:4.4cqw;transform:translateY(-50%);background:linear-gradient(180deg,color-mix(in srgb,currentColor 70%,#fff),currentColor 42%,color-mix(in srgb,currentColor 80%,#000));box-shadow:0 .8cqw 1.8cqw #0002}
.stationery-cover[data-cover-layout="apertura"] .stationery-ribbon svg{position:relative;display:block;width:24cqw;height:12.8cqw;margin:0 auto;color:color-mix(in srgb,var(--cover-accent) 86%,#000);filter:drop-shadow(0 .6cqw .8cqw #0003)}
.stationery-cover[data-cover-layout="apertura"] .stationery-date{margin:4cqw 0 6cqw}
.stationery-cover[data-cover-layout="apertura"] .stationery-seal{display:none}
.stationery-cover[data-cover-layout="apertura"]:not([data-cover-photo="own"]) .stationery-portrait{display:none}
.stationery-cover[data-cover-layout="apertura"] .stationery-portrait{box-sizing:border-box;width:100%;height:60cqw;margin:0 auto 6cqw;padding-top:6cqw;border-radius:2.4cqw 2.4cqw 1.4cqw 1.4cqw;background:repeating-linear-gradient(90deg,var(--cover-accent) 0 7.4cqw,var(--cover-paper) 7.4cqw 14.8cqw) top/100% 6cqw no-repeat,color-mix(in srgb,var(--cover-accent) 12%,var(--cover-paper))}
.stationery-cover[data-cover-layout="apertura"] .stationery-portrait .stationery-photo{filter:none}
.stationery-cover[data-cover-layout="apertura"] .stationery-tagline{font-size:4cqw;margin-top:0}
.stationery-cover[data-category="apertura"] .stationery-seal{font:700 2.2cqw/1.1 var(--sans);letter-spacing:.02em;text-align:center}
/* Portada personal: el nombre del invitado y la frase de la invitación. */
.stationery-stage .stationery-cover .stationery-kicker.is-personal{max-width:88%;margin-bottom:5cqw;font:400 3.5cqw/1.45 var(--text-font,var(--sans));letter-spacing:.01em;text-transform:none;color:inherit}
.stationery-stage .stationery-cover .stationery-kicker.is-personal b{display:block;margin-bottom:1.2cqw;font:400 7.4cqw/1.08 var(--title-font,var(--font-hero,var(--cover-font)));letter-spacing:-.02em;color:var(--cover-accent);text-wrap:balance}
/* Aperturas premium: «Etiqueta negra» (y su familia, [data-deco]: ver art-deco.css), «Mármol y dorado» y «Se abre el telón». El dorado sale del acento o de «Detalles que brillan».
   Mármol, terciopelo, papel negro y metal son fotos hechas en Magnific (public/assets/aperturas): las grises se tiñen con el color de la marca. */
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]){--foil-flat:var(--metal,linear-gradient(115deg,color-mix(in srgb,var(--cover-accent) 68%,#000) 0%,var(--cover-accent) 18%,color-mix(in srgb,var(--cover-accent) 38%,#fff) 34%,var(--cover-accent) 50%,color-mix(in srgb,var(--cover-accent) 74%,#000) 66%,color-mix(in srgb,var(--cover-accent) 46%,#fff) 84%,var(--cover-accent) 100%));--foil:url(/assets/aperturas/metal.webp) center/cover,var(--foil-flat);--foil-blend:luminosity;--foil-solid:var(--metal-solid,var(--cover-accent));justify-content:center}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) :is(.opening-corners>i,.opening-stars>i,.opening-tassel,.opening-fringe,.stationery-date>b),.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-date:before,.stationery-cover[data-deco] .stationery-title,.stationery-cover[data-cover-layout="marmol"] .stationery-border{background-blend-mode:var(--foil-blend),normal}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) :is(.opening-corners,.opening-corners>i,.opening-marble,.opening-arch,.opening-stars,.opening-stars>i,.opening-spotlight,.opening-curtain,.opening-tassel,.opening-valance,.opening-fringe){position:absolute;pointer-events:none}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-seal,.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]):not([data-cover-photo="own"]) .stationery-portrait{display:none}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"])[data-motif="none"] .stationery-monogram{display:grid;place-items:center;box-sizing:border-box}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-kicker{font:500 2.2cqw/1.7 Jost,var(--sans);letter-spacing:.42em;padding-left:.42em;margin-bottom:5cqw}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-date{position:relative;margin:10cqw 0 6cqw}.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-date:before{content:'';position:absolute;left:50%;top:-6.5cqw;width:34cqw;height:3.4cqw;transform:translateX(-50%);background:var(--foil);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6h49M71 6h49' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M60 .5 65.5 6 60 11.5 54.5 6Z'/%3E%3Ccircle cx='45' cy='6' r='1.6'/%3E%3Ccircle cx='75' cy='6' r='1.6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6h49M71 6h49' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M60 .5 65.5 6 60 11.5 54.5 6Z'/%3E%3Ccircle cx='45' cy='6' r='1.6'/%3E%3Ccircle cx='75' cy='6' r='1.6'/%3E%3C/svg%3E") center/contain no-repeat}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-date>b{font:500 9cqw/1 var(--title-font,var(--font-hero,var(--cover-font)));font-variant-numeric:lining-nums;letter-spacing:0;background:var(--foil);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-tagline{font:italic 400 4.6cqw/1.45 var(--text-font,Cormorant,Georgia,serif);margin:0 auto 5cqw}
.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-bottom{position:relative;z-index:4;font:500 1.75cqw/1.5 Jost,var(--sans);letter-spacing:.32em;color:color-mix(in srgb,var(--foil-solid) 82%,#fff)}.stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-bottom i{color:var(--foil-solid)}
.stationery-stage .stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]) .stationery-kicker.is-personal b{color:var(--foil-solid)}
/* La medalla: el logo del local (o su inicial) sobre un círculo claro con aro dorado. */
.stationery-cover:is([data-deco],[data-cover-layout="telon"])[data-motif]:not([data-motif="none"]) .stationery-motif,.stationery-cover:is([data-deco],[data-cover-layout="telon"])[data-motif="none"] .stationery-monogram{position:relative;inset:auto;display:grid;place-items:center;box-sizing:border-box;width:31cqw;height:31cqw;margin:0 auto 6.5cqw;padding:5.4cqw;border:1cqw solid transparent;border-radius:50%;background:radial-gradient(circle at 50% 32%,#fffefa,#efe6d3) padding-box,var(--foil) border-box;background-blend-mode:normal,var(--foil-blend),normal;opacity:1;color:color-mix(in srgb,var(--cover-accent) 78%,#000);box-shadow:0 0 0 1.5cqw var(--medal-gap),0 0 0 1.85cqw var(--foil-solid),0 3cqw 8cqw #0008}
.stationery-cover:is([data-deco],[data-cover-layout="telon"]) .stationery-motif .motif-custom{width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:contain}.stationery-cover:is([data-deco],[data-cover-layout="telon"]) .stationery-motif svg{width:78%;height:auto}
.stationery-cover:is([data-deco],[data-cover-layout="telon"])[data-motif="custom"][data-logo="wide"] .stationery-motif{width:62cqw;height:25cqw;padding:3.4cqw 6.5cqw;border-radius:99cqw}.stationery-cover[data-cover-layout="telon"][data-motif="custom"][data-logo="wide"] .stationery-motif{width:50cqw;height:21cqw;padding:2.8cqw 5cqw}
.stationery-cover:is([data-deco],[data-cover-layout="telon"])[data-motif="none"] .stationery-monogram{padding:0;font:500 14cqw/1 var(--title-font,var(--font-hero,var(--cover-font)));letter-spacing:0}
/* Etiqueta negra: negro profundo, marco art déco y letras doradas. Lo comparten las portadas de art-deco.css. */
.stationery-cover[data-deco]{--lit:color-mix(in srgb,var(--cover-accent) 55%,#fff);--foil-flat:var(--metal,linear-gradient(115deg,color-mix(in srgb,var(--lit) 72%,#000) 0%,var(--lit) 18%,color-mix(in srgb,var(--lit) 45%,#fff) 34%,var(--lit) 50%,color-mix(in srgb,var(--lit) 80%,#000) 66%,color-mix(in srgb,var(--lit) 55%,#fff) 84%,var(--lit) 100%));--foil-solid:var(--metal-solid,var(--lit));--ink-light:#f4ebd8;--medal-gap:#110f0c;min-height:152cqw;padding:17cqw 12cqw 12cqw;color:var(--ink-light);background:radial-gradient(ellipse 85% 55% at 50% 24%,color-mix(in srgb,var(--cover-accent) 22%,transparent),transparent 74%),linear-gradient(#0b0a08a6,#0b0a08a6),url(/assets/aperturas/papel-negro.webp) center/cover #0e0d0b;background-blend-mode:screen,normal,normal}
.stationery-cover[data-deco]:before{opacity:.5;mix-blend-mode:overlay}
.stationery-cover[data-deco] .stationery-border{inset:4.5cqw;border:.55cqw solid;border-image:var(--foil-flat) 1}.stationery-cover[data-deco] .stationery-border:after{content:'';position:absolute;inset:1.3cqw;border:1px solid color-mix(in srgb,var(--foil-solid) 55%,transparent)}
.stationery-cover[data-deco] .opening-corners{inset:7.4cqw}.stationery-cover[data-deco] .opening-corners>i{width:20cqw;height:20cqw;background:var(--foil);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23000'%3E %3Cpath d='M1.5 99V27h10V11.5h15.5V1.5H99' stroke-width='1.6'/%3E%3Cpath d='M7 99V32h10V17h15V7h67' stroke-width='.7'/%3E %3Cg stroke-width='.9'%3E%3Cpath d='M22 22l25 3M22 22l22 13M22 22l13 22M22 22l3 25'/%3E%3C/g%3E%3Cpath d='M22 48a26 26 0 0 0 26-26' stroke-width='1.3'/%3E %3Cpath d='M22 55a33 33 0 0 0 33-33' stroke-width='.6'/%3E%3Ccircle cx='22' cy='22' r='3.4' fill='%23000' stroke='none'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23000'%3E %3Cpath d='M1.5 99V27h10V11.5h15.5V1.5H99' stroke-width='1.6'/%3E%3Cpath d='M7 99V32h10V17h15V7h67' stroke-width='.7'/%3E %3Cg stroke-width='.9'%3E%3Cpath d='M22 22l25 3M22 22l22 13M22 22l13 22M22 22l3 25'/%3E%3C/g%3E%3Cpath d='M22 48a26 26 0 0 0 26-26' stroke-width='1.3'/%3E %3Cpath d='M22 55a33 33 0 0 0 33-33' stroke-width='.6'/%3E%3Ccircle cx='22' cy='22' r='3.4' fill='%23000' stroke='none'/%3E%3C/svg%3E") center/contain no-repeat}
.stationery-cover[data-deco] .opening-corners>i:nth-child(1){left:0;top:0}.stationery-cover[data-deco] .opening-corners>i:nth-child(2){right:0;top:0;transform:scaleX(-1)}.stationery-cover[data-deco] .opening-corners>i:nth-child(3){left:0;bottom:0;transform:scaleY(-1)}.stationery-cover[data-deco] .opening-corners>i:nth-child(4){right:0;bottom:0;transform:scale(-1)}
.stationery-cover[data-deco] .stationery-kicker{color:var(--foil-solid)}.stationery-cover[data-deco] .stationery-kicker.is-personal{color:var(--ink-light)}
.stationery-cover[data-deco] .stationery-title{font-weight:500;font-size:min(var(--title-scale),10.6cqw,calc(99cqw / var(--title-word,8)));line-height:1.06;letter-spacing:.05em;text-transform:uppercase;background:var(--foil);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 .35cqw .5cqw #000a)}
.titles-script .stationery-cover[data-deco] .stationery-title{text-transform:none;letter-spacing:0}
.stationery-cover[data-deco] .stationery-date>span{border-color:color-mix(in srgb,var(--foil-solid) 55%,transparent);color:var(--ink-light)}
.stationery-cover[data-deco] .stationery-tagline{color:color-mix(in srgb,var(--ink-light) 86%,transparent)}
.stationery-cover[data-deco] .stationery-portrait{width:80%;height:54cqw;margin:0 auto 7cqw;padding:1cqw;border-radius:0;background:var(--foil);box-shadow:0 2.5cqw 7cqw #0009}.stationery-cover[data-deco] .stationery-portrait .stationery-photo{filter:none}
/* Mármol y dorado: mármol claro, un arco como la puerta del local y el logo tal cual. */
.stationery-cover[data-cover-layout="marmol"]{--deep:color-mix(in srgb,var(--cover-accent) 80%,#000);--foil-blend:multiply;--foil-flat:var(--metal,linear-gradient(115deg,color-mix(in srgb,var(--deep) 68%,#000) 0%,var(--deep) 18%,color-mix(in srgb,var(--deep) 50%,#fff) 34%,var(--deep) 50%,color-mix(in srgb,var(--deep) 74%,#000) 66%,color-mix(in srgb,var(--deep) 56%,#fff) 84%,var(--deep) 100%));--foil-solid:var(--metal-solid,var(--deep));--medal-gap:var(--cover-paper);min-height:152cqw;padding:21cqw 16cqw 13cqw;background:radial-gradient(ellipse 75% 40% at 50% 20%,#ffffffb8,transparent 72%),var(--cover-paper)}
.stationery-cover[data-cover-layout="marmol"] .opening-marble{inset:0;z-index:0;background:url(/assets/aperturas/marmol.webp) center/cover;mix-blend-mode:multiply}
.stationery-cover[data-cover-layout="marmol"] .stationery-border{inset:7cqw 8.5cqw 5.5cqw;border:.6cqw solid transparent;border-radius:42cqw 42cqw 1.2cqw 1.2cqw;background:var(--foil) border-box;-webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) padding-box exclude,linear-gradient(#000 0 0)}
.stationery-cover[data-cover-layout="marmol"] .opening-arch{inset:9cqw 10.5cqw 7.5cqw;z-index:1;border:1px solid color-mix(in srgb,var(--foil-solid) 50%,transparent);border-radius:40cqw 40cqw .6cqw .6cqw;background:radial-gradient(ellipse 80% 60% at 50% 40%,color-mix(in srgb,var(--cover-paper) 72%,transparent),color-mix(in srgb,var(--cover-paper) 45%,transparent))}
.stationery-cover[data-cover-layout="marmol"] .opening-stars{inset:0}.stationery-cover[data-cover-layout="marmol"] .opening-stars>i{width:6cqw;height:6cqw;background:var(--foil);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0C53 36 64 47 100 50 64 53 53 64 50 100 47 64 36 53 0 50 36 47 47 36 50 0Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0C53 36 64 47 100 50 64 53 53 64 50 100 47 64 36 53 0 50 36 47 47 36 50 0Z'/%3E%3C/svg%3E") center/contain no-repeat}.stationery-cover[data-cover-layout="marmol"] .opening-stars>i:nth-child(1){left:5cqw;top:44cqw}.stationery-cover[data-cover-layout="marmol"] .opening-stars>i:nth-child(2){right:5cqw;top:44cqw}.stationery-cover[data-cover-layout="marmol"] .opening-stars>i:nth-child(3){left:50%;top:3.2cqw;width:4cqw;height:4cqw;transform:translateX(-50%)}
.stationery-cover[data-cover-layout="marmol"][data-motif]:not([data-motif="none"]) .stationery-motif{position:static;width:46cqw;height:auto;margin:0 auto 5cqw;opacity:1;color:var(--foil-solid)}.stationery-cover[data-cover-layout="marmol"] .stationery-motif .motif-custom{width:auto;max-width:100%;max-height:24cqw;margin:0 auto;filter:drop-shadow(0 .4cqw .7cqw #0002)}.stationery-cover[data-cover-layout="marmol"] .stationery-motif svg{width:15cqw;margin:0 auto}
.stationery-cover[data-cover-layout="marmol"][data-motif="none"] .stationery-monogram{width:24cqw;height:24cqw;margin:0 auto 6cqw;border:.5cqw solid transparent;border-radius:50%;background:linear-gradient(color-mix(in srgb,var(--cover-paper) 85%,#fff),color-mix(in srgb,var(--cover-paper) 85%,#fff)) padding-box,var(--foil) border-box;background-blend-mode:normal,var(--foil-blend),normal;color:color-mix(in srgb,var(--cover-accent) 80%,#000);font:500 11.5cqw/1 var(--title-font,var(--font-hero,var(--cover-font)));box-shadow:0 0 0 1.3cqw var(--cover-paper),0 0 0 1.55cqw color-mix(in srgb,var(--foil-solid) 45%,transparent)}
.stationery-cover[data-cover-layout="marmol"] .stationery-kicker{color:color-mix(in srgb,var(--cover-accent) 82%,#000)}
.stationery-cover[data-cover-layout="marmol"] .stationery-title{font-weight:500;font-size:min(var(--title-scale),12.4cqw,calc(117cqw / var(--title-word,8)));line-height:1.02;letter-spacing:-.01em}
.stationery-cover[data-cover-layout="marmol"] .stationery-date{display:inline-flex;align-self:center;gap:3cqw;padding:1.8cqw 5.5cqw;border:.5cqw solid transparent;border-radius:99cqw;background:linear-gradient(color-mix(in srgb,var(--cover-paper) 82%,#fff),color-mix(in srgb,var(--cover-paper) 82%,#fff)) padding-box,var(--foil) border-box;background-blend-mode:normal,var(--foil-blend),normal}.stationery-cover[data-cover-layout="marmol"] .stationery-date>span{border:0;min-width:0;padding:0}
.stationery-cover[data-cover-layout="marmol"] .stationery-bottom{color:color-mix(in srgb,var(--cover-accent) 80%,#000)}
.stationery-cover[data-cover-layout="marmol"] .stationery-portrait{width:66%;height:60cqw;margin:0 auto 7cqw;border-radius:33cqw 33cqw 1cqw 1cqw;outline:.5cqw solid var(--foil-solid);outline-offset:1.4cqw;box-shadow:none}.stationery-cover[data-cover-layout="marmol"] .stationery-portrait .stationery-photo{filter:none}
/* Se abre el telón: terciopelo del color de acento, luz de escenario y el nombre en un cartel con lamparitas. */
.stationery-cover[data-cover-layout="telon"]{--foil-flat:var(--metal,linear-gradient(115deg,#8b6426 0%,#ebcb80 20%,#b98b3e 38%,#fff0c4 52%,#a87a32 68%,#e6c578 86%,#8b6426 100%));--foil-solid:var(--metal-solid,#c9a14f);--stage:color-mix(in srgb,var(--cover-paper) 84%,#000);--medal-gap:var(--stage);min-height:160cqw;padding:27cqw 17cqw 15cqw;background:radial-gradient(ellipse 48% 38% at 50% 30%,color-mix(in srgb,var(--cover-paper) 70%,#fff3d8),transparent),linear-gradient(180deg,color-mix(in srgb,var(--cover-paper) 80%,#000),var(--cover-paper) 30% 70%,color-mix(in srgb,var(--cover-paper) 66%,#000))}
.stationery-cover[data-cover-layout="telon"] .stationery-border{display:none}
.stationery-cover[data-cover-layout="telon"] .opening-spotlight{left:50%;top:0;z-index:1;width:100cqw;height:130cqw;transform:translateX(-50%);background:conic-gradient(from 180deg at 50% 0,transparent 158deg,#fff4d824 171deg,#fff4d83d 180deg,#fff4d824 189deg,transparent 202deg);-webkit-mask:linear-gradient(#000 45%,transparent);mask:linear-gradient(#000 45%,transparent)}
.stationery-cover[data-cover-layout="telon"] .opening-curtain{top:0;bottom:0;z-index:3;width:27cqw;background:linear-gradient(180deg,#0006,#0000 22%,#0000 80%,#0007),url(/assets/aperturas/terciopelo.webp) 0 0/auto 100% var(--cover-accent);background-blend-mode:normal,hard-light;clip-path:polygon(0 0,100% 0,97% 14%,86% 33%,62% 51%,33% 61%,38% 66%,60% 80%,76% 100%,0 100%)}
.stationery-cover[data-cover-layout="telon"] .opening-curtain.is-left{left:0}.stationery-cover[data-cover-layout="telon"] .opening-curtain.is-right{right:0;transform:scaleX(-1)}
.stationery-cover[data-cover-layout="telon"] .opening-tassel{top:calc(61% - 5cqw);z-index:4;width:6cqw;height:13.5cqw;background:var(--foil);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 90'%3E%3Cpath d='M2 14C10 2 30 2 38 14' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle cx='20' cy='20' r='7'/%3E%3Cpath d='M13 27h14l-1.5 6h-11z'/%3E%3Cpath d='M12.5 34h15l6 50c-3 3-24 3-27 0z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 90'%3E%3Cpath d='M2 14C10 2 30 2 38 14' fill='none' stroke='%23000' stroke-width='5'/%3E%3Ccircle cx='20' cy='20' r='7'/%3E%3Cpath d='M13 27h14l-1.5 6h-11z'/%3E%3Cpath d='M12.5 34h15l6 50c-3 3-24 3-27 0z'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 .6cqw .6cqw #0006)}.stationery-cover[data-cover-layout="telon"] .opening-tassel.is-left{left:6cqw}.stationery-cover[data-cover-layout="telon"] .opening-tassel.is-right{right:6cqw}
.stationery-cover[data-cover-layout="telon"] .opening-valance{left:0;right:0;top:0;z-index:5;height:17cqw;background:linear-gradient(180deg,#0000 55%,#0005),url(/assets/aperturas/terciopelo.webp) 0 0/36cqw auto repeat-x var(--cover-accent);background-blend-mode:normal,hard-light;-webkit-mask:radial-gradient(6.25cqw 5cqw at 50% 0,#000 98%,#0000) 0 12cqw/12.5cqw 5cqw repeat-x,linear-gradient(#000 0 0) 0 0/100% 12.2cqw no-repeat;mask:radial-gradient(6.25cqw 5cqw at 50% 0,#000 98%,#0000) 0 12cqw/12.5cqw 5cqw repeat-x,linear-gradient(#000 0 0) 0 0/100% 12.2cqw no-repeat}
.stationery-cover[data-cover-layout="telon"] .opening-fringe{left:0;right:0;top:11cqw;z-index:6;height:1.3cqw;background:var(--foil);box-shadow:0 .4cqw .8cqw #0005}
.stationery-cover[data-cover-layout="telon"] .stationery-kicker,.stationery-cover[data-cover-layout="telon"] .stationery-bottom,.stationery-cover[data-cover-layout="telon"] .stationery-bottom i{color:color-mix(in srgb,var(--foil-solid) 72%,#000)}.stationery-cover[data-cover-layout="telon"] .stationery-kicker.is-personal{color:var(--cover-ink)}
/* Navegadores nuevos: el color de marca se aclara (etiqueta) u oscurece (mármol) solo lo justo, sin perder su tono. */
@supports (color:oklch(from red l c h)){.stationery-cover[data-deco]{--lit:oklch(from var(--cover-accent) max(l,.76) c h)}.stationery-cover[data-cover-layout="marmol"]{--deep:oklch(from var(--cover-accent) min(l,.64) c h)}}
.stationery-cover[data-cover-layout="telon"] .stationery-title{position:relative;box-sizing:border-box;width:auto;max-width:100%;margin:1cqw auto 0;padding:5.2cqw 5.6cqw;font-size:min(var(--title-scale),9.4cqw,calc(95cqw / var(--title-word,8)));line-height:1.06;letter-spacing:-.01em;color:var(--cover-ink);background:var(--stage);border:.4cqw solid var(--foil-solid);border-radius:1.6cqw;box-shadow:0 0 0 1.2cqw var(--stage),0 0 0 1.55cqw var(--foil-solid),0 3cqw 7cqw #0009;text-shadow:0 0 3cqw color-mix(in srgb,var(--cover-ink) 50%,transparent)}
.stationery-cover[data-cover-layout="telon"] .stationery-title:before{content:'';position:absolute;inset:.4cqw;box-sizing:border-box;padding:1.5cqw;border-radius:1.2cqw;background:radial-gradient(circle,#fffbe9 0 .42cqw,#ffd56e .5cqw .7cqw,#ffd56e00 1.05cqw) -.2cqw -.2cqw/3.1cqw 3.1cqw;-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 exclude,linear-gradient(#000 0 0);filter:drop-shadow(0 0 .6cqw #ffcf5c)}
.stationery-cover[data-cover-layout="telon"] .stationery-date>span{border-color:color-mix(in srgb,var(--foil-solid) 55%,transparent)}
.stationery-cover[data-cover-layout="telon"] .stationery-tagline{color:color-mix(in srgb,var(--cover-ink) 88%,transparent)}
.stationery-cover[data-cover-layout="telon"] .stationery-bottom{position:relative;z-index:4}
.stationery-cover[data-cover-layout="telon"] .stationery-portrait{width:100%;height:42cqw;margin:0 auto 6cqw;border:.5cqw solid var(--foil-solid);border-radius:1.2cqw;box-shadow:0 2cqw 6cqw #0008}.stationery-cover[data-cover-layout="telon"] .stationery-portrait .stationery-photo{filter:none}
.sample-story .stationery-cover:is([data-deco],[data-cover-layout="marmol"],[data-cover-layout="telon"]){height:auto;min-height:153cqw}
/* Mármol con una web oscura: mármol negro con vetas claras y dorados claros. */
.stationery-cover[data-cover-layout="marmol"][data-tone="dark"]{--deep:color-mix(in srgb,var(--cover-accent) 62%,#fff);--foil-blend:luminosity;background:radial-gradient(ellipse 75% 40% at 50% 20%,#ffffff12,transparent 72%),var(--cover-paper)}
.stationery-cover[data-cover-layout="marmol"][data-tone="dark"] .opening-marble{filter:invert(1);mix-blend-mode:screen;opacity:.5}
.stationery-cover[data-cover-layout="marmol"][data-tone="dark"] .stationery-date,.stationery-cover[data-cover-layout="marmol"][data-tone="dark"][data-motif="none"] .stationery-monogram{background:linear-gradient(color-mix(in srgb,var(--cover-paper) 90%,#fff),color-mix(in srgb,var(--cover-paper) 90%,#fff)) padding-box,var(--foil) border-box}
/* El telón con una web clara: el escenario queda claro y los dorados se oscurecen para leerse. */
.stationery-cover[data-cover-layout="telon"][data-tone="light"]{--foil-flat:var(--metal,linear-gradient(115deg,#6b4a17 0%,#b98b3e 20%,#86601f 38%,#d2ad62 52%,#7a5720 68%,#b0873f 86%,#6b4a17 100%));--foil-blend:multiply}
.stationery-cover[data-cover-layout="telon"][data-tone="light"][data-backdrop="photo"] .stationery-backdrop{--veil-strength:80%}
.stationery-cover[data-cover-layout="marmol"][data-tone="dark"] :is(.stationery-kicker,.stationery-bottom),.stationery-cover[data-cover-layout="marmol"][data-tone="dark"][data-motif="none"] .stationery-monogram{color:color-mix(in srgb,var(--cover-accent) 62%,#fff)}
/* El fondo de la web del local detrás de la portada: una foto que la cubre o una textura que se repite, con un velo del
   color de fondo para que todo se lea. Reemplaza el fondo propio del diseño (mármol, papel negro o escenario); los adornos quedan arriba. */
.stationery-cover .stationery-backdrop{position:absolute;inset:0;z-index:0;background-position:center;background-size:cover;background-repeat:no-repeat;pointer-events:none;--veil:var(--cover-paper);--veil-strength:80%}
.stationery-cover[data-backdrop="texture"] .stationery-backdrop{background-position:0 0;background-repeat:repeat;--veil-strength:35%}
.stationery-cover .stationery-backdrop:after{content:'';position:absolute;inset:0;background:color-mix(in srgb,var(--veil) var(--veil-strength),transparent)}
.stationery-cover[data-deco] .stationery-backdrop{--veil:#0e0d0b;--veil-strength:78%}.stationery-cover[data-deco][data-backdrop="texture"] .stationery-backdrop{--veil-strength:55%}
.stationery-cover[data-cover-layout="telon"] .stationery-backdrop{--veil:var(--stage);--veil-strength:66%}.stationery-cover[data-cover-layout="telon"][data-backdrop="texture"] .stationery-backdrop{--veil-strength:45%}
.stationery-cover[data-backdrop] .opening-marble{display:none}
/* «Carta de amor» y «Entre líneas» (vellum): los dos nombres van en el mismo renglón, pegados al «&» sin espacio, así que para el
   navegador eran una sola palabra y un nombre largo se cortaba al medio («Maximiliano & Gua-dalupe»). Con el «&» como caja
   (igual que en «vows») se puede bajar de renglón antes o después del «&». */
.stationery-cover[data-cover-layout="vellum"] .stationery-amp{display:inline-block}
