/**
 * His page, brutalist (src/css/wall.css is the street; main/STREET.md is why).
 *
 * A cast-concrete block: a bay a section, a fin between bays (the street's
 * piers). What makes it brutalist is what it leaves out and what it holds to:
 *
 *   one edge      everything starts at the bay's left edge; nothing is centred
 *   no lean       nothing is tilted, dropped or scattered
 *   two paints    black, and one colour (--jb) for what counts: a number, a
 *                 date, a link. White only round black, so it reads on grey.
 *   slabs         the lettering's strokes end square and turn at corners
 *   a number      each bay is numbered
 *
 * Small words are our own hand as a face (--font-spray), sprayed (#spray):
 * the same letters the street's small words are drawn with.
 */
body.wall-jens { --jb: #e3407c; --jb-ink: #14161c; color: var(--jb-ink); }
/* (the street gives every wall its sky after the kinds of wall are named, so concrete's is said again) */
.wall-jens .wallStretch { --top: 6vh; padding: calc(var(--top) + 4vh) 6vw calc(var(--dirt) + 4vh); align-items: stretch; justify-content: flex-start; }
.wall-jens .wallHold { align-items: flex-start; justify-content: flex-start; gap: 1.6vh; width: 100%; text-align: left; }

/* The lettering: black slabs with a pale keyline and a black edge round that, the corners cut,
   no shine. The street's own walls colour two of these titles by id, so the ids are named. */
.wall-jens .wallHead, .wall-jens #labs .wallHead, .wall-jens #contact .wallHead { --paint: var(--jb-ink); --paint2: var(--jb-ink); --alt: var(--jb); --alt2: var(--jb); --line: #f4f1ea; --shade: var(--jb-ink); --band: var(--jb-ink); font-size: clamp(48px, min(13vh, 10vw), 132px); }
.wall-jens .wallWord path { stroke-linecap: square; stroke-linejoin: bevel; }
.wall-jens .wl-glint { display: none; }
.wall-jens .wl-band { stroke-width: 52; }
.wall-jens .wl-ink { stroke-width: 37; }
.wall-jens .wl-fill { stroke-width: 27; }
.wall-jens .wallHead a:hover .wallWord, .wall-jens .wallHead a:focus-visible .wallWord { --band: var(--jb); }
/* The site's own face is named on spans and links; here they take the hand they stand in. */
.wall-jens .wallHold span, .wall-jens .wallHold a, .wall-jens .wallHold li { font-family: inherit; }

/* A bay's number. */
.jbNo { margin: 0 0 -1.4vh; font-family: var(--font-spray); font-size: clamp(24px, 4.6vh, 44px); line-height: 1; color: var(--jb); filter: url(#spray); }
/* Small words: our hand, sprayed, black. */
.jbText, .jbLine, .jobRole, .jobTasks, .skillStack, .wall-jens .skillDomain { font-family: var(--font-spray); letter-spacing: 0.035em; word-spacing: 0.12em; filter: url(#spray); }
.jbLine { margin: 0; font-size: clamp(22px, 3.8vh, 36px); line-height: 1.1; }
.jbLine a { color: var(--jb); text-decoration: none; }
.jbText { margin: 0; font-size: clamp(18px, 3.3vh, 32px); line-height: 1.2; }
.jbAbout { max-width: min(88vw, 150vh); }

/* ---- his name, and "+ Jalyn" behind a click on it ---- */
.jensTitle { position: relative; margin: 0; display: flex; align-items: center; }
.jensTitle .wallHead { font-size: clamp(64px, min(22vh, 12.5vw), 220px); padding: 0; background: none; border: 0; cursor: pointer; }
.jensTitle button.wallHead:focus-visible { outline: none; }
.jensTitle .jalyn { position: absolute; left: 100%; top: 10%; margin-left: 0.1em; font-size: clamp(30px, min(9vh, 5vw), 90px); opacity: 0; visibility: hidden; translate: -0.4em 0; transition: opacity 0.25s ease, translate 0.25s ease, visibility 0s 0.25s; --paint: var(--jb); --paint2: var(--jb); white-space: nowrap; }
.jensTitle.is-open .jalyn { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 0.25s ease, translate 0.25s ease; }

/* The way back, in the first bay's near corner. The bay keeps that much clear under what is on it. */
.wall-jens #jens { padding-bottom: calc(var(--dirt) + 11.5vh); }
.wall-jens .jbBack { position: absolute; z-index: 4; left: 6vw; bottom: calc(var(--dirt) + 2.6vh); margin: 0; font-size: clamp(26px, 5.6vh, 56px); }

/* ---- work: each job's banner squared up, a black frame, what he was under it ---- */
.jobGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 50vh)); gap: 1.8vh 2.2vw; width: 100%; }
.job { position: relative; outline: none; }
.jobBanner { position: relative; overflow: hidden; border: 0.55vh solid var(--jb-ink); border-radius: 5% / 14.4%; background: var(--jb-ink); }
.jobBanner img { display: block; width: 100%; height: auto; border-radius: 3.85% / 11.6%; }
.jobBanner--gangdev { aspect-ratio: 3 / 1; display: flex; align-items: center; justify-content: center; gap: 4%; }
.jobBanner--gangdev img { width: auto; height: 74%; border-radius: 0; }
.wall-jens .jobBanner--gangdev .wallHead { font-size: clamp(22px, 5vh, 52px); --paint: #f4f1ea; --paint2: #f4f1ea; --line: var(--jb-ink); --band: var(--jb); }
.jobRole { margin: 0.6vh 0 0; font-size: clamp(16px, 2.7vh, 26px); line-height: 1.1; }
.jobRole span { margin-left: 0.5em; color: var(--jb); white-space: nowrap; }
/* What the job was: rolled over the banner in black, under the pointer or on a tap. */
.jobTasks { position: absolute; z-index: 6; inset: 0 0 auto; min-height: 100%; border-radius: 5% / 11%; margin: 0; padding: 1.4vh 1.2vw 1.4vh 2.4vw; list-style: square; font-size: clamp(14px, 2.3vh, 22px); line-height: 1.16; color: #f4f1ea; background: var(--jb-ink); opacity: 0; pointer-events: none; transition: opacity 0.14s ease; filter: none; }
.jobTasks li { filter: url(#spray); }
.jobTasks li::marker { color: var(--jb); }
.job:hover .jobTasks, .job:focus .jobTasks, .job:focus-within .jobTasks { opacity: 1; }

/* ---- expertise: a ruled table of what he works in, written on the concrete ---- */
.wall-jens .skillsGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2.4vw; width: 100%; }
.wall-jens .skillCard { padding: 1.3vh 0 1.5vh; border-top: 0.5vh solid var(--jb-ink); }
.wall-jens .skillDomain { margin: 0 0 0.15em; font-weight: 400; font-size: clamp(24px, 4.3vh, 42px); line-height: 1; color: var(--jb-ink); }
.wall-jens .skillDomain.wallTag { color: var(--jb-ink); filter: none; }
.wall-jens .skillStack { font-size: clamp(16px, 2.9vh, 28px); line-height: 1.14; color: var(--jb-ink); }
.wall-jens .skillStack span:not(:last-child)::after { content: " / "; color: var(--jb); }

/* ---- labs: black blocks, one colour down the edge of each ---- */
.jbLabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4vh 2vw; width: 100%; }
.jbLab { display: block; padding: 2.2vh 1.6vw 2.6vh; color: #f4f1ea; text-decoration: none; background: var(--jb-ink); border-left: 1.1vh solid var(--jb); transition: border-left-width 0.14s ease; }
.jbLab:hover, .jbLab:focus-visible { border-left-width: 2.4vh; outline: none; }
.jbLabName { margin: 0 0 0.25em; font-family: var(--font-spray); font-weight: 400; font-size: clamp(26px, 5.2vh, 50px); line-height: 1; filter: url(#spray); }
.jbLab .jbText { font-size: clamp(16px, 2.9vh, 28px); line-height: 1.14; color: #d9d5ca; }

/* ---- links: a column of names, each with its arrow ---- */
.jbLinks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.wall-jens .jbLinks .wallHead { font-size: clamp(30px, min(7.6vh, 7vw), 76px); }

/* ---- contact ---- */
.wall-jens .wallMark { width: min(88vw, 560px); }
.wall-jens .wallMark label { color: var(--jb-ink); }
.wall-jens .wallMark button { animation: none; justify-self: start; --paint: var(--jb-ink); --paint2: var(--jb-ink); --line: #f4f1ea; --band: var(--jb-ink); }
.wall-jens .wallMark .details > div:not([style])::before { background: #f4f1ea; rotate: none; filter: none; }
.wall-jens .wallMark .details > div:not([style]):focus-within::before { box-shadow: 0 0.7vh 0 0 var(--jb); }

/* The copyright cloud has no sky here worth the name: small print stays out of the way. */
.wall-jens .wallCloud { color: var(--jb-ink); }

@media (hover: none), (pointer: coarse) {
    .wall-jens .wallStretch { padding: calc(var(--top) + 3vh) 6vw calc(var(--dirt) + 2vh); }
    .wall-jens #jens { padding-bottom: calc(var(--dirt) + 8.5vh); }
    .wall-jens .jbBack { bottom: calc(var(--dirt) + 1.6vh); font-size: 4.6vh; }
    .jensTitle .wallHead { font-size: min(13vh, 17vw); }
    .jensTitle .jalyn { left: auto; right: 0; top: auto; bottom: 96%; margin: 0; font-size: min(5.4vh, 9vw); }
    .jbAbout { width: 88vw; }
    .jobGrid { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: min(78vw, 330px); width: max-content; gap: 1.6vh 5vw; }
    .wall-jens .skillsGrid { grid-template-columns: none; grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-auto-columns: min(66vw, 280px); width: max-content; gap: 0 6vw; }
    .jbLabs { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: min(76vw, 320px); width: max-content; gap: 1.4vh 4vw; }
}
@media (prefers-reduced-motion: reduce) {
    .jobGrid, .wall-jens .skillsGrid, .jbLabs { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); width: 100%; }
    .jobTasks { position: static; opacity: 1; margin-top: 1vh; min-height: 0; }
}
