/* KAWEN — Print my file intake.
   Loaded after css/services.css, which supplies the nav, masthead and chapter
   rules this page reuses. css/main.css, css/objects.css and css/services.css
   are all left byte-identical so the index, objects and services pixel
   baselines still hold.

   Palette is §4 as-is: paper ground for the working surface, ink for the
   masthead, cobalt for the confirmation. Acid stays an accent — the send
   button, the field rules on focus, the step indices — never a wash.
   No rounded cards, no drop shadows, no gradient: the form is drawn with
   rules, the way the job cards on services.html are. */

.page-intake{--cobalt:#2254FF;}

/* ---------- masthead ---------- */
.intake-masthead h1{font-size:clamp(38px,5.4vw,84px)}

/* ---------- the working surface (paper) ---------- */
.intake{background:var(--paper);color:var(--ink);border-top:3px solid var(--acid);
  padding:clamp(34px,5vh,64px) var(--gutter) clamp(64px,10vh,110px)}

/* Asymmetric: the form takes the wide column, the explanation hangs beside
   it. Below 940px the aside moves under the form rather than shrinking into
   an unreadable rail. */
.intake-grid{display:grid;gap:clamp(30px,4vw,72px);
  grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start;
  max-width:1240px}
@media (max-width:940px){.intake-grid{grid-template-columns:minmax(0,1fr)}}

/* ---------- fieldsets ---------- */
.fs{border:0;border-top:1px solid var(--hair);padding:26px 0 6px;margin:0}
.fs:first-of-type{border-top:0;padding-top:0}
.fs > legend{display:flex;align-items:baseline;gap:12px;padding:0;margin-bottom:20px;
  font-weight:700;font-size:clamp(19px,1.7vw,24px);letter-spacing:-.01em}
.fs-i{font-family:var(--mono);font-size:12px;letter-spacing:.1em;
  color:var(--ink);background:var(--acid);padding:3px 7px}

.field{margin-bottom:22px;min-width:0}
.field-narrow{max-width:150px}
.row{display:grid;gap:clamp(16px,2vw,28px);grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:620px){.row{grid-template-columns:minmax(0,1fr)}}

.field label,.radios > legend{display:block;margin-bottom:7px;
  font-size:13px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.opt{font-weight:400;text-transform:none;letter-spacing:0;
  font-size:13px;color:rgba(9,10,12,.5)}
.field abbr{color:var(--ink);text-decoration:none;border-bottom:2px solid var(--acid)}

/* Inputs are a rule and a ground, not a box: no radius, no shadow. The
   1.5px bottom rule thickens on focus rather than changing colour, so the
   focus ring stays the only colour signal and contrast never drops. */
.field input[type=text],.field input[type=email],.field input[type=tel],
.field input[type=number],.field textarea,.field select{
  width:100%;font:inherit;font-size:16px;color:var(--ink);
  background:rgba(9,10,12,.035);border:0;border-bottom:1.5px solid rgba(9,10,12,.4);
  padding:11px 12px;border-radius:0;transition:border-color .15s,background .15s}
.field textarea{resize:vertical;min-height:104px;line-height:1.5}
/* The native select, kept native: a custom dropdown is one of the surest ways
   to break keyboard and screen-reader use for no visual gain here. */
.field select{appearance:none;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),
                   linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position:calc(100% - 18px) 50%,calc(100% - 12px) 50%;
  background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:38px}
.field input:hover,.field textarea:hover,.field select:hover{background:rgba(9,10,12,.06)}
.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid var(--ink);outline-offset:2px;
  border-bottom-color:var(--ink);background:rgba(9,10,12,.06)}
.field input::placeholder,.field textarea::placeholder{color:rgba(9,10,12,.42)}

/* File inputs: the native control, restyled only where it can be, because a
   custom drop zone that hides the real input is exactly the kind of thing
   that breaks for keyboard and screen-reader users. */
