/* Project brief forms. Colours and type match the printed Novus project briefs.
   Loaded after novus-46c6a72593.css so it can reuse the site fonts and reset. */
:root{
  --b-olive:#667244;
  --b-olive-deep:#4f5a32;
  --b-lime:#b7d235;
  --b-paper:#ffffff;
  --b-ink:#171a3c;
  --b-ink-soft:#313452;
  --b-muted:#606254;
  --b-label:#313452;
  --b-hint:#6d7059;
  --b-input:#f2f4e8;
  --b-input-line:#d6dbc4;
  --b-rule:#3d4a22;
  --b-callout:#1f3d2f;
  --b-callout-text:#dbded7;
  --b-error:#a8322b;
  --b-focus:#4f5a32;
  --b-head:var(--head,'Bricolage',Arial,sans-serif);
  --b-body:var(--body,'Figtree',Arial,sans-serif);
}

*{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body.brief{
  margin:0;
  background:#eceae2;
  color:var(--b-ink);
  font:400 16px/1.6 var(--b-body);
  min-height:100vh;
}

.brief a{color:inherit}

.brief :focus-visible{outline:3px solid var(--b-lime);outline-offset:2px}

.skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:12px;top:12px;width:auto;height:auto;z-index:30;padding:12px 18px;background:var(--b-paper);color:var(--b-ink);border-radius:8px;font-weight:650}

.brief-topbar{
  background:var(--b-paper);
  border-bottom:1px solid #e2e0d5;
  font-size:14px;
}
.brief-topbar .inner{
  max-width:900px;
  margin:0 auto;
  padding:12px clamp(16px,4%,40px);
  min-width:0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 20px;
}
.brief-topbar a{text-decoration:none;font-weight:600;display:inline-flex;align-items:center;gap:8px}
.brief-topbar a:hover{text-decoration:underline;text-underline-offset:4px}
.brief-topbar .topbar-links{display:flex;gap:20px;flex-wrap:wrap;min-width:0}
.brief-topbar a{overflow-wrap:anywhere}
.brief-topbar .topbar-back{color:var(--b-muted)}

/* White sheet that reads like the printed page once it is wider than a tablet. */
.brief-sheet{
  width:min(900px,100%);
  margin:0 auto;
  background:var(--b-paper);
  box-shadow:0 18px 50px #171a3c14;
}

.brief-band{
  position:relative;
  background:var(--b-olive);
  color:#fffdf7;
  padding:36px clamp(20px,5.4%,48px) 30px;
}
.brief-band .brand{position:absolute;top:30px;right:clamp(20px,5.4%,48px);display:block;width:auto;text-decoration:none}
.brief-band .brand{top:24px;background:transparent;}
.brief-band .brand img{display:block;width:150px;height:auto;border-radius:4px}
.brief-kicker{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin:0 0 10px;
  font:600 12px/1.4 var(--b-body);
  letter-spacing:.2em;
  text-transform:uppercase;
}
.brief-kicker::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--b-lime);
  flex:none;
}
.brief-band h1{
  margin:0 0 10px;
  max-width:620px;
  font:700 clamp(27px,4.2vw,34px)/1.15 var(--b-head);
  letter-spacing:-.025em;
}
.brief-band .brief-intro{
  margin:0;
  max-width:590px;
  font-size:15px;
  line-height:1.62;
  color:#f4f3ea;
}

.brief-body{padding:0 clamp(20px,5.4%,48px) 40px}

/* Line above the form explaining that only marked questions are optional. */
.brief-note{
  margin:24px 0 0;
  padding:10px 14px;
  border-left:3px solid var(--b-lime);
  background:#f7f8ef;
  border-radius:0 6px 6px 0;
  font-size:13.5px;
  line-height:1.6;
  color:var(--b-muted);
}
.brief-note strong{font-weight:650;color:var(--b-label)}

/* Small tag beside a label that can be skipped. */
.brief-field > label .optional{
  display:inline-block;
  margin-left:6px;
  padding:1px 7px 2px;
  border:1px solid #cdd2b8;
  border-radius:999px;
  background:#f2f4e8;
  color:var(--b-hint);
  font:600 10.5px/1.45 var(--b-body);
  letter-spacing:.04em;
  text-transform:uppercase;
  vertical-align:1px;
  white-space:nowrap;
}

