/* V44 | Gallery repair after V43 live screenshot, 2026-11-17.
 * Keep the real two ticket components, original branding and true notches.
 * All styles are local to #invitations. Not a landing-page rewrite. */
#invitations.v40-invitation-gallery {background:#141115}
#invitations.v40-invitation-gallery .v39-studio-intro{
 padding:23px 18px 17px;background:#131115;
}
#invitations.v40-invitation-gallery .v39-studio-intro h2{
 font-size:clamp(28px,2.85vw,39px);margin:0;line-height:1.08;
}
#invitations.v40-invitation-gallery .v39-studio-overline{
 margin-bottom:6px;font-size:10px;
}
#invitations.v40-invitation-gallery .v39-studio-half{
 padding:21px clamp(15px,2.25vw,30px) 30px;
}
#invitations.v40-invitation-gallery .v39-studio-content{
 width:min(100%,466px);
}
#invitations.v40-invitation-gallery .v39-ticket-position{
 display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
 width:100%;filter:none;
}
#invitations.v40-invitation-gallery .v39-double .v39-ticket-position{
 padding:0;filter:none;
}
/* No detached heading or descriptive block. The allowance is the only label
   outside each actual ticket; its asterisk still explains planned launch rules. */
#invitations.v40-invitation-gallery .v44-weekly-row{
 display:flex;align-items:center;justify-content:flex-end;
 min-height:24px;margin-bottom:9px;
}
#invitations.v40-invitation-gallery .v44-weekly-allowance{
 display:inline-flex;align-items:center;justify-content:center;
 color:#76502c;background:#fffdf9;border:1px solid rgba(143,95,56,.23);
 border-radius:99px;padding:4px 10px;font:750 11px/1.25 'DM Sans',system-ui,sans-serif;
 letter-spacing:.005em;white-space:nowrap;
 box-shadow:0 1px 4px rgba(64,41,32,.045);
}
#invitations.v40-invitation-gallery .v39-double .v44-weekly-allowance{
 color:#ffd6a9;background:#282027;border-color:rgba(242,158,148,.28);
 box-shadow:0 1px 5px rgba(0,0,0,.13);
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket{
 width:100%;max-width:466px;border-radius:27px;transform:none!important;
 filter:drop-shadow(0 12px 13px rgba(26,12,23,.17));
}
#invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket{
 filter:drop-shadow(0 15px 19px rgba(4,2,6,.45));
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-head{
 height:65px;border-radius:26px 26px 0 0;padding-left:22px;gap:11px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-cup{
 width:41px;height:41px;border-radius:12px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-cup svg{
 width:23px;height:23px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-head strong{
 font-size:clamp(22px,2.25vw,27px);letter-spacing:-.045em;
}
/* Real, solid material under every pixel of the two ticket faces. The radial
   notch mask is intentionally open as it represents actual punched paper. */
#invitations.v40-invitation-gallery .v39-espresso .v42-upgraded-ticket{
 background:#fffdfb!important;border-color:#e5d9ce;
}
#invitations.v40-invitation-gallery .v39-espresso .v42-upgraded-ticket .v39-ticket-content,
#invitations.v40-invitation-gallery .v39-espresso .v42-upgraded-ticket .v39-ticket-seam,
#invitations.v40-invitation-gallery .v39-espresso .v42-upgraded-ticket .v39-ticket-stub{
 background:#fffdfb!important;
}
#invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket{
 background:#1d181f!important;border:1.25px solid #ff9b56;
 box-shadow:inset 0 0 0 1px rgba(249,70,130,.15),inset 0 -2px rgba(243,38,138,.72);
}
#invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-content{
 background:linear-gradient(155deg,#211a20,#1c171e 84%,#22171e)!important;
}
#invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-seam{
 background:#1c171e!important;
}
#invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-stub{
 background:radial-gradient(ellipse 75% 85px at 92% 120%,rgba(244,31,129,.22),transparent 84%),#1d181f!important;
}
#invitations.v40-invitation-gallery .v39-espresso .v42-upgraded-ticket .v39-ticket-content{
 min-height:189px;padding:16px 23px 16px;
}
#invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-content{
 min-height:0;padding:16px 23px 18px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-person{
 margin-bottom:10px;align-items:center;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-person small{
 font-size:9.5px;letter-spacing:.16em;margin-bottom:1px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-name-source{
 width:130px;height:67px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-portrait{
 width:70px;height:70px;object-position:center 25%;border-radius:50%;
 display:block;flex:none;font-size:0;color:transparent;background:#242129;
}
#invitations.v40-invitation-gallery .v39-espresso .v42-upgraded-ticket .v39-ticket-title{
 font-size:clamp(29px,2.8vw,37px);margin:7px 0 0;line-height:1.14;
}
#invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-message{
 font-size:clamp(18px,1.7vw,21px);line-height:1.31;letter-spacing:-.026em;
 margin-top:0;padding:14px 16px 15px;border-radius:16px;
 background:linear-gradient(150deg,#37272d,#2b232e)!important;
 border:1px solid rgba(224,125,112,.60);
 box-shadow:inset 0 2px 8px rgba(7,4,9,.18),inset 0 1px rgba(255,204,181,.08);
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-seam{
 height:20px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-stub{
 min-height:104px;padding:13px 23px 16px;gap:6px;
}
#invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-stub{
 min-height:120px;padding:14px 23px 17px;gap:5px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-facts{
 gap:10px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-fact b{
 font-size:9px;margin-bottom:4px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-fact p{
 font-size:11.5px;line-height:1.34;
}
#invitations.v40-invitation-gallery .v39-double .v42-double-event-heading{
 font-size:22px;margin-bottom:4px;
}
#invitations.v40-invitation-gallery .v39-double .v39-ticket-mini-details{
 font-size:10.7px;line-height:1.4;gap:5px 10px;
}
#invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-signature img{
 width:92px;height:auto;
}
/* The ticket remains the hero, not the coffee. Use NEW genuine coffee photos
   solely in small, feathered side glances, never as a full wallpaper.
   The fallback is editorial gradients if the Pexels CDN can't be reached. */
#invitations.v40-invitation-gallery .v39-espresso{
 background:linear-gradient(126deg,#fbf7f0 0%,#f6eee3 73%,#f7f1e7 100%);
}
#invitations.v40-invitation-gallery .v39-double{
 background:linear-gradient(145deg,#171217,#130f15 67%,#1d1119);
}
#invitations.v40-invitation-gallery .v39-espresso .v42-liquid-scene{
 background:radial-gradient(ellipse 45% 74% at 104% 52%,rgba(205,139,71,.18),transparent 84%),
 radial-gradient(ellipse 54% 54% at -12% 102%,rgba(216,163,108,.11),transparent 80%);
}
#invitations.v40-invitation-gallery .v39-double .v42-liquid-scene{
 background:radial-gradient(ellipse 51% 70% at 101% 52%,rgba(112,50,35,.21),transparent 83%),
 radial-gradient(ellipse 44% 52% at -8% 93%,rgba(135,41,67,.09),transparent 84%);
}
#invitations.v40-invitation-gallery .v39-espresso .v42-liquid-scene::before{
 top:3%;right:-36%;left:auto;bottom:auto;width:64%;height:89%;
 background-image:url('https://images.pexels.com/photos/6328977/pexels-photo-6328977.jpeg?auto=compress&cs=tinysrgb&w=1000');
 background-position:55% 52%;background-size:cover;
 opacity:.27;transform:rotate(-6deg);filter:saturate(.78) contrast(.93) brightness(1.12);
 -webkit-mask-image:radial-gradient(ellipse at 56% 47%,#000 0%,rgba(0,0,0,.68) 38%,transparent 80%);
 mask-image:radial-gradient(ellipse at 56% 47%,#000 0%,rgba(0,0,0,.68) 38%,transparent 80%);
}
#invitations.v40-invitation-gallery .v39-espresso .v42-liquid-scene::after{
 content:none;display:none;
}
#invitations.v40-invitation-gallery .v39-double .v42-liquid-scene::before{
 top:4%;right:-35%;left:auto;bottom:auto;width:62%;height:88%;
 background-image:url('https://images.pexels.com/photos/17516405/pexels-photo-17516405.jpeg?auto=compress&cs=tinysrgb&w=1000');
 background-position:52% 72%;background-size:cover;
 opacity:.32;transform:rotate(4deg);filter:brightness(.70) contrast(1.06) saturate(.8);
 -webkit-mask-image:radial-gradient(ellipse at 52% 56%,#000 3%,rgba(0,0,0,.72) 41%,transparent 79%);
 mask-image:radial-gradient(ellipse at 52% 56%,#000 3%,rgba(0,0,0,.72) 41%,transparent 79%);
}
#invitations.v40-invitation-gallery .v39-double .v42-liquid-scene::after{
 content:none;display:none;
}
#invitations.v40-invitation-gallery .v40-gallery-footer{
 padding:11px max(18px,calc((100vw - 1170px)/2)) 13px;
 font-size:10.5px;gap:7px 15px;
}
@media(max-width:900px){
 #invitations.v40-invitation-gallery .v39-studio-half{padding:21px 18px 30px}
}
@media(max-width:700px){
 #invitations.v40-invitation-gallery .v39-studio-intro{padding:25px 16px 19px}
 #invitations.v40-invitation-gallery .v39-studio-half{padding:18px 16px 24px}
 #invitations.v40-invitation-gallery .v39-studio-content{width:min(100%,466px)}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-head{height:60px;padding-left:18px}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-cup{width:38px;height:38px}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-head strong{font-size:23px}
 #invitations.v40-invitation-gallery .v39-espresso .v42-upgraded-ticket .v39-ticket-content{min-height:181px;padding:16px 20px 15px}
 #invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-content{padding:17px 20px 16px;min-height:0}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-portrait{width:67px;height:67px}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-name-source{width:124px;height:65px}
 #invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-message{font-size:20px;padding:14px 15px}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-stub{padding:13px 20px 16px;min-height:106px}
 #invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-stub{padding:13px 20px 17px;min-height:120px}
 #invitations.v40-invitation-gallery .v42-liquid-scene::before{height:80%;width:84%;right:-43%}
}
@media(max-width:375px){
 #invitations.v40-invitation-gallery .v39-studio-half{padding-left:13px;padding-right:13px}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-head{height:58px;padding-left:15px}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-head strong{font-size:22px}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-portrait{width:62px;height:62px}
 #invitations.v40-invitation-gallery .v42-upgraded-ticket .v39-ticket-name-source{width:118px;height:63px}
 #invitations.v40-invitation-gallery .v39-espresso .v42-upgraded-ticket .v39-ticket-content{min-height:166px}
 #invitations.v40-invitation-gallery .v39-double .v42-upgraded-ticket .v39-ticket-message{font-size:18px}
}
