/* /recruiter/: the quick, readable version of the site (also what phones get on /).
   Laid out like wriks.motorcycles: a dark column on a dithered backdrop, tab nav, banner,
   tiled "previous work" with caption bars, [bracket] list rows. No smooth gradients. */

:root { --fg: #e8e8e0; --fg-dim: #9c9c92; --line: #3a3a36; --acc: #79d06f; --mono: "DejaVu Sans Mono", Menlo, Consolas, "Courier New", monospace; }
:root[data-theme="amber"] { --acc: #e3a845; }
:root[data-theme="pink"] { --acc: #e38bc0; }
:root[data-theme="white"] { --acc: #f2f2f2; }

body.quick {
  margin: 0; color: var(--fg); font: 13px/1.45 var(--mono);
  /* 1px dither backdrop, like an old tiled wallpaper */
  background: #000 repeating-conic-gradient(#000 0 25%, #121210 0 50%) 0 0 / 4px 4px;
}
.quick a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--acc); }
.quick a:hover { background: var(--acc); color: #000; text-decoration: none; }
.quick ::selection { background: var(--acc); color: #000; }
.quick :focus-visible { outline: 1px dotted var(--acc); outline-offset: 1px; }

.q-col { max-width: 760px; margin: 0 auto; padding: 14px 14px 0; background: #050505; border-left: 1px solid var(--line); border-right: 1px solid var(--line); box-sizing: border-box; min-height: 100vh; }

/* banner: an ordered-dither pattern in the accent colour (the png is only a mask) */
.q-banner { position: relative; margin: 0; height: 200px; border: 1px solid #6a6a64; overflow: hidden; background: #000; display: grid; place-content: center; text-align: center; }
.q-banner::before { content: ""; position: absolute; inset: 0; background: var(--acc); opacity: 0.55;
  -webkit-mask: url(/assets/img/dither-banner.png) center bottom / 800px 200px repeat-x; mask: url(/assets/img/dither-banner.png) center bottom / 800px 200px repeat-x; }
.q-banner > * { position: relative; }
.q-name { margin: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font: 700 clamp(30px, 7vw, 48px)/1 "Pixelify Sans", var(--mono); color: #fff; text-shadow: 3px 3px 0 #000; }
.q-mark { display: grid; place-content: center; width: 46px; height: 46px; background: var(--acc); color: #000; font: 22px/0.85 var(--font-mono); text-shadow: none; border: 2px solid #fff; box-shadow: 3px 3px 0 #000; }
.q-sub { margin: 4px 0 0; font: 22px/1 var(--font-mono); color: var(--acc); text-shadow: 2px 2px 0 #000; }
.q-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0; padding: 12px 0; border-top: 3px double #55554f; border-bottom: 3px double #55554f; }
.q-buttons a, .q-buttons a:hover { display: block; background: none; line-height: 0; }
.q-buttons img { display: block; image-rendering: pixelated; }
.q-buttons a:hover img { outline: 1px solid var(--acc); outline-offset: 1px; }

.q-nav { margin: 0; padding: 3px 0; text-align: center; border-bottom: 1px dotted #55554f; color: var(--fg-dim); }

/* at a glance + the big cv button */
.q-glance { display: grid; justify-items: start; gap: 10px; margin: 14px 0 0; padding: 10px 12px; border: 1px solid #55554f; background: #0d0d0c; }
.q-glance dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; }
.q-glance dt { color: var(--fg-dim); }
.q-glance dt::after { content: ":"; }
.q-glance dd { margin: 0; }
.quick a.q-cv { display: inline-block; padding: 2px 14px; background: var(--acc); color: #000; text-decoration: none; text-align: center; font: 22px/1.1 var(--font-mono);
  border: 2px solid; border-color: color-mix(in srgb, var(--acc) 60%, #fff) color-mix(in srgb, var(--acc) 45%, #000) color-mix(in srgb, var(--acc) 45%, #000) color-mix(in srgb, var(--acc) 60%, #fff); }
.quick a.q-cv:hover { background: #fff; color: #000; }
.quick a.q-cv:active { border-color: color-mix(in srgb, var(--acc) 45%, #000) color-mix(in srgb, var(--acc) 60%, #fff) color-mix(in srgb, var(--acc) 60%, #fff) color-mix(in srgb, var(--acc) 45%, #000); }

/* section headings: big pixel title, link on the right, double rule under */
.q-h { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; padding-bottom: 2px; border-bottom: 3px double #6a6a64; font: 700 26px/1.1 "Pixelify Sans", var(--mono); color: #fff; }

/* previous work: tiles with a caption bar */
.q-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(128px, 100%), 1fr)); gap: 18px 14px; }
.quick .q-tiles a { display: block; background: none; color: #fff; text-decoration: none; border: 1px solid #8a8a82; }
.q-tiles picture { display: block; }
.q-tiles img, .q-tiles img[width][height] { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.q-tiles span { display: block; padding: 1px 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: color-mix(in srgb, var(--acc) 38%, #000); border-top: 2px solid color-mix(in srgb, var(--acc) 70%, #000); }
.quick .q-tiles a:hover { border-color: var(--acc); }
.q-tiles a:hover span { background: var(--acc); color: #000; }

/* [bracket] list rows, alternating backgrounds */
.q-rows { list-style: none; margin: 0; padding: 0; }
.q-rows li { padding: 3px 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.q-rows li:nth-child(odd) { background: #121211; }
.q-k { color: var(--fg-dim); }
.q-r { margin-left: auto; color: var(--fg-dim); text-align: right; }
.q-rows small { flex-basis: 100%; color: var(--fg-dim); font-size: 12px; }
.q-mail { font-weight: 700; }

/* bevelled buttons */
.q-btn, .quick a.q-btn { display: inline-block; padding: 1px 12px; background: #3a3a35; color: #fff; font: 12px/1.4 var(--mono); text-decoration: none;
  border: 1px solid; border-color: #8a8a82 #1a1a18 #1a1a18 #8a8a82; cursor: pointer; }
.q-btn:hover, .quick a.q-btn:hover { background: var(--acc); color: #000; }
.q-btn:active, .quick a.q-btn:active { border-color: #1a1a18 #8a8a82 #8a8a82 #1a1a18; }

/* enter zOS: a section of its own */
.q-zos { margin: 30px 0 18px; }
.quick .q-zos a { display: grid; justify-items: center; gap: 10px; padding: 22px 10px; border: 3px double var(--acc); background: #000; color: var(--acc); text-decoration: none; }
.q-zos pre { margin: 0; font: 20px/1 var(--font-mono); max-width: 100%; overflow: hidden; }
.q-zos-btn { padding: 2px 20px; background: var(--acc); color: #000; font: 34px/1.1 var(--font-mono); }
.quick .q-zos a:hover { background: color-mix(in srgb, var(--acc) 15%, #000); }
.quick .q-zos a:hover .q-zos-btn { background: #fff; }

.q-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 0 -14px; padding: 4px 14px; border-top: 1px solid var(--line); background: #0d0d0c; color: var(--fg-dim); font-size: 12px; }
.q-foot a { margin-right: 8px; }

@media (max-width: 560px) {
  .q-glance dl { grid-template-columns: 1fr; gap: 0; }
  .q-glance dd { margin-bottom: 4px; }
  .q-zos pre { font-size: 14px; }
  .q-banner { height: 170px; }
  .q-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .q-buttons { justify-content: center; }
}