.field input[type=file]{width:100%;font:inherit;font-size:15px;color:var(--ink);
  padding:14px 12px;background:rgba(9,10,12,.035);
  border:1.5px dashed rgba(9,10,12,.38)}
.field input[type=file]:hover{background:rgba(9,10,12,.06);border-color:var(--ink)}
.field input[type=file]:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.field input[type=file]::file-selector-button{font:inherit;font-size:13px;font-weight:600;
  letter-spacing:.05em;text-transform:uppercase;cursor:pointer;
  margin-right:14px;padding:8px 14px;border:0;border-radius:0;
  background:var(--ink);color:var(--paper)}
.field input[type=file]::file-selector-button:hover{background:var(--cobalt)}

.hint{margin-top:8px;font-size:13.5px;line-height:1.5;color:rgba(9,10,12,.62)}
.hint-wide{margin:-8px 0 22px}

.radios{border:0;padding:0;margin-bottom:26px}
.radios label{display:inline-flex;align-items:center;gap:8px;margin:0 20px 0 0;
  font-size:15px;font-weight:400;letter-spacing:0;text-transform:none;cursor:pointer}
.radios input{accent-color:var(--ink);width:17px;height:17px}

/* ---------- submit ---------- */
.intake-submit{border-top:1px solid var(--hair);padding-top:24px;margin-top:6px}
.btn-send{font:inherit;font-weight:700;font-size:16px;letter-spacing:.03em;
  cursor:pointer;border:0;border-radius:0;padding:15px 30px;
  background:var(--ink);color:var(--paper);transition:background .15s}
.btn-send:hover{background:var(--cobalt)}
.btn-send:disabled{background:rgba(9,10,12,.35);cursor:progress}
.btn-send:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* ---------- problems ---------- */
/* Coral is the §4 palette's alert colour. On paper it is used as a rule and a
   label, not a tinted panel, and the message itself stays full-strength ink
   so it never depends on colour to be read. */
.problems{margin-top:26px;border-left:4px solid #FF684F;padding:14px 0 14px 16px}
.problems-h{font-weight:700;font-size:14px;letter-spacing:.05em;text-transform:uppercase;
  margin-bottom:8px}
.problems ul{margin:0;padding-left:20px}
.problems li{font-size:15px;line-height:1.55;margin-bottom:5px}

/* ---------- aside ---------- */
.intake-aside{border-left:1px solid var(--hair);padding-left:clamp(20px,2.4vw,34px)}
@media (max-width:940px){
  .intake-aside{border-left:0;border-top:1px solid var(--hair);
    padding:30px 0 0;margin-top:10px}
}
.aside-h{font-weight:700;font-size:clamp(19px,1.7vw,23px);letter-spacing:-.01em;
  margin-bottom:20px}
/* NOT ".steps": css/main.css already owns that name for the hero scene's
   absolutely-positioned step labels, and reusing it dropped this list on top
   of the form. Namespaced to the page instead. */
.intake-steps{list-style:none;margin-bottom:32px}
.intake-steps li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;
  padding:13px 0;border-top:1px solid var(--hair)}
.intake-steps li:first-child{border-top:0;padding-top:0}
.intake-step-i{font-family:var(--mono);font-size:12px;letter-spacing:.1em;
  color:rgba(9,10,12,.45);padding-top:2px}
.intake-steps p{font-size:15px;line-height:1.55}

.aside-facts{border-top:2px solid var(--ink);margin-bottom:22px}
.aside-facts > div{display:flex;justify-content:space-between;gap:16px;
  padding:10px 0;border-bottom:1px solid var(--hair)}
.aside-facts dt{font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;
  text-transform:uppercase;color:rgba(9,10,12,.55)}
.aside-facts dd{font-size:14.5px;font-weight:600;text-align:right}
.aside-facts .is-pending{font-weight:400;color:rgba(9,10,12,.55)}

