/* =====================================================================
   INTAKE.CSS — OAF Public Intake Forms (Phase 1A)
   Public Layer only. Inherits brand.css (operating-company aesthetic).
   Writes into the relationship intelligence model (submissions).
   ===================================================================== */

.itk-topbar { position: sticky; top: 0; z-index: 50; display:flex; align-items:center; justify-content:space-between;
  padding: 1rem var(--gutter); background: rgba(244,241,234,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.itk-lock { display:flex; align-items:center; gap:.6rem; }
.itk-lock svg { width: 30px; height: 30px; }
.itk-lock__name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.itk-lock__sub { font-family: var(--font-mono); font-size:.52rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color: var(--ink-mute); }
.itk-back { font-family: var(--font-mono); font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-mute); }
.itk-back:hover { color: var(--red); }

.itk-hero { padding: clamp(3rem,7vw,5.5rem) var(--gutter) clamp(2rem,4vw,3rem); max-width: var(--maxw); margin-inline:auto; }
.itk-hero__eyebrow { margin-bottom: 1.2rem; }
.itk-hero h1 { font-family: var(--font-display); font-weight: 360; font-size: var(--t-h1); line-height: 1.02; letter-spacing: -.02em; max-width: 18ch; }
.itk-hero h1 em { font-style: italic; color: var(--red); }
.itk-hero p { color: var(--ink-mute); font-size: var(--t-lead); max-width: 60ch; margin-top: 1.3rem; }
.itk-gov { display:inline-flex; align-items:center; gap:.6rem; margin-top:1.5rem; font-family: var(--font-mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-mute); background: var(--paper-pure); border:1px solid var(--line); border-radius:999px; padding:.55em 1em; }
.itk-gov .d { width:7px; height:7px; border-radius:50%; background: var(--red); }

.itk-wrap { max-width: var(--maxw); margin-inline:auto; padding: 0 var(--gutter) clamp(4rem,8vw,7rem); }

/* Chooser */
.itk-chooser { display:grid; grid-template-columns: repeat(4,1fr); gap: .8rem; }
.itk-choice { text-align:left; background: var(--paper-pure); border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.3rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); cursor:pointer; }
.itk-choice:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.itk-choice.is-active { border-color: var(--red); box-shadow: var(--shadow-md); }
.itk-choice__ico { width: 26px; height: 26px; color: var(--red); margin-bottom: .9rem; }
.itk-choice__name { font-family: var(--font-display); font-weight: 480; font-size: 1.1rem; line-height:1.1; }
.itk-choice__desc { color: var(--ink-mute); font-size:.8rem; margin-top:.4rem; }

/* Form */
.itk-form-shell { margin-top: 2rem; background: var(--paper-pure); border:1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem,3vw,2.75rem); max-width: 860px; }
.itk-form-shell[hidden] { display:none; }
.itk-form__head { margin-bottom: 1.8rem; padding-bottom: 1.4rem; border-bottom:1px solid var(--line); }
.itk-form__type { font-family: var(--font-mono); font-size:.66rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color: var(--red); }
.itk-form__title { font-family: var(--font-display); font-weight: 420; font-size: var(--t-h3); margin-top:.5rem; }
.itk-form__sub { color: var(--ink-mute); font-size:.9rem; margin-top:.5rem; }

.itk-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.itk-field { margin-bottom: 1.1rem; }
.itk-field.col-2 { grid-column: span 2; }
.itk-field label { display:block; font-family: var(--font-mono); font-size:.62rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-mute); margin-bottom:.5rem; }
.itk-field label .req { color: var(--red); }
.itk-field input, .itk-field select, .itk-field textarea {
  width:100%; background: var(--paper); border:1px solid var(--line); border-radius:10px; color: var(--ink);
  padding:.8rem .9rem; font-family: var(--font-sans); font-size:.95rem; transition: border-color .2s; }
.itk-field input:focus, .itk-field select:focus, .itk-field textarea:focus { outline:none; border-color: var(--red); background: var(--paper-pure); }
.itk-field textarea { resize: vertical; min-height: 96px; }
.itk-field .hint { font-size:.74rem; color: var(--ink-faint); margin-top:.4rem; }

/* Consent */
.itk-consent { background: var(--paper); border:1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; margin: .5rem 0 1.4rem; }
.itk-consent__head { font-family: var(--font-mono); font-size:.62rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-mute); margin-bottom:.8rem; }
.itk-check { display:flex; gap:.7rem; align-items:flex-start; padding:.4rem 0; cursor:pointer; }
.itk-check input { margin-top:.2rem; width:16px; height:16px; accent-color: var(--red); flex:none; }
.itk-check span { font-size:.86rem; color: var(--ink); }
.itk-check .req { color: var(--red); }

.itk-privacy { display:flex; gap:.6rem; align-items:flex-start; font-size:.78rem; color: var(--ink-faint); margin-bottom:1.6rem; }
.itk-privacy svg { width:16px; height:16px; flex:none; margin-top:1px; color: var(--ink-mute); }

.itk-actions { display:flex; gap:.8rem; align-items:center; flex-wrap:wrap; }
.itk-err { color: var(--red); font-size:.82rem; min-height:1.1rem; }

/* Success */
.itk-success { max-width: 680px; background: var(--paper-pure); border:1px solid var(--line); border-radius: var(--r-xl); padding: clamp(2rem,4vw,3.5rem); text-align:center; margin-top:2rem; }
.itk-success[hidden] { display:none; }
.itk-success__mark { width:64px; height:64px; margin:0 auto 1.5rem; border-radius:50%; background: var(--red); display:grid; place-items:center; color:#fff; }
.itk-success h2 { font-family: var(--font-display); font-weight:380; font-size: var(--t-h3); }
.itk-success p { color: var(--ink-mute); margin-top:1rem; }
.itk-success .itk-flow { display:flex; align-items:center; justify-content:center; gap:.5rem; flex-wrap:wrap; margin-top:1.8rem; }
.itk-success .itk-flow span { font-family: var(--font-mono); font-size:.6rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background: var(--paper); border:1px solid var(--line); border-radius:999px; padding:.45em .8em; color: var(--ink-mute); }
.itk-success .itk-flow span.k { color: var(--red); border-color: rgba(200,16,46,.35); }
.itk-success .itk-flow i { color: var(--ink-faint); font-style:normal; }

@media (max-width: 980px){ .itk-chooser { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .itk-chooser { grid-template-columns: 1fr; } .itk-grid { grid-template-columns: 1fr; } .itk-field.col-2 { grid-column: span 1; } }
