.brief-body {
  --b-paper: var(--paper, #f7f5ef);
  --b-ink: var(--ink, #1b1c19);
  --b-accent: var(--accent, #b7441e);
  --b-rule: var(--rule, #c5c2b9);
  --b-muted: var(--muted, #5d5d55);
  margin: 0;
  background: var(--b-paper);
  color: var(--b-ink);
  font: 1rem/1.45 var(--sans, 'DM Sans', Arial, sans-serif);
  min-height: 100vh;
}
.brief-body *, .brief-body *::after, .brief-body *::before {box-sizing: border-box}
.brief-body [hidden] {display:none !important}
.brief-body a {color:inherit}
.brief-body button,.brief-body input,.brief-body textarea,.brief-body select{font:inherit;color:inherit}
.brief-body button{cursor:pointer}
.brief-body :focus-visible{outline:3px solid var(--b-accent);outline-offset:3px}
.brief-body a:focus-visible{border-radius:1px}
.brief-body .skip{position:fixed;left:12px;top:-90px;background:var(--b-ink);color:var(--b-paper);z-index:5;padding:10px}
.brief-body .skip:focus{top:12px}
.brief-body .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.bhead{width:min(calc(100% - 8vw),1376px);min-height:88px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--b-rule)}
.bbrand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-weight:750;font-size:1.35rem;letter-spacing:-.045em}
.bbrand img{display:block;width:auto;height:49px;max-width:130px}
.bhead-link,.scope-change,.text-button,.invoice-before a{font-size:.94rem;font-weight:600;text-decoration:underline;text-underline-offset:.23em;text-decoration-thickness:1px}
.bhead-link:hover,.scope-change:hover,.text-button:hover,.invoice-before a:hover{color:var(--b-accent)}
.brief-main{width:min(calc(100% - 8vw),1176px);margin:clamp(36px,5.1vw,80px) auto 96px}
.brief-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,.86fr);gap:clamp(34px,7vw,115px);align-items:start}
.workflow,.scope,.result{min-width:0}
.progress{margin-bottom:34px}
.progress ol{display:flex;align-items:center;gap:0;list-style:none;padding:0;margin:0;color:var(--b-muted);font-size:.86rem;font-weight:550}
.progress li{display:flex;align-items:center;gap:12px;white-space:nowrap}
.progress li + li::before{content:"";width:clamp(15px,2.4vw,36px);height:1px;background:var(--b-rule);margin-left:12px}
.progress li[aria-current="step"]{color:var(--b-accent);font-weight:750}
.brief-main h1,.brief-main h2{color:var(--b-ink);margin:0;line-height:1.02;letter-spacing:-.055em;font-weight:550}
.brief-main h1{font-family:var(--serif,'Instrument Serif',Georgia,serif);font-size:clamp(3.35rem,6.2vw,5.5rem);letter-spacing:-.045em;line-height:.98;font-weight:400}
.brief-main h1:focus:not(:focus-visible){outline:none}
.brief-main .lede{max-width:43em;margin:18px 0 35px;color:var(--b-muted);font-size:clamp(1.04rem,1.35vw,1.18rem);line-height:1.48}
.form-line{margin-bottom:23px}
.form-line>label,.field-label,.contacts legend{display:block;font-size:.99rem;line-height:1.3;font-weight:650;margin-bottom:9px}
.optional{font-weight:400;color:var(--b-muted);font-size:.9rem}
.brief-body input:not([type=radio]):not([type=checkbox]):not([type=file]),.brief-body textarea,.brief-body select{display:block;width:100%;padding:12px 14px;background:#fffef9;border:1px solid #a6a49b;border-radius:3px;min-height:48px}
.brief-body input::placeholder,.brief-body textarea::placeholder{color:#76756c;opacity:1}
.brief-body textarea{resize:vertical;line-height:1.45;min-height:88px}
.brief-body input:focus,.brief-body textarea:focus,.brief-body select:focus{outline:2px solid var(--b-accent);outline-offset:1px}
.brief-body select{padding-right:35px}
.brief-body .hint,.brief-body .privacy-note{margin:7px 0 0;color:var(--b-muted);font-size:.91rem;line-height:1.48}
.brief-body .privacy-note{margin:25px 0 15px}
.dropzone{width:100%;min-height:89px;background:rgba(255,255,255,.28);border:1px dashed #8d8c83;border-radius:3px;display:flex;align-items:center;justify-content:center;gap:15px;padding:18px;text-align:center}
.dropzone strong{text-decoration:underline;text-underline-offset:.2em;font-weight:650}
.dropzone svg,.dropzone strong{color:var(--b-accent)}
.dropzone:hover,.dropzone.dragging{border-color:var(--b-accent);background:#f7e9dd}
.files{list-style:none;margin:8px 0 0;padding:0}
.files li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--b-rule)}
.files li>span{overflow-wrap:anywhere}
.files small{color:var(--b-muted)}
.files button{border:0;background:none;color:var(--b-muted);font-size:.85rem;font-weight:600;text-decoration:underline;text-underline-offset:.2em;padding:5px 0 5px 3px}
.brief-main h2.form-section{padding:22px 0 16px;margin-top:27px;border-top:1px solid var(--b-rule);font-size:1.32rem;letter-spacing:-.035em;line-height:1.2;font-weight:650}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.contacts{padding:0;margin:0 0 22px;border:0}
.contacts label,.invoice{display:inline-flex;align-items:center;gap:9px}
.contacts label{margin-right:21px}
.invoice{line-height:1.4}
.brief-body input[type=checkbox],.brief-body input[type=radio]{width:18px;height:18px;margin:0;accent-color:var(--b-accent);flex-shrink:0;cursor:pointer}
.primary{border:1px solid var(--b-ink);background:var(--b-ink);color:var(--b-paper)!important;border-radius:3px;min-height:49px;padding:12px 22px;font-weight:650!important;line-height:1.25;transition:background .12s}
.primary:hover{background:#373831}
.primary:disabled,.text-button:disabled{opacity:.58;cursor:wait}
.scope{position:sticky;top:30px;border-top:3px solid var(--b-ink);padding:19px 0 0}
.scope-label{font-size:.81rem;font-weight:700;letter-spacing:.075em;text-transform:uppercase;color:var(--b-accent)}
.brief-main .scope h2{font-size:clamp(1.65rem,2.2vw,2.08rem);line-height:1.1;margin:16px 0 9px;letter-spacing:-.05em;font-weight:620}
.scope>p{margin:0;color:var(--b-muted)}
.scope ul{list-style:none;margin:16px 0 22px;padding:0}
.scope li{display:flex;align-items:baseline;gap:10px;padding:5px 0;line-height:1.35}
.scope li::before{content:"";width:.34em;height:.34em;flex:0 0 auto;align-self:flex-start;margin-top:.55em;background:var(--b-accent)}
.cost{padding:19px 0 18px;border-top:1px solid var(--b-rule);border-bottom:1px solid var(--b-rule);display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.cost>span{font-weight:550}
.cost strong{font-weight:680;font-size:2rem;line-height:1;letter-spacing:-.055em}
.cost small{font-size:.83rem;font-weight:550;letter-spacing:0;color:var(--b-muted)}
.scope-change{display:inline-block;margin-top:17px}
.review-data{display:grid;grid-template-columns:minmax(105px,1fr) 2fr;gap:0;margin:27px 0 22px;border-top:1px solid var(--b-rule)}
.review-data dt,.review-data dd{border-bottom:1px solid var(--b-rule);margin:0;padding:12px 0;overflow-wrap:anywhere;white-space:pre-line}
.review-data dt{padding-right:12px;font-weight:600;color:var(--b-muted)}
.notice,.field-error{font-size:1rem;line-height:1.48}
.notice{border-left:3px solid var(--b-accent);padding:9px 15px;background:#efede4;margin:18px 0 22px}
.field-error{color:#9e331c;margin:8px 0 11px;font-weight:570}
.actions{display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap}
.text-button{border:0;background:none;padding:7px 0;font-weight:600}
.invoice-before{font-size:.94rem;color:var(--b-muted);margin:22px 0}
.result{max-width:700px}
.result .scope-label{display:block;margin-bottom:20px}
.result .lede{margin-bottom:18px}
.reference{margin:0 0 25px;overflow-wrap:anywhere;color:var(--b-muted)}
.reference strong{font-family:ui-monospace,monospace;color:var(--b-ink);font-size:1rem}
@media(max-width:800px){
 .brief-layout{grid-template-columns:minmax(0,1fr) minmax(195px,.5fr);gap:24px}
 .bhead{min-height:71px}
 .brief-main .scope h2{font-size:1.65rem}
}
@media(max-width:680px){
 .bhead,.brief-main{width:calc(100% - 38px)}
 .bhead{min-height:70px}
 .bbrand img{width:auto;height:39px}
 .brief-main{margin:28px auto 54px}
 .brief-layout{display:flex;flex-direction:column;gap:29px}
 .workflow,.scope{width:100%}
 .scope{position:static;border-width:1px;padding-top:18px}
 .progress{margin-bottom:25px}
 .progress ol{font-size:.79rem}
 .progress li{gap:7px}
 .progress li + li::before{width:17px;margin-left:7px}
 .form-grid{display:block}
 .brief-main .lede{margin:14px 0 25px}
 .primary{min-height:48px}
 .form-section{margin-top:19px}
 .dropzone{min-height:80px}
 .review-data{grid-template-columns:minmax(90px,.65fr) minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.brief-body *{scroll-behavior:auto!important;transition:none!important}}
