/* ===== 12.11 CONTACT · three-step guided brief (restored from v0.2 as-is) ===== */
.contact{padding-bottom:100px}

/* layout: intro on the left, the brief on the right */
.brief-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(32px,6vw,90px);align-items:start}
.brief-intro{position:relative;padding-top:24px}
.brief-intro h2{margin-top:20px;max-width:12ch}
.brief-lede{color:var(--ink2);max-width:38ch;margin-top:28px;font-size:var(--t-lede);line-height:1.65}
.brief-orbit{display:flex;align-items:center;gap:24px;padding:36px 0;color:var(--ink3);font-size:var(--t-xs);letter-spacing:.18em}
.brief-orbit i{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--line2);border-radius:50%;color:var(--text-red);font-size:var(--t-3xl);font-style:normal;animation:brief-orbit 12s linear infinite}
@keyframes brief-orbit{to{transform:rotate(360deg)}}
.brief-expect{border-top:1px solid var(--line);padding-top:24px;max-width:38ch}
.brief-expect p:not(.eyebrow){margin-top:12px;color:var(--ink2)}
.brief-small{font-size:var(--t-sm)}

/* the brief card */
.brief-shell{border:1px solid var(--line);border-radius:var(--r-md);padding:clamp(24px,3.5vw,48px);background:radial-gradient(ellipse at top right,var(--redSoft),transparent 65%),var(--surface);min-width:0}
.brief-progress{display:flex;justify-content:space-between;gap:12px;list-style:none;margin:0 0 38px;padding:0 0 24px;border-bottom:1px solid var(--line);font-size:var(--t-xs);color:var(--ink3)}
.brief-progress li{display:flex;gap:8px;align-items:center}
.brief-progress span{font-variant-numeric:tabular-nums}
.brief-progress [aria-current]{color:var(--ink);font-weight:700}
.brief-progress .is-complete{color:var(--text-ok)}
.brief-kicker{font-size:var(--t-xs);letter-spacing:.12em;color:var(--text-red);margin-bottom:12px}
.brief-step h3,.brief-result h3{font-size:var(--t-h3);line-height:1.2}
.brief-step h3:focus{outline:none}
.brief-help{color:var(--ink2);font-size:var(--t-sm);margin:12px 0 28px}

/* step 1: service choices */
.service-options{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.service-options label{position:relative;display:flex;gap:10px;justify-content:space-between;align-items:center;padding:18px 16px;min-height:104px;border:1px solid var(--line2);border-radius:var(--r-md);cursor:pointer;background:var(--bg);font-size:var(--t-sm);transition:background .2s,border-color .2s}
.service-options label:has(:checked){border-color:var(--ok);background:var(--ok-soft)}
.service-options label:has(:focus-visible){outline:2px solid var(--focus);outline-offset:3px}
.service-options input,.brief-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.service-options small{display:block;color:var(--ink3);font-size:var(--t-xs);line-height:1.5;margin-top:6px}
.service-options b{color:var(--ink3);font-size:var(--t-xl);font-weight:400;transition:transform var(--d-ui) var(--ease)}
.service-options :has(:checked) b{color:var(--text-ok);transform:rotate(45deg)}
.service-wide{grid-column:1/-1;min-height:64px!important}

/* steps 2 and 3: fields (v0.2 look) */
.brief-step .field{margin-bottom:18px}
.brief-step .field label{font-size:var(--t-xs);font-weight:400;letter-spacing:.12em;text-transform:uppercase;color:var(--ink3)}
.brief-step .field :is(input,textarea,select){background-color:var(--bg);border-color:var(--line2);border-radius:var(--r-sm);padding:13px 14px}
.brief-step .field textarea{width:100%;min-height:84px;resize:vertical;border:1px solid var(--line2);font-size:var(--t-base);color:var(--ink);font-family:var(--sans)}
.brief-step .field textarea::placeholder{color:var(--ink3);opacity:1}
.brief-step .field textarea:focus{outline:none;border-color:var(--ink)}
.brief-step .field textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}

/* actions, preview note, result */
.brief-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:26px}
.brief-actions .btn{margin-left:auto;min-width:160px}
.brief-back{display:inline-flex;align-items:center;gap:8px;min-height:48px;color:var(--ink2)}
.brief-preview{font-size:var(--t-xs);color:var(--ink3);margin-top:24px;line-height:1.6}
#brief-error{font-size:var(--t-sm);color:var(--text-red);margin-top:16px}
#brief-error:empty{display:none}
.brief-result:focus{outline:none}
#brief-summary{margin:24px 0;overflow-wrap:anywhere}
#brief-summary dt{font-size:var(--t-xs);color:var(--ink3);text-transform:uppercase;letter-spacing:.1em;margin-top:18px}
#brief-summary dd{margin:4px 0 0;color:var(--ink);white-space:pre-wrap}
.btn-2{border:1px solid var(--line2);color:var(--ink)}
.btn-2:hover{border-color:var(--ink)}

