/* ============================================================
   SOMA — Request a Briefing (intake docket)
   Loaded after soma.css + soma-pages.css.
   ============================================================ */

.bf-head { max-width: 760px; }
.bf-head .ptag { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.bf-head .ptag .ln { width: 40px; height: 1px; background: var(--pen); }
.bf-head h1 { margin-bottom: 18px; }
.bf-head .standfirst { font-family: var(--serif); font-weight: 430; font-size: clamp(20px,2.2vw,27px); line-height: 1.22; color: var(--ink-soft); max-width: 34ch; }

/* ---- engagement selector ---- */
.bf-engage { padding: 4px 0 20px; }
.bf-eng-label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.bf-eng-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bf-eng { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; padding: 14px 15px; border: 1px solid var(--rule); background: transparent; cursor: pointer; transition: background .15s, border-color .15s; border-radius: 3px; }
.bf-eng .en { font-family: var(--serif); font-size: 16px; line-height: 1.12; letter-spacing: -.01em; }
.bf-eng .ep { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bf-eng:hover { border-color: var(--pen); background: var(--paper-2); }
.bf-eng.sel { background: var(--ink); border-color: var(--ink); }
.bf-eng.sel .en { color: var(--paper); }
.bf-eng.sel .ep { color: var(--pen); }
@media (max-width: 680px) { .bf-eng-opts { grid-template-columns: 1fr; } }

/* ---- the docket form ---- */
.bf-form { border-top: 2px solid var(--ink); }
.bf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(22px,3vw,44px); }
.bf-field { display: flex; flex-direction: column; padding: 17px 0; border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.bf-field.full { grid-column: 1 / -1; }
.bf-field label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; display: flex; gap: 6px; align-items: center; transition: color .2s; }
.bf-field label .req { color: var(--pen); }
.bf-field input, .bf-field select, .bf-field textarea {
  font-family: var(--serif); font-size: 19px; color: var(--ink); background: transparent; border: none; outline: none;
  padding: 2px 0; width: 100%; letter-spacing: -.01em;
}
.bf-field textarea { resize: vertical; min-height: 58px; font-size: 17px; line-height: 1.55; }
.bf-field input::placeholder, .bf-field textarea::placeholder { color: #B4AD9C; font-style: italic; opacity: 1; }
.bf-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path d='M1 1l5 5 5-5' stroke='%23CE1620' fill='none' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat; background-position: right 2px center; }
.bf-field select option { font-family: var(--sans); }
.bf-field:focus-within { border-bottom-color: var(--pen); }
.bf-field:focus-within label { color: var(--pen); }
.bf-field.err { border-bottom-color: var(--pen); }
.bf-field.err label { color: var(--pen); }
.bf-field.err label::after { content: "— required"; color: var(--pen); letter-spacing: .04em; }

/* posture attach */
.bf-attach { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.bf-attach .box { width: 18px; height: 18px; border: 1.5px solid var(--ink); position: relative; flex: none; }
.bf-attach .box.on { background: var(--ink); border-color: var(--ink); }
.bf-attach .box.on::after { content: "✓"; position: absolute; inset: 0; color: var(--paper); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.bf-attach .txt { font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.bf-attach .txt b { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pen); font-weight: 600; }
.bf-attach.none { cursor: default; }
.bf-attach.none .box { display: none; }
.bf-attach.none .txt a { color: var(--pen); text-decoration: underline; text-underline-offset: 2px; }

/* submit */
.bf-submit { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.bf-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--muted); max-width: 30ch; line-height: 1.5; }

/* ---- acknowledgment ---- */
.bf-ack { border: 2px solid var(--ink); background: var(--paper); display: none; }
.bf-ack.show { display: block; animation: bfIn .5s ease; }
@keyframes bfIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bf-ack .ah { background: var(--ink); color: var(--paper); padding: 15px 24px; display: flex; justify-content: space-between; align-items: center; }
.bf-ack .ah .label { color: var(--paper); }
.bf-ack .ah .stamp { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--pen); }
.bf-ack .ab { padding: clamp(28px,3.5vw,46px); }
.bf-ack .filed { font-family: var(--serif); font-size: clamp(34px,4.6vw,56px); letter-spacing: -.02em; line-height: 1; }
.bf-ack .ref { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--pen); margin: 16px 0 22px; }
.bf-ack .resp { color: var(--ink-soft); font-size: 16px; line-height: 1.58; max-width: 48ch; }
.bf-sched { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--rule); }
.bf-sched .bs-head { margin-bottom: 18px; }
.bf-sched .bs-head h3 { font-family: var(--serif); font-weight: 460; font-size: clamp(22px,2.4vw,30px); line-height: 1.08; letter-spacing: -.012em; margin: 8px 0 8px; }
.bf-sched .bs-head p { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 50ch; }
.bf-sched .calendly-inline-widget { border: 1px solid var(--rule); background: var(--paper); }
.bf-recap { margin-top: 26px; border-top: 1px solid var(--rule); }
.bf-recap .r { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px dotted var(--rule); }
.bf-recap .r .k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.bf-recap .r .v { font-size: 15px; color: var(--ink); line-height: 1.4; }
.bf-recap .r .v.posture { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--pen); }
.bf-ack .ab .btn { margin-top: 28px; }
.bf-maillink { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); line-height: 1.55; margin: 16px 0 0; max-width: 48ch; }
.bf-maillink a { color: var(--pen); text-decoration: underline; text-underline-offset: 2px; }

/* ---- right card extras ---- */
.bf-card .bf-lead { font-family: var(--serif); font-size: 21px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); margin-bottom: 20px; }
.bf-card .sc-rows .r { align-items: start; }
.bf-card .sc-rows .r .v { text-align: right; max-width: 60%; line-height: 1.4; font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; text-transform: none; color: var(--ink); }
.bf-card .sc-rows .r .v.pen { color: var(--pen); }

@media (max-width: 680px) {
  .bf-grid { grid-template-columns: 1fr; }
}
