/* V39 focused rebuild. Scope: hero/header typography and Invitation Studio only. */
/* Thirsty Script Medium is an approved art-direction choice, but a commercial webfont
   cannot be embedded until the owner supplies licensed web files. Yellowtail is a
   clearly identified, open-source rendering fallback during this preview. */
.hero h1 .hero-script-art{display:none!important}
.hero h1 .hero-last{display:inline-flex;align-items:baseline;gap:.16em;white-space:nowrap!important}
.hero h1 .hero-thirsty{font-family:'Thirsty Script Medium','Thirsty Script','Yellowtail',cursive!important;font-weight:400!important;font-style:normal!important;color:#ff85bd!important;font-size:1.19em!important;line-height:.77!important;letter-spacing:-.018em!important;text-shadow:0 2px 10px rgba(8,3,8,.24)!important;white-space:nowrap;vertical-align:baseline!important;transform:none!important;filter:none!important;margin:0!important;display:inline-block}
.hero .hero-copy h1{font-weight:780;letter-spacing:-.047em;line-height:1.055}
.site-header{background:linear-gradient(180deg,rgba(7,4,7,.57),rgba(7,4,7,.24))!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.08)}
.site-header .nav-wrap{min-height:70px!important}
.hero-inner{padding-top:clamp(137px,16svh,175px)!important}
.hero .chapter-content{left:19px;right:16px;bottom:16px;gap:5px}
.hero .chapter-overline{font-size:10.5px!important;line-height:1.2;letter-spacing:.105em!important;font-weight:750}
.hero .chapter-content strong{font-size:clamp(28px,2.1vw,32px)!important;line-height:1.02;letter-spacing:-.04em!important;font-weight:790!important}
.hero .chapter-hint{font-size:12.5px!important;line-height:1.36!important;font-weight:500;color:#f7edf2!important;max-width:95%}
.hero .chapter-card{box-shadow:0 4px 13px rgba(0,0,0,.17),0 16px 35px rgba(6,2,7,.37),inset 0 1px 1px rgba(255,255,255,.31),inset 0 -1px 0 rgba(0,0,0,.32)!important;transition:transform .23s ease,box-shadow .23s ease}
.hero .chapter-card:hover,.hero .chapter-card:focus-visible{box-shadow:0 12px 23px rgba(5,2,7,.32),0 27px 48px rgba(5,2,7,.24),inset 0 1px 1px rgba(255,255,255,.4)!important;transform:translateY(-4px)}
/* The invitation stage is truly horizontal across the available viewport,
   rather than a form next to a marketing explanation. */
.v39-invitation-studio{background:#100e11;color:#fff;scroll-margin-top:75px;isolation:isolate}
.v39-studio-intro{text-align:center;padding:54px 16px 32px;max-width:880px}
.v39-studio-overline{font-size:11px;letter-spacing:.17em;font-weight:800;color:#fb85b4;margin:0 0 10px}
.v39-studio-intro h2{font-size:clamp(31px,3.2vw,48px);line-height:1.07;letter-spacing:-.055em;font-weight:780;margin:0 0 10px}
.v39-studio-intro>p:last-child{font-size:14px;line-height:1.5;color:#d6cbd1;margin:0}
.v39-studio-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;align-items:stretch;min-width:0}
.v39-studio-half{min-width:0;padding:36px clamp(18px,3vw,56px) 38px;display:flex;justify-content:center}
.v39-espresso{background:radial-gradient(circle at 12% 0%,rgba(255,255,255,.8),transparent 51%),#fbf3e8;color:#292226}
.v39-double{background:radial-gradient(circle at 84% -5%,rgba(227,184,126,.07),transparent 52%),#211e22;color:#f9f5f6}
.v39-studio-content{width:min(100%,510px);display:flex;flex-direction:column;gap:0}
.v39-studio-heading{display:flex;align-items:center;gap:13px;min-height:70px;margin-bottom:25px}
.v39-studio-heading>div{flex:1;min-width:0}
.v39-studio-heading h3{font-size:clamp(23px,2vw,29px);line-height:1.07;letter-spacing:-.04em;font-weight:770;margin:0 0 5px}
.v39-studio-heading p{margin:0;font-size:12.5px;line-height:1.4;color:#77666c}
.v39-double .v39-studio-heading p{color:#c4bac1}
.v39-studio-type-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:15px;background:#fff9f1;color:#8b5d27;box-shadow:inset 0 1px 1px #fff,0 4px 10px #a87a441f;border:1px solid #e8d4b2}
.v39-double .v39-studio-type-icon{background:#39343a;color:#eac792;box-shadow:inset 0 1px 1px #ffffff1e,0 4px 11px #0004;border-color:#60545b}
.v39-studio-type-icon svg{width:25px;height:25px}
.v39-studio-allowance{flex:none;border:1px solid #d7c8b5;border-radius:99px;color:#7f6344;padding:7px 10px;font-size:10.5px;font-weight:800;letter-spacing:.02em;white-space:nowrap;background:#fff9f1}
.v39-double .v39-studio-allowance{border-color:#7f6c65;color:#f3ce9a;background:#302a2d}
.v39-ticket-position{display:flex;flex:1;align-items:flex-start;justify-content:center;min-width:0;position:relative}
.v39-ticket{width:min(100%,480px);--ticket-seam-y:350px;position:relative;overflow:hidden;border-radius:33px;background:#fff;color:#231e24;border:1px solid #e4dcdc;isolation:isolate;box-shadow:0 14px 24px rgba(42,22,14,.09),0 29px 48px rgba(42,22,14,.17),inset 0 2px 0 #fff;transition:transform .23s ease,box-shadow .23s ease;
-webkit-mask-image:radial-gradient(circle 13px at 0 var(--ticket-seam-y),transparent 96%,black 104%),radial-gradient(circle 13px at 100% var(--ticket-seam-y),transparent 96%,black 104%);
-webkit-mask-composite:source-in;
mask-image:radial-gradient(circle 13px at 0 var(--ticket-seam-y),transparent 96%,black 104%),radial-gradient(circle 13px at 100% var(--ticket-seam-y),transparent 96%,black 104%);
mask-composite:intersect}
.v39-ticket:hover{transform:translateY(-2px);box-shadow:0 22px 47px rgba(42,22,14,.2),0 35px 65px rgba(42,22,14,.14)}
.v39-double .v39-ticket{background:#262328;border-color:#4f4850;color:#fff;box-shadow:0 18px 27px #0006,0 32px 60px #0005,inset 0 2px 0 #ffffff22}
.v39-ticket-head{height:70px;display:flex;align-items:center;gap:12px;padding:0 28px;background:linear-gradient(100deg,#f0d5a6,#e7bf7b 65%,#cfa26a);color:#272024;border-bottom:1px solid #b88e59}
.v39-espresso .v39-ticket-head{background:linear-gradient(110deg,#f7ead0,#efd5a9 75%,#ead2aa);border-bottom:1px solid #e4cfad}
.v39-ticket-cup{width:45px;height:45px;border-radius:14px;border:1px solid #b99b7a;display:grid;place-items:center;background:linear-gradient(125deg,#fffefaad,#f8f0dfa0);box-shadow:0 3px 8px rgba(71,45,24,.12),inset 0 1px 1px #fff;color:#8d601f;flex:none}
.v39-ticket-cup svg{width:24px;height:24px}
.v39-ticket-head strong{font-size:22px;letter-spacing:-.04em;line-height:1;font-weight:800}
.v39-ticket-content{padding:26px 30px 25px;min-height:252px;display:flex;flex-direction:column}
.v39-double .v39-ticket-content{min-height:326px;padding-top:27px}
.v39-ticket-person{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}
.v39-ticket-namestack{min-width:0}
.v39-ticket-person small{display:block;color:#82717b;letter-spacing:.14em;font-weight:800;font-size:11px;margin-bottom:5px}
.v39-double .v39-ticket-person small{color:#e4c49d}
.v39-ticket-name{display:block;font-family:'Yellowtail',cursive;font-size:55px;line-height:1.12;letter-spacing:-.06em;font-weight:400}
.v39-ticket-name-source{display:block;width:145px;height:82px;object-fit:contain;object-position:left center}
.v39-ticket-portrait{width:83px;height:83px;border:3px solid #a76b27;object-fit:cover;object-position:center;border-radius:50%;background:#252126;flex:none;box-shadow:0 2px 9px #120a101a}
.v39-double .v39-ticket-portrait{border-color:#edc995}
.v39-ticket-title{font-size:clamp(23px,2.65vw,34px);line-height:1.19;letter-spacing:-.045em;font-weight:770;margin:3px 0 0}
.v39-ticket-message{font-size:clamp(22px,2.15vw,30px);line-height:1.43;letter-spacing:-.04em;font-weight:750;margin:2px 0 0;word-break:normal;overflow-wrap:break-word}
.v39-double .v39-ticket-message{padding:18px 19px 21px;border:1px solid #5b535a;border-radius:20px;background:linear-gradient(140deg,#ffffff0d,#ffffff04);box-shadow:inset 0 1px 1px #ffffff12;flex:1}
.v39-ticket-seam{position:relative;margin:0 14px;height:28px;display:flex;align-items:center;justify-content:center;border-top:1px solid #0000}
.v39-ticket-seam:after{content:'';height:1px;width:calc(100% - 18px);background:repeating-linear-gradient(90deg,#c6b5b7 0 5px,transparent 5px 12px)}
.v39-double .v39-ticket-seam:after{background:repeating-linear-gradient(90deg,#9e886f 0 5px,transparent 5px 12px)}
.v39-ticket-stub{padding:17px 30px 23px;background:#fcfafb;min-height:143px;display:flex;flex-direction:column;gap:14px}
.v39-double .v39-ticket-stub{background:#231f24}
.v39-ticket-facts{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.v39-ticket-fact{min-width:0}
.v39-ticket-fact b{font-size:10.5px;letter-spacing:.11em;color:#82747e;display:flex;align-items:center;gap:5px;margin-bottom:6px}
.v39-ticket-fact b svg{width:16px;height:16px;color:#9d6d2f}
.v39-ticket-fact p{font-size:13px;line-height:1.4;font-weight:610;margin:0;color:#3d3540;overflow-wrap:anywhere}
.v39-double .v39-ticket-fact b{color:#d7ba99}
.v39-double .v39-ticket-fact p{color:#f3e8ed}
.v39-ticket-idea{font-size:17px;letter-spacing:-.025em;font-weight:700;line-height:1.4;margin:0}
.v39-ticket-idea-label{font-size:11px;font-weight:700;letter-spacing:.14em;color:#d9b483;margin-bottom:5px}
.v39-ticket-mini-details{display:flex;align-items:center;gap:13px;flex-wrap:wrap;color:#d9cbd1;font-size:12px}
.v39-ticket-mini-details span{display:flex;gap:6px;align-items:center}
.v39-ticket-mini-details svg{width:15px;height:15px;color:#dec08e}
.v39-ticket-signature{display:flex;justify-content:flex-end;align-items:flex-end;margin-top:auto;padding-top:7px}
.v39-ticket-signature img{width:106px;height:auto;object-fit:contain;max-height:44px}
.v39-double .v39-ticket-stub{min-height:186px;gap:7px}
.v39-ticket-response-note{margin-top:12px;border:1px solid currentColor;border-radius:14px;padding:12px 14px;font-size:13px;line-height:1.5;opacity:.95}
.v39-studio-controls{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap;padding:22px 0 0}
.v39-studio-controls button{display:inline-flex;justify-content:center;align-items:center;gap:6px;background:#fff9f2;color:#36272e;border:1px solid #ddc8b5;border-radius:13px;min-height:44px;padding:10px 12px;font-size:11.6px;font-weight:750;flex:1 1 auto;cursor:pointer;white-space:nowrap;transition:background .16s ease,transform .16s ease,box-shadow .16s ease}
.v39-studio-controls button svg{width:15px;height:15px}
.v39-studio-controls button:hover{transform:translateY(-2px);background:#fff;box-shadow:0 7px 16px #94735729}
.v39-studio-controls button[aria-pressed=true]{background:#f8dfbe;border-color:#c9a879;color:#58391b;box-shadow:inset 0 2px 5px #aa764526}
.v39-double .v39-studio-controls button{background:#302b31;color:#f5e7ef;border-color:#65575d}
.v39-double .v39-studio-controls button:hover{background:#413940;box-shadow:0 6px 13px #0004}
.v39-double .v39-studio-controls button[aria-pressed=true]{background:#443832;color:#ffe4c0;border-color:#bd996e;box-shadow:inset 0 2px 6px #0004}
.v39-studio-workspace{min-height:0;overflow:hidden}
.v39-studio-workspace:empty{display:none}
.v39-editor,.v39-response,.v39-recipient-note{margin-top:13px;padding:18px;border:1px solid #d8c6b8;border-radius:18px;background:#fffaf6;box-shadow:0 8px 19px rgba(65,36,15,.04)}
.v39-double .v39-editor,.v39-double .v39-response,.v39-double .v39-recipient-note{background:#2a262b;border-color:#564b50}
.v39-editor h4,.v39-response h4,.v39-recipient-note h4{font-size:16px;margin:0 0 12px;letter-spacing:-.025em}
.v39-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.v39-editor-field{min-width:0;display:flex;flex-direction:column;gap:5px;margin-bottom:11px}
.v39-editor-field.is-wide{grid-column:1/-1}
.v39-editor-field label{font-size:11px;font-weight:750;color:#6c5558}
.v39-double .v39-editor-field label{color:#e0c4cc}
.v39-editor-field input,.v39-editor-field textarea,.v39-editor-field select{font:inherit;width:100%;font-size:13px;color:#221c22;border:1px solid #dbcbd1;border-radius:11px;background:#fff;min-height:41px;padding:10px 12px;outline-offset:3px}
.v39-editor-field textarea{min-height:98px;resize:vertical;line-height:1.5}
.v39-editor-hint{font-size:11px;line-height:1.5;color:#75676e;margin:0 0 7px}
.v39-double .v39-editor-hint{color:#d0bfc6}
.v39-editor-hint[role=alert]{color:#b92562!important;font-weight:750}
.v39-response .v39-options{display:flex;gap:8px;flex-wrap:wrap}
.v39-response .v39-options button,.v39-response-reset{padding:11px 14px;min-height:44px;border-radius:12px;border:1px solid #d6bfb6;font-size:12px;font-weight:750;background:#fff;cursor:pointer;color:#292229}
.v39-response .v39-options button:first-child{background:#241b22;color:#fff;border-color:#241b22}
.v39-double .v39-response .v39-options button:first-child{background:#ebc58d;color:#241b22;border-color:#ebc58d}
.v39-response p{margin:6px 0 14px;font-size:12px;line-height:1.55}
.v39-studio-footer{padding:20px 0 27px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;color:#c7b9c4;font-size:11.5px;line-height:1.55}
.v39-studio-footer p{margin:0;max-width:500px}
.v39-studio-footer p:first-child{display:flex;gap:8px;align-items:center}
.v39-studio-footer svg{width:17px;height:17px;color:#f586b4;flex:none}
@media(max-width:1100px){.v39-studio-half{padding-left:22px;padding-right:22px}.v39-studio-heading{gap:9px}.v39-studio-allowance{font-size:9px;padding:6px 8px}.v39-ticket-content{padding-left:22px;padding-right:22px}.v39-ticket-stub{padding-left:22px;padding-right:22px}}
@media(max-width:900px){.v39-studio-split{grid-template-columns:1fr}.v39-studio-half{padding:36px 20px 40px}.v39-studio-content{width:min(100%,530px)}.v39-studio-heading{margin-bottom:20px}.v39-studio-intro{padding:43px 17px 26px}.v39-double .v39-ticket-content{min-height:306px}}
@media(max-width:700px){.site-header .nav-wrap{min-height:60px!important}.hero-inner{padding-top:clamp(116px,15svh,138px)!important}.hero .hero-copy h1{font-size:clamp(2.18rem,8.6vw,3.45rem);letter-spacing:-.05em;line-height:1.06}.hero h1 .hero-thirsty{font-size:1.1em!important;letter-spacing:-.04em!important}.hero .chapter-content{bottom:9px;left:10px;right:7px;gap:4px}.hero .chapter-overline{font-size:8px!important;letter-spacing:.04em!important}.hero .chapter-content strong{font-size:clamp(16px,4.2vw,22px)!important}.hero .chapter-hint{font-size:9px!important;line-height:1.34!important}.v39-studio-intro h2{font-size:clamp(28px,8vw,39px)}.v39-ticket-title{font-size:clamp(23px,6.3vw,32px)}.v39-ticket-message{font-size:clamp(22px,5.9vw,29px)}.v39-studio-allowance{font-size:10px}.v39-studio-controls button{font-size:11px;min-height:45px;flex:1 1 calc(50% - 6px)}.v39-studio-controls button:first-child{flex-basis:100%;justify-content:center}.v39-studio-footer{padding:19px 0 25px}}
@media(max-width:375px){.hero .hero-copy h1{font-size:clamp(2.08rem,8.75vw,2.38rem)}.hero h1 .hero-thirsty{font-size:1.06em!important}.hero .chapter-overline{font-size:7px!important}.hero .chapter-hint{font-size:8px!important}.v39-ticket-person small{font-size:9px}.v39-ticket-name-source{width:122px}.v39-ticket-portrait{width:65px;height:65px}.v39-studio-half{padding:28px 14px 33px}.v39-ticket-content{padding:20px}.v39-double .v39-ticket-content{min-height:283px;padding:21px}.v39-ticket-head{padding:0 20px}.v39-ticket-stub{padding:15px 20px 22px}.v39-studio-heading h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){.v39-ticket,.v39-studio-controls button{transition:none!important;transform:none!important}}

/* Second visual pass: the real Double Shot note keeps priority without stretching the whole split. */
@media(min-width:901px){.v39-double .v39-ticket-content{min-height:280px}.v39-double .v39-ticket-stub{min-height:160px}.v39-ticket-position{flex:0 0 auto}.v39-studio-controls{margin-top:0}}
.v39-studio-controls button{font-size:12.3px}
.hero .chapter-card:nth-child(3) .chapter-shadow{background:linear-gradient(0deg,rgba(9,4,10,.91),rgba(9,4,10,.45) 45%,transparent 85%)}

/* Final spacing pass: reduce the two-column height disparity without sacrificing note legibility. */
@media(min-width:901px){
  .v39-double .v39-ticket-person{margin-bottom:13px}
  .v39-double .v39-ticket-message{font-size:clamp(23px,2.0vw,27px);line-height:1.36;padding:15px 17px 16px}
  .v39-double .v39-ticket-content{min-height:264px;padding-bottom:19px}
  .v39-double .v39-ticket-stub{padding-top:12px;padding-bottom:16px;min-height:136px}
  .v39-double .v39-ticket-seam{height:24px}
}