.aside-note{font-size:14px;line-height:1.6;color:rgba(9,10,12,.68);margin-bottom:16px}
.aside-note-policy{border-left:3px solid var(--clay);padding-left:14px}

/* ---------- confirmation (cobalt) ---------- */
/* #F4F0E7 on #2254FF measures 4.89:1, so nothing on this ground is allowed to
   drop below full-strength paper. */
.sent{background:var(--cobalt);color:var(--paper);
  padding:clamp(56px,9vh,110px) var(--gutter)}
.chapter-on-cobalt{color:var(--paper)}
.sent h2{margin-top:14px;font-weight:700;font-size:clamp(38px,5.4vw,80px);
  line-height:.96;letter-spacing:-.022em}
.sent-ar{margin-top:16px;font-family:var(--sans-ar);font-weight:500;
  font-size:clamp(19px,1.8vw,27px)}
.sent-ref{margin-top:36px;display:flex;flex-wrap:wrap;align-items:baseline;gap:16px;
  font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.sent-ref strong{font-family:var(--mono);font-size:clamp(28px,3.6vw,46px);
  font-weight:700;letter-spacing:.04em;background:var(--acid);color:var(--ink);
  padding:4px 14px}
.sent-line{margin-top:18px;max-width:56ch;font-size:clamp(15px,1.2vw,17px);line-height:1.55}
.sent-files{list-style:none;margin-top:24px;max-width:56ch;border-top:1px solid rgba(244,240,231,.4)}
.sent-files li{display:flex;justify-content:space-between;gap:18px;padding:9px 0;
  border-bottom:1px solid rgba(244,240,231,.4);font-size:14.5px}
.sent-files span:last-child{font-family:var(--mono);font-size:12.5px;white-space:nowrap}
.sent .close-back{margin-top:44px;display:flex;flex-wrap:wrap;gap:clamp(18px,3vw,44px);
  font-weight:600;font-size:15px}
.sent .close-back a{display:inline-flex;align-items:center;gap:10px;
  border-bottom:1px solid rgba(244,240,231,.5);padding-bottom:3px}
.sent .close-back a:hover .arrow{transform:translateX(5px)}

@media (prefers-reduced-motion:reduce){
  .arrow{transition:none}
  .btn-send,.field input,.field textarea{transition:none}
}

/* ---------- H4: how this works ---------- */
/* Seven plain answers before the form, because a customer who cannot tell
   whether this is an instant price will not send a file. Ink ground, same
   editorial rhythm as the masthead above it — no cards, no icon row. */
.how{background:var(--ink);color:var(--paper);
  padding:0 var(--gutter) clamp(44px,7vh,80px)}
.how h2{font-weight:700;font-size:clamp(19px,1.8vw,24px);letter-spacing:-.01em;
  padding-bottom:10px;margin-bottom:6px;border-bottom:2px solid var(--acid);
  display:inline-block}
.how-list{margin-top:18px;display:grid;gap:0;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));
  column-gap:clamp(28px,4vw,64px)}
.how-list > div{padding:16px 0;border-top:1px solid rgba(244,240,231,.18)}
.how-list dt{font-weight:700;font-size:15.5px;margin-bottom:6px}
.how-list dd{font-size:14.5px;line-height:1.6;color:rgba(244,240,231,.74);max-width:52ch}
.how-list strong{color:var(--paper)}

/* ---------- H4: receipt ---------- */
.btn-copy{font:inherit;font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;cursor:pointer;border:0;border-radius:0;
  background:var(--paper);color:var(--ink);padding:7px 12px;margin-left:14px;
  vertical-align:middle}
.btn-copy:hover{background:var(--acid)}
.btn-copy:focus-visible{outline:2px solid var(--paper);outline-offset:3px}
.sent-received{font-family:var(--mono);font-size:12.5px;letter-spacing:.06em;
  opacity:.8}

/* Hidden from sight, from the tab order and from assistive technology.
   Not display:none — some automated submitters skip those and this field
   only earns its place if they fill it. */
.nope{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