@media(max-width:880px){.brief-layout{grid-template-columns:1fr}.brief-intro h2{max-width:none}.brief-lede{max-width:48ch}.brief-orbit{padding:20px 0}.brief-expect{max-width:none}.brief-shell{padding:28px}}
@media(max-width:520px){.brief-shell{padding:22px}.brief-progress{gap:8px;font-size:var(--t-xs)}.brief-progress li{display:block}.brief-progress span{display:block;margin-bottom:4px}.service-options{grid-template-columns:1fr}.service-options label{min-height:80px}.brief-lede{font-size:var(--t-base)}}
.rm .brief-orbit i{animation:none}

/* ---------- orange brief card (reversed colours): orange card, white text and lines;
   chosen options and the main button flip to white with orange text ---------- */
.brief-shell{--ink:var(--on-brand);--ink2:var(--on-brand-2);--ink3:var(--on-brand-2);--line:var(--on-brand-line);--line2:var(--on-brand-line2);
  --text-red:var(--on-brand);--text-ok:var(--on-brand);--focus:var(--on-brand);
  background:radial-gradient(ellipse at top right,var(--on-brand-soft),transparent 60%),var(--red);border-color:var(--red);color:var(--ink)}
.brief-progress [aria-current]{color:var(--on-brand)}
.service-options label{background:transparent;color:var(--on-brand)}
.service-options label:hover{background:var(--on-brand-soft)}
.service-options label:has(:checked){background:var(--on-brand);border-color:var(--on-brand);color:var(--red)}
.service-options label:has(:checked) small,.service-options :has(:checked) b{color:var(--red)}
/* inputs stay white with dark text so typing is easy to read */
.brief-shell .field :is(input,textarea,select){background-color:var(--on-brand);border-color:var(--on-brand);color:var(--midnight)}
.brief-shell .field :is(input,textarea)::placeholder{color:color-mix(in srgb,var(--midnight) 50%,transparent)}
.brief-shell .field :is(input,textarea,select):focus{border-color:var(--midnight)}
.brief-shell .btn-1{background:var(--on-brand);color:var(--red)}
.brief-shell .btn-1 .sheen{display:none}
.brief-shell .btn-1:hover{background:var(--midnight);color:var(--on-brand)}
.brief-shell .btn-2{border-color:var(--on-brand);color:var(--on-brand)}
.brief-shell .btn-2:hover{background:var(--on-brand);color:var(--red)}
.brief-back{color:var(--on-brand)}
#brief-error{font-weight:600}

/* step tabs: the current step is a white pill with orange text; done steps get a tick-style dim; future steps stay faint */
.brief-shell .brief-progress li{padding:8px 14px;border-radius:var(--r-pill);color:var(--on-brand-2);opacity:.7;transition:background-color var(--d-ui) var(--ease),color var(--d-ui) var(--ease),opacity var(--d-ui) var(--ease)}
.brief-shell .brief-progress [aria-current]{background:var(--on-brand);color:var(--red);opacity:1}
.brief-shell .brief-progress .is-complete{opacity:1;color:var(--on-brand);box-shadow:inset 0 0 0 1px var(--on-brand-line2)}
@media(max-width:520px){.brief-shell .brief-progress li{padding:6px 10px}}

/* phones: the three steps become an even progress bar (a line per step + number and label under it), not wrapping pills */
@media(max-width:600px){
  .brief-shell .brief-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:28px;padding-bottom:20px}
  .brief-shell .brief-progress li{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 0 0;border-radius:0;background:none;box-shadow:none;
    border-top:3px solid var(--on-brand-line);color:var(--on-brand-2);opacity:.75;line-height:1.3;transition:border-color var(--d-ui) var(--ease),opacity var(--d-ui) var(--ease)}
  .brief-shell .brief-progress li span{display:block;margin:0;font-size:var(--t-xs);letter-spacing:.08em}
  .brief-shell .brief-progress [aria-current]{background:none;color:var(--on-brand);border-top-color:var(--on-brand);opacity:1}
  .brief-shell .brief-progress .is-complete{box-shadow:none;color:var(--on-brand);border-top-color:var(--on-brand);opacity:1}
  /* keep the last line clear of the floating WhatsApp button */
  .brief-preview{padding-right:72px}
  .brief-actions .btn{min-width:0;flex:1 1 auto;max-width:200px}
}
