/* A short project brief, one decision group at a time. */
.project-dialog{width:min(740px,calc(100% - 32px));max-width:740px;padding:34px 40px 26px;border-radius:14px;border:1px solid #e3e5ea;background:#fff;color:#202638;max-height:calc(100dvh - 32px);overscroll-behavior:contain;scrollbar-gutter:stable}
.project-dialog::backdrop{background:#202638a6;backdrop-filter:blur(6px)}
.project-dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:22px}
.project-dialog .eyebrow{font-size:8px;color:#a63c4d;margin:0 0 13px;letter-spacing:.12em}
.project-dialog h2{font-size:43px;line-height:1.02;letter-spacing:-.05em}.project-dialog h2 em{color:#a63c4d}
.project-dialog-heading p:not(.eyebrow){font-size:12px;color:#6b7280;margin:12px 0 0;line-height:1.6}
.project-dialog .dialog-close{position:static;display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #e0e4ea;color:#687284;background:#fff}
.project-dialog .dialog-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.project-dialog .dialog-close:hover{color:#a63c4d;background:#f9f1f3;border-color:#d5a1ab}
.brief-progress{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 20px;padding:0;border-bottom:1px solid #e5e7eb}
.brief-progress li{font-size:11px;color:#8a909d;padding:0 0 12px;border-bottom:2px solid transparent;margin-bottom:-1px;display:flex;align-items:center;gap:7px}
.brief-progress li>span{font-size:8px}
.brief-progress [aria-current="step"]{color:#202638;border-bottom-color:#a63c4d;font-weight:600}
.brief-progress .is-complete{color:#677e73}
.project-dialog fieldset{border:0;padding:0;margin:0;min-width:0;min-height:318px}
.project-dialog legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.project-dialog label{font-size:11px;font-weight:550;display:block;margin:15px 0 7px;line-height:1.5}
.project-dialog fieldset>label:first-of-type,.brief-grid>div:nth-child(-n+2)>label{margin-top:0}
.project-dialog label>span[aria-hidden]{color:#a63c4d}.project-dialog label>small{font-size:9px;color:#8b929f;font-weight:400;margin-left:5px}
.project-dialog input:not([type=checkbox]),.project-dialog textarea,.project-dialog select{width:100%;max-width:100%;padding:11px 12px;min-height:43px;border:1px solid #d4d9e2;border-radius:5px;background:#fafbfc;font-size:12px;line-height:1.5;color:#202638;outline-offset:2px}
.project-dialog textarea{min-height:68px;resize:vertical}.project-dialog textarea[name=message]{min-height:90px}
.project-dialog input::placeholder,.project-dialog textarea::placeholder{color:#8891a0;font-size:11px}
.project-dialog input:focus,.project-dialog textarea:focus,.project-dialog select:focus{border-color:#a63c4d;outline:2px solid #a63c4d20}
.project-dialog [aria-invalid="true"]{border-color:#b13f52!important;background:#fff9fa!important}
.brief-counter{display:block;text-align:right;font-size:8px;color:#8c94a1;margin-top:3px}
.project-dialog .field-help{font-size:10px;line-height:1.65;color:#737c8b;margin:8px 0 0;max-width:490px}
.brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px 18px}
.project-dialog .brief-privacy{display:flex;gap:10px;align-items:flex-start;margin-top:22px;font-size:10px;line-height:1.65;color:#687284;font-weight:400}
.project-dialog .brief-privacy input{appearance:auto;width:17px;height:17px;flex-shrink:0;margin:2px 0 0;accent-color:#a63c4d}
.project-dialog .brief-privacy>span{font-size:10px;color:#687284}
.project-dialog .brief-privacy a{color:#a63c4d;text-decoration:underline;text-underline-offset:3px}
.project-dialog .brief-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.brief-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:20px;border-top:1px solid #e5e7eb;margin-top:18px}
.brief-actions .button{margin:0;width:auto;min-height:46px;background:#202638;border-color:#202638;font-size:12px;gap:18px;padding:12px 18px}
.brief-actions .button:hover{background:#a63c4d;border-color:#a63c4d;transform:none}
.brief-actions .button:disabled{opacity:.6;cursor:wait}
.brief-back{display:flex;align-items:center;gap:10px;min-height:44px;border:0;background:transparent;font-size:11px;padding:8px 0;color:#687284}
.brief-back:hover{color:#a63c4d}.brief-required{font-size:9px;color:#8d94a0;margin-right:auto}.brief-back:not([hidden])~.brief-required{display:none}
.brief-feedback{font-size:11px;line-height:1.6;color:#a63c4d;margin:10px 0 0;min-height:0}.brief-feedback:empty{display:none}.brief-feedback[data-kind="preview"]{color:#5c687c;padding:10px 12px;border:1px solid #e0e4eb;border-radius:5px;background:#f6f8fa}
.project-dialog .brief-environment{font-size:9px;line-height:1.6;color:#7c8493;text-align:center;margin-top:12px}
.project-dialog .brief-recaptcha{font-size:8px;color:#8c94a1;text-align:center;line-height:1.6;margin-top:7px}.brief-recaptcha a{text-decoration:underline;text-underline-offset:2px}
.project-dialog .brief-success{padding:28px 5px 10px;text-align:center}.brief-success-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#e8f3ec;color:#318161;font-size:22px;margin:0 auto 20px}
.brief-success h3{font-size:35px;line-height:1.1;letter-spacing:-.05em}.brief-success>p{font-size:13px;line-height:1.7;max-width:360px;margin:18px auto 0;color:#6b7280}.brief-success>.button{width:auto;min-width:150px;margin-top:25px;background:#202638;border-color:#202638}
.project-dialog button:focus-visible,.project-dialog a:focus-visible{outline:2px solid #a63c4d;outline-offset:4px}
@media(max-width:600px){.project-dialog{padding:25px 21px 20px;width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:12px}.project-dialog h2{font-size:35px}.project-dialog .eyebrow{font-size:7px;max-width:210px}.project-dialog-heading p:not(.eyebrow){font-size:11px}.brief-progress{gap:9px;margin:22px 0 19px}.brief-progress li{font-size:10px;gap:5px}.brief-progress li>span{font-size:7px}.project-dialog fieldset{min-height:0}.project-dialog input:not([type=checkbox]),.project-dialog select,.project-dialog textarea{font-size:16px;min-height:45px;padding:10px}.project-dialog input::placeholder,.project-dialog textarea::placeholder{font-size:12px}.brief-grid{grid-template-columns:1fr;gap:0}.brief-grid>div:nth-child(2)>label{margin-top:15px}.brief-actions{gap:10px}.brief-actions .button{font-size:11px;padding-inline:15px;gap:12px}.brief-feedback{font-size:10px}.brief-success h3{font-size:30px}}
@media(max-height:740px) and (min-width:601px){.project-dialog{padding-top:24px}.project-dialog h2{font-size:34px}.brief-progress{margin-top:17px;margin-bottom:16px}.project-dialog fieldset{min-height:280px}.project-dialog label{margin-top:12px}.brief-actions{margin-top:12px;padding-top:15px}}
