/* Inline panels share the site's original navy and warm gold palette. */
.inline-drawer{display:grid;grid-template-rows:0fr;opacity:0;margin-top:0;transition:grid-template-rows .55s cubic-bezier(.22,.61,.36,1),opacity .35s,margin-top .55s;scroll-margin-top:110px}
.inline-drawer.is-open{grid-template-rows:1fr;opacity:1;margin-top:48px}
.drawer-clip{min-height:0;overflow:hidden}
.drawer-content{position:relative;border:1px solid var(--border);border-radius:12px;padding:clamp(24px,4vw,56px);background:linear-gradient(140deg,#172336,#0b1321 75%);box-shadow:0 25px 70px #0003;max-width:1200px;margin:0 auto}
.drawer-close{position:absolute;top:16px;right:16px;z-index:4;display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:50%;background:#ffffff08;color:var(--foreground);cursor:pointer}
.drawer-close:hover{color:var(--gold);background:#ffffff12}.drawer-close:focus-visible,[data-panel]:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.drawer-title{font-family:var(--font-display);font-size:clamp(25px,3vw,36px);font-weight:700;color:var(--gold);padding-right:36px}
.pitch-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(36px,5vw,76px)}
.pitch-form-content{min-width:0}.pitch-art{min-width:0;padding:70px 56px 42px 10px;align-self:center}
.frame-deck{position:relative;width:100%;max-width:355px;aspect-ratio:4/5;margin:auto;perspective:1200px}
.frame-card{position:absolute;inset:0;padding:9px 9px 27px;background:#eee5cf;border:1px solid #fff5;box-shadow:0 15px 35px #0006;transform-origin:50% 90%;transition:transform .85s cubic-bezier(.22,.61,.36,1),opacity .6s;will-change:transform}
.frame-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.frame-card.is-leaving{transform:translate(-26%,-12%) rotate(-13deg) scale(1.025)!important;opacity:0!important}
.inline-drawer:not(.is-open) .frame-card{will-change:auto}
.drawer-content .contact-form{gap:18px}.drawer-content .form-field{min-width:0}
.drawer-content .form-field label,.drawer-content .project-checks legend{font-size:13px}.drawer-content input,.drawer-content textarea{font-size:16px;min-height:46px;box-sizing:border-box}
.drawer-content .form-field input:focus-visible,.drawer-content .form-field textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.drawer-content textarea{resize:vertical;line-height:1.5}
.drawer-content .project-checks input{min-height:0;flex:0 0 18px;width:18px;height:18px;accent-color:var(--gold)}
.drawer-content .project-checks label{min-height:36px;font-size:15px}
.drawer-content .project-checks{margin-top:2px}
.drawer-content .form-error{padding:12px 15px;border-left:2px solid var(--gold);background:#d4a83a12;font-size:15px}
.drawer-content [aria-invalid=true]{border-color:#f69d87}
.contact-drawer-content{max-width:830px;margin-inline:0}.site-footer .inline-drawer.is-open{margin-bottom:48px}
.mail-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.mail-submit{width:230px;max-width:100%;min-height:50px;justify-content:center;font-variant-numeric:tabular-nums}.mail-submit:disabled{cursor:default;transform:none;opacity:.8}
.mail-feedback{border:1px solid var(--border);border-radius:6px;padding:16px 18px;background:#d4a83a0b;font-size:15px;line-height:1.6}.mail-feedback[hidden]{display:none}.mail-feedback[data-state=error]{border-color:#f69d8766;color:#ffd0c4}.mail-feedback[data-state=success]{border-color:#a5c9a966;color:#d3ead5}
.mail-countdown:empty{display:none}.mail-countdown{margin-top:5px;font-variant-numeric:tabular-nums}.drawer-video{display:block;width:100%;max-height:75vh;margin-top:24px;background:#000;aspect-ratio:16/9}.drawer-note,.drawer-text{margin-top:20px;line-height:1.7;color:var(--muted-foreground)}
@media(max-width:767px){.pitch-layout{grid-template-columns:1fr;gap:32px}.pitch-art{padding:46px 52px 15px 18px}.frame-deck{max-width:245px;aspect-ratio:5/4}.frame-card{padding:7px 7px 19px}.drawer-content{padding:26px 20px}.drawer-title{font-size:27px}.inline-drawer.is-open{margin-top:30px}.drawer-close{top:12px;right:12px}.mail-submit{width:100%}.drawer-content .contact-form{grid-template-columns:1fr}.drawer-content .span-2{grid-column:auto}.drawer-content .project-checks label{min-height:42px}.drawer-content .form-field label{font-size:13px}}
@media(prefers-reduced-motion:reduce){.inline-drawer,.frame-card{transition:none}.frame-card{will-change:auto}}

/* Pitch deck fields follow one clear reading order at every screen width. */
.pitch-form-content .contact-form{grid-template-columns:minmax(0,1fr)}
.pitch-form-content .contact-form>.span-2{grid-column:1}
.drawer-content .project-checks label{font-size:18px;line-height:1.5;min-height:44px;cursor:pointer}
.drawer-content .project-checks input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;display:inline-block;flex:0 0 22px;width:22px;height:22px;min-height:22px;padding:0;margin:0;border:1.5px solid var(--gold);border-radius:4px;background:var(--ink);cursor:pointer;vertical-align:middle;transition:background .18s,border-color .18s}
.drawer-content .project-checks input[type=checkbox]:checked{background:var(--gold)}
.drawer-content .project-checks input[type=checkbox]:checked::after{content:'';position:absolute;left:7px;top:3px;width:6px;height:11px;border:solid #101a2e;border-width:0 2px 2px 0;transform:rotate(45deg)}
.drawer-content .project-checks input[type=checkbox]:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
@media(max-width:767px){.drawer-content .project-checks label{font-size:17px}}

/* Contact and Pitch Deck share the same field layout and mobile dimensions. */
.drawer-content .contact-form{grid-template-columns:minmax(0,1fr)}
.drawer-content .contact-form>.span-2{grid-column:1}
@media(max-width:767px){
 .site-footer #panel-contact{width:calc(100% + 3rem);max-width:none;margin-inline:-1.5rem}
 .contact-drawer-content{width:100%;max-width:none}
 .drawer-content .form-field input{height:50px;min-height:50px;padding:12px 16px;line-height:24px}
 .drawer-content .mail-submit{height:50px;min-height:50px}
}

/* Desktop artwork starts alongside the title and follows the visible form area. */
@media(min-width:768px){
 .inline-drawer>.drawer-clip{overflow:clip}
 .pitch-layout{align-items:start}
 .pitch-layout .pitch-art{position:sticky;top:calc(var(--pitch-header-height,80px) + 64px);align-self:start;padding-top:56px;transition:top .2s ease}
 .pitch-layout .frame-deck{max-width:min(355px,calc((100svh - var(--pitch-header-height,80px) - 236px)*.8))}
}
@media(min-width:768px) and (prefers-reduced-motion:reduce){.pitch-layout .pitch-art{transition:none}}
