/* Ratio /wat-zit-erin, ported from docs/design/ratio-storefront/wat-zit-erin/v3-locked.html: page rules only. The
   shell, the masthead, the colophon and the closing trial block are shell.css; the eight tiles are the shared key-point
   tiles, points.css.
   The width rule: every section, rule and tile row runs to the frame's right edge, the masthead's
   edge. Only running prose keeps its measure. One seam between sections, each H2 under a thin pressed rule. */
:root{
  --seam:64px;          /* between sections, the same everywhere */
  --gap:48px;           /* between two columns */
  --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}

/* ---------- Block 1 · Kop and key facts. The H1, the drift rule to the frame edge, the one line; then two key
   facts in equal columns across the frame between two thin pressed rules. Each fact: a phrase at H2 size in
   Fraunces 500, a small ink-2 line under it. ---------- */
.page-head{padding-top:22px}
.page-head .drift{width:100%}
.lead{font-size:19px;line-height:1.45;max-width:40rem}
.facts{margin-top:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--gap);padding:16px 0 17px;box-shadow:var(--rule-end)}
.facts li{min-width:0}
.facts .big{font-family:var(--rs-f-display);font-weight:500;font-variation-settings:"SOFT" 0,"WONK" 0;font-size:32px;line-height:1.12;letter-spacing:-.005em}
.facts .sm{margin-top:6px;font-size:17px;line-height:1.4;color:var(--rs-ink-2)}

/* ---------- Sections: one rhythm. An H2 under a thin pressed rule, one seam between every two. ---------- */
.sec{margin-top:var(--seam);scroll-margin-top:16px;padding-top:22px;box-shadow:var(--rule)}
.sec-head{font-size:32px;line-height:1.12}
.sec-head + *{margin-top:16px}
.prose{max-width:var(--measure)}
.prose + .prose{margin-top:12px}

/* Two halves splitting the full width. */
.pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--gap);align-items:start}
.pair > *{min-width:0}

/* ---------- Block 2 · Wat u met Ratio doet. Two rows of four key-point tiles (points.css), each row under a small
   head (Spectral italic, ink-2). The block opens without its own rule: the key facts' closing rule is the divider, one
   seam above the H2. ---------- */
#doen.sec{box-shadow:none;padding-top:0}
.tiles-head{margin-top:20px}
.tiles-head ~ .tiles-head{margin-top:28px}
.tiles-head + .points{margin-top:10px}

/* ---------- Block 3 · Welke uitspraken erin zitten. Two columns under the H2: the prose at its measure, and the aside
   in the space to its right, out to the frame edge. The aside: no head, three entries split by thin pressed rules, the
   first one's name on the first prose line; each a bold name, its status in italic ink-2, one line of explanation. ---------- */
.split{display:grid;grid-template-columns:minmax(0,var(--measure)) minmax(0,1fr);column-gap:var(--gap);align-items:start}
.side{scroll-margin-top:16px}
.notin > div + div{margin-top:11px;padding-top:10px;box-shadow:var(--rule)}
.notin dt{font-weight:600;font-size:17px;line-height:1.35}
.notin dd{font-size:17px;line-height:1.4}
.notin .status{font-style:italic;color:var(--rs-ink-2);margin-top:1px}
.notin .status + dd{margin-top:4px}

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

/* ---------- Narrower screens ---------- */
@media (max-width:900px){
  /* Every pair one column; the key facts stack, each on its own thin rule. */
  .pair,.split{grid-template-columns:minmax(0,1fr)}
  .side{margin-top:24px;padding-top:12px;box-shadow:var(--rule);max-width:var(--measure)}
  .duo > .sec + .sec{margin-top:var(--seam)}
  .facts{grid-template-columns:minmax(0,1fr);padding:0;box-shadow:none}
  .facts li{padding:12px 0 13px;box-shadow:var(--rule)}
  .facts li:last-child{box-shadow:var(--rule-end)}
}
@media (max-width:640px){
  :root{--seam:48px;--gap:24px}
  main{font-size:18px}  /* the shell sets 17px on a phone; this page keeps the mockup's 18px reading size */
  .page-head{padding-top:18px}
  .lead{font-size:18px}
  .facts{margin-top:20px}
  .facts .big{font-size:26px}
  .sec{scroll-margin-top:12px;padding-top:18px}
  .side{scroll-margin-top:12px}
  .sec-head{font-size:26px}
  .colophon{margin-top:72px}
}

/* ---------- Print (the page gets forwarded and printed): entries never split; no trial block (shell.css). ---------- */
@media print{
  .sec-head{font-size:16pt;break-after:avoid}
  .minor-head{font-size:13pt;break-after:avoid}
  .points{break-before:avoid}
  .colophon{break-inside:avoid}
  .facts .big{font-size:16pt}
  .notin > div{break-inside:avoid}
}
