/* Ratio /contact, /contact/verzonden and the 404 page (the verzonden frame): page rules only. The shell, the masthead and the colophon are shell.css.
   Split off Over (about.css) on 2026-10-20; the rules are the ones Contact had there (docs/design/ratio-storefront/
   over/v2-locked.html), under a page head of its own. The width rule: the columns run to the frame's right edge; only
   running prose keeps its measure. */
:root{
  --measure:36.5rem;    /* about 75 characters of 18px Spectral */
  --rule:inset 0 1px 0 var(--rs-lip),inset 0 2px 0 var(--rs-raised);
  --rule-end:inset 0 1px 0 var(--rs-lip),inset 0 2px 0 var(--rs-raised),inset 0 -1px 0 var(--rs-lip);
}
main{font-variant-numeric:lining-nums tabular-nums}
.ph,.nb{white-space:nowrap}
.prose{max-width:var(--measure)}

/* ---------- The page head: the statement and its drift rule across the frame, the intro at its measure. ---------- */
.page-head{padding-top:28px}
.page-head .drift{width:100%}

/* ---------- The form (55%) and the other ways in (45%) splitting the full width, on one top
   edge. ---------- */
.contact{margin-top:36px;display:grid;grid-template-columns:minmax(0,55fr) minmax(0,45fr);column-gap:56px;align-items:start}
.field + .field{margin-top:18px}
.field label{display:block;font-weight:600;font-size:18px;line-height:1.3}
.field .opt{font-weight:400;color:var(--rs-ink-2)}
.help{font-size:17px;line-height:1.4;color:var(--rs-ink-2);margin-top:3px}
/* Inputs: square, raised paper, an edge border, the field pressed in by a lip along its top; an ink focus ring. */
.field input,.field textarea{display:block;width:100%;margin-top:7px;padding:10px 12px;background:var(--rs-raised);color:var(--rs-ink);font-family:var(--rs-f-body);font-size:18px;line-height:1.4;border:1px solid var(--rs-edge);border-radius:0;box-shadow:inset 0 2px 0 var(--rs-lip);-webkit-appearance:none;appearance:none}
.field input{min-height:48px}
.field textarea{resize:vertical;min-height:12rem}
.field input:focus,.field textarea:focus{outline:2px solid var(--rs-ink);outline-offset:2px}
/* A field the server sent back: the message under the label in the help text's size, in cinnabar (colour that
   carries meaning), and the field's border in the same colour. Not in the mockup, which has no error state. */
.error{margin-top:3px;font-size:17px;line-height:1.4;color:var(--rs-cinnabar)}
.field [aria-invalid="true"]{border-color:var(--rs-cinnabar);box-shadow:inset 0 2px 0 var(--rs-lip),inset 0 0 0 1px var(--rs-cinnabar)}
/* The honeypot: off screen, out of the tab order, hidden from assistive technology. */
.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.send{margin-top:22px}
.send button{border:0;cursor:pointer;text-align:left}
.send button:focus-visible{outline:2px solid var(--rs-brass);outline-offset:3px}
.send .btn--line{font-size:18px;padding:10px 16px 10px 14px}
/* The fine print under the message field: small, ink-2, flush left. */
.field .fine{margin-top:6px;font-size:14px;line-height:1.4;color:var(--rs-ink-2)}
.field .fine a{color:var(--rs-ink-2)}

/* The other ways in: two short entries split by a thin pressed rule, each under the shared .minor-head (Spectral
   italic, ink-2). */
.ways > div + div{margin-top:16px;padding-top:14px;box-shadow:var(--rule)}
.ways .minor-head{font-size:21px;line-height:1.2}
.ways p{margin-top:6px;font-size:18px;line-height:1.42;max-width:26rem}

/* ---------- /contact/verzonden: the statement and its drift rule across the frame, the paragraph at its measure, one
   link; room below so the slab does not ride up under it. ---------- */
.done{padding-top:28px;padding-bottom:200px}
.done .statement{max-width:var(--measure)}
.done .drift{width:100%}
.home{margin-top:16px}

/* ---------- The colophon sits a little further down, as on Over mij and Privacy en security ---------- */
.colophon{margin-top:88px}

/* ---------- Narrower screens ---------- */
@media (max-width:900px){
  /* The form, then the other ways in, under a thin rule. */
  .contact{grid-template-columns:minmax(0,1fr)}
  .ways{margin-top:36px;padding-top:16px;box-shadow:var(--rule);max-width:var(--measure)}
}
@media (max-width:640px){
  main{font-size:18px}  /* the shell sets 17px on a phone; this page keeps the mockup's 18px reading size */
  .page-head{padding-top:20px}
  .contact{margin-top:28px}
  .done{padding-top:20px;padding-bottom:64px}
  .colophon{margin-top:72px}
}

/* ---------- Print: no form (the page frame is shell.css). ---------- */
@media print{
  main{font-size:11pt}
  form{display:none !important}
  .contact{display:block}
  .colophon{break-inside:avoid}
}