.brief-section{margin:0}
.brief-section + .brief-section{margin-top:38px}
.brief-section > h2{
  margin:38px 0 18px;
  padding-bottom:9px;
  border-bottom:2px solid var(--b-rule);
  font:700 19px/1.3 var(--b-head);
  letter-spacing:-.012em;
  color:var(--b-ink);
}
.brief-section:first-child > h2{margin-top:34px}

.brief-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 20px;
}
.brief-grid.three{grid-template-columns:1fr 1fr 1fr}

.brief-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.brief-field.full{grid-column:1/-1}
.brief-field > label,
.brief-fieldset > legend{
  font:650 14px/1.45 var(--b-body);
  color:var(--b-label);
}
.brief-field > label .hint,
.brief-fieldset > legend .hint{
  font-weight:400;
  color:var(--b-hint);
  margin-left:3px;
}

.brief input[type=text],
.brief input[type=email],
.brief input[type=tel],
.brief input[type=url],
.brief textarea{
  width:100%;
  min-width:0;
  margin:0;
  border:1px solid var(--b-input-line);
  border-radius:6px;
  background:var(--b-input);
  color:var(--b-ink);
  font:400 16px/1.5 var(--b-body);
  padding:10px 12px;
  min-height:42px;
  transition:border-color .18s,box-shadow .18s,background .18s;
}
.brief textarea{resize:vertical;min-height:64px;line-height:1.55}
.brief textarea.tall{min-height:140px}
.brief textarea.xl{min-height:170px}
.brief input:hover,
.brief textarea:hover{border-color:#b9c09f}
.brief input:focus,
.brief textarea:focus{
  outline:none;
  background:#fffef8;
  border-color:var(--b-focus);
  box-shadow:0 0 0 3px #66724429;
}
.brief [aria-invalid=true]{border-color:var(--b-error)!important;background:#fdf2f0!important}

/* Checkboxes in a set of choices: keep the squares but make them comfortable to tap. */
.brief-fieldset{border:0;margin:0;padding:0;min-width:0}
.brief-fieldset.full{grid-column:1/-1}
.brief-fieldset > legend{padding:0;margin-bottom:7px;float:left;width:100%}
.brief-fieldset > legend + *{clear:both}

.brief-choices{display:flex;flex-wrap:wrap;gap:7px 22px}
.brief-choices.stack{flex-direction:column;gap:7px}
.brief-choice{display:inline-flex;align-items:flex-start;gap:9px;font:400 14.5px/1.5 var(--b-body);color:var(--b-ink-soft);cursor:pointer;min-height:28px}
.brief-choice input{
  appearance:none;
  -webkit-appearance:none;
  flex:none;
  width:17px;
  height:17px;
  margin:3px 0 0;
  border:1.5px solid #a8ad92;
  border-radius:3px;
  background:var(--b-input);
  cursor:pointer;
  transition:background .15s,border-color .15s;
  print-color-adjust:exact;
  -webkit-print-color-adjust:exact;
}
.brief-choice:hover input{border-color:var(--b-olive)}
.brief-choice input:checked{
  background:var(--b-olive-deep) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3.1 3.1 6.5-6.6' fill='none' stroke='%23fffdf7' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px 13px no-repeat;
  border-color:var(--b-olive-deep);
}
.brief-choice input:focus-visible{outline:3px solid var(--b-lime);outline-offset:2px}
.brief-choice input[aria-invalid=true]{outline:2px solid var(--b-error);outline-offset:1px}
.brief-fieldset.is-invalid > legend{color:var(--b-error)}
.brief-fieldset.is-invalid > legend::after{content:" — choose at least one";font-weight:400;color:var(--b-error)}

.brief-file{
  margin-top:20px;
  border:1px dashed #b6bb9f;
  border-radius:10px;
  background:#f8f8f1;
  padding:18px 20px;
}
.brief-file h3{margin:0 0 6px;font:700 14.5px/1.4 var(--b-body);color:var(--b-label)}
.brief-file p{margin:0 0 12px;font-size:13.5px;line-height:1.6;color:var(--b-muted)}
.brief-file input[type=file]{width:100%;font:400 14px/1.4 var(--b-body);color:var(--b-ink)}
.brief-file input[type=file]::file-selector-button{
  margin-right:12px;
  padding:9px 16px;
  border:1px solid var(--b-olive-deep);
  border-radius:6px;
  background:var(--b-olive-deep);
  color:#fffdf7;
  font:600 13.5px var(--b-body);
  cursor:pointer;
}
.brief-file .file-list{margin:11px 0 0;padding:0;list-style:none;font-size:13px;color:var(--b-muted)}
.brief-file .file-list li{padding:2px 0}

.brief-callout{
  margin-top:40px;
  border-radius:10px;
  background:var(--b-callout);
  color:var(--b-callout-text);
  padding:20px 24px;
  font-size:14.5px;
  line-height:1.7;
}
.brief-callout h2{margin:0 0 4px;font:700 16px/1.4 var(--b-head);color:#fffdf7;letter-spacing:-.01em}
.brief-callout p{margin:0}
.brief-callout a,.brief-callout a:visited{
  color:var(--b-lime);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
}
.brief-callout a:hover{color:#d3e77c}

.brief-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 22px;
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid #e2e0d5;
}
.brief-submit{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  min-height:50px;
  padding:12px 20px 12px 24px;
  border:1px solid var(--b-ink);
  border-radius:8px;
  background:var(--b-ink);
  color:var(--b-paper);
  font:700 15.5px/1.3 var(--b-body);
  cursor:pointer;
  box-shadow:0 3px 0 #090b2440;
  transition:transform .18s,box-shadow .18s,background .18s;
}
.brief-submit:hover{transform:translateY(-1px);box-shadow:0 4px 0 #090b2440}
.brief-submit:active{transform:translateY(1px);box-shadow:0 1px 0 #090b2440}
.brief-submit[aria-disabled=true],.brief-submit:disabled{opacity:.72;cursor:progress;transform:none}
.brief-submit .arrow{font-size:18px;line-height:1}
.brief-actions p{margin:0;font-size:13.5px;line-height:1.6;color:var(--b-muted);max-width:360px}

.brief-status{margin-top:18px}
.brief-status:empty{display:none}
.brief-notice{
  border:1px solid transparent;
  border-radius:8px;
  padding:14px 16px;
  font-size:14.5px;
  line-height:1.65;
}
.brief-notice [data-status-title]{display:block;font-weight:700;margin-bottom:3px;color:inherit}
.brief-notice-error{background:#fbeeec;border-color:#e7b8b2;color:#7d241e}
.brief-notice-success{background:#edf3dc;border-color:#c3d38d;color:#33411f}
.brief-notice-success a{color:#33411f;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

/* Off-screen honeypot. Only bots fill a field they cannot see or reach with the keyboard. */
.brief-hp{position:absolute!important;left:-9999px!important;top:auto!important;width:1px;height:1px;overflow:hidden}

.brief-footer{
  border-top:1px solid #e6e4da;
  margin-top:34px;
  padding:14px clamp(20px,5.4%,48px) 18px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:6px 24px;
  font-size:12.5px;
  color:var(--b-muted);
}
.brief-footer a{text-decoration:none}
.brief-footer a:hover{text-decoration:underline}

/* Result page after a no-JavaScript submit */
.brief-result{max-width:640px;margin:0 auto;padding:0 clamp(20px,5.4%,48px) 60px}
.brief-result h1{margin:36px 0 14px;font:700 clamp(28px,4.4vw,38px)/1.15 var(--b-head);letter-spacing:-.03em}
.brief-result p{font-size:16.5px;line-height:1.75;color:var(--b-ink-soft)}
.brief-result .button-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}
.brief-result .button-row a{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:12px 20px;
  border:1px solid var(--b-ink);
  border-radius:8px;
  background:var(--b-ink);
  color:var(--b-paper);
  font-weight:700;
  text-decoration:none;
}
.brief-result .button-row a.secondary{background:transparent;color:var(--b-ink)}

/* Brief links added to the contact page aside */
.brief-links{margin:8px 0 0;padding:0;list-style:none}
.brief-links li{border-bottom:1px solid #d7d7c9}
.brief-links li:last-child{border-bottom:0}
.brief-links .text-link{width:100%;margin:0}

/* Index of the three briefs */
.brief-index{max-width:900px;margin:0 auto;padding:0 clamp(20px,5.4%,48px) 60px}
.brief-index h1{margin:40px 0 12px;font:700 clamp(30px,4.6vw,42px)/1.1 var(--b-head);letter-spacing:-.035em}
.brief-index > p.lead{max-width:560px;margin:0 0 30px;font-size:16px;line-height:1.7;color:var(--b-muted)}
.brief-cards{display:grid;gap:16px;grid-template-columns:repeat(3,1fr);margin:0;padding:0;list-style:none}
.brief-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  height:100%;
  padding:20px;
  border:1px solid #dddccf;
  border-radius:10px;
  background:#fffdf7;
  text-decoration:none;
  transition:border-color .18s,transform .18s,box-shadow .18s;
}
.brief-card:hover{border-color:var(--b-olive);transform:translateY(-2px);box-shadow:0 8px 22px #171a3c14}
.brief-card strong{font:700 18px/1.3 var(--b-head);letter-spacing:-.015em}
.brief-card span{font-size:14px;line-height:1.6;color:var(--b-muted)}
.brief-card em{margin-top:auto;font-style:normal;font-weight:650;font-size:14px;color:var(--b-olive-deep)}

@media (max-width:760px){
  body.brief{background:var(--b-paper)}
  .brief-sheet{box-shadow:none}
  /* Stack the logo above the kicker so they never collide. */
  .brief-band{display:flex;flex-direction:column;align-items:flex-start;padding-top:24px}
  .brief-band .brand{position:static;margin-bottom:18px}
  .brief-grid,.brief-grid.three{grid-template-columns:1fr}
  .brief-choices{gap:8px 18px}
  .brief-cards{grid-template-columns:1fr}
  .brief-section > h2{margin-top:30px}
  .brief-section + .brief-section{margin-top:30px}
}

@media (max-width:420px){
  .brief-band h1{font-size:26px}
  .brief-actions .brief-submit{width:100%;justify-content:space-between}
  .brief-topbar{font-size:13px}
  .brief-topbar .inner{padding-inline:16px}
  .brief-topbar .topbar-links{gap:14px}
  .brief-topbar .topbar-links a:nth-child(2){display:none}
}

@media (prefers-reduced-motion:reduce){
  .brief *,.brief *::before,.brief *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

@media (forced-colors:active){
  .brief-choice input:checked{background:#000;border-color:#000}
  .brief-submit{border:2px solid ButtonText}
}

@media print{
  @page{size:Letter;margin:12mm}
  body.brief{background:#fff;font-size:12.5px}
  .brief-topbar,.brief-actions,.brief-file,.brief-hp,.brief-status,.brief-callout{display:none!important}
  /* The file section only exists to upload; drop its heading too. */
  .brief-section:has(.brief-file){display:none!important}
  .brief-sheet{box-shadow:none;width:100%;max-width:none}
  .brief-band{
    background:#667244!important;
    padding:16px 18px 14px!important;
    margin-bottom:6px;
    border-radius:0;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
  .brief-band h1{font-size:22px;margin:0 0 6px}
  .brief-band .brief-intro{font-size:11px;max-width:none;line-height:1.4}
  .brief-band .brand{position:absolute;top:12px;right:18px;margin:0}
  .brief-band .brand img{width:104px}
  .brief-body{padding:0}
  .brief-section{display:block;break-inside:auto}
  .brief-section > h2{margin:16px 0 8px;padding-bottom:4px;font-size:14px;break-after:avoid}
  .brief-section + .brief-section{margin-top:0}
  .brief-grid{gap:7px 12px}
  .brief-field,.brief-fieldset{break-inside:avoid}
  .brief-field > label,.brief-fieldset > legend{font-size:10.5px;margin-bottom:1px}
  .brief-field{gap:3px}
  .brief-field > label .optional{display:none}
  .brief-note{display:none}
  .brief input[type=text],.brief input[type=email],.brief input[type=tel],.brief input[type=url],.brief textarea{
    background:#f2f4e8!important;
    min-height:26px;
    padding:4px 6px;
    font-size:11.5px;
    border-color:#d6dbc4;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
  .brief textarea.tall,.brief textarea.xl{min-height:64px}
  .brief-choice{font-size:10.5px;min-height:0}
  .brief-choice input{width:11px;height:11px;margin-top:1px}
  .brief-footer{margin-top:14px;padding-top:8px;font-size:9.5px}
}
