/* JGulliverDesign.com. Look: Punk Bauhaus (his hover-lab pick, Nov 20): newsprint and halftone, Jost, ink frames
   with a hard offset, a blood-red disc and a black bar, black caption bars with marigold type. Motion: Glitch
   classical (the picture tears into colour bands for half a second on hover, then settles). Line weight: thin.
   Kept from the portfolio: the cover's PORTFOLiO and J.G. logo, Lato Light render labels, the title block. */
:root {
  --paper: #EEEAE0; --hard: #111111; --ink: #1d1d1d; --muted: #4d4d4d; --slate: #5c5c5c;
  --blood: #A4161A; --marigold: #FEB71C; --orange: #FB9917; --accent: var(--blood);
  --cyan: #74BFBF; --link: #0B72B5; --link-line: #00AEEF;            /* rules: portfolio cyan + orange; links: blue */
  --cover-k: #231F20; --cover-o: #F7941D; --cover-c: #00AEEF; --cover-grey: #555A5D;
  --lw: 3px; --frame: 2px solid var(--hard);
  --f: 'Jost', 'Futura', 'Century Gothic', Arial, sans-serif;
  --g: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
/* the cover's own weight: Lato 2.0 Thin (200), open licence, from jsDelivr (Google Fonts only has Hairline 100 and Light 300) */
@font-face { font-family: 'Lato Thin'; font-weight: 200; font-style: normal; font-display: block;
  src: url('https://cdn.jsdelivr.net/npm/lato-font@3.0.0/fonts/lato-thin/lato-thin.woff2') format('woff2'); }
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 17px/1.65 var(--f); overflow-x: clip; }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
::selection { background: var(--marigold); color: var(--hard); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* newsprint: a halftone screen, fading toward the middle so text sits on clean paper */
.paper::before, .paper::after { content: ''; position: fixed; inset: 0; pointer-events: none; }
.paper::before { z-index: -3; background: radial-gradient(circle, rgba(17, 17, 17, .17) 0 1px, transparent 1.4px) 0 0 / 5px 5px; }
.paper::after { z-index: -2; background: radial-gradient(ellipse 70% 66% at 50% 46%, var(--paper) 40%, rgba(238, 234, 224, .82) 62%, rgba(238, 234, 224, 0) 100%); }

/* type */
.label { font: 500 12px/1.4 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.title { font: 600 clamp(32px, 4.6vw, 58px)/1.04 var(--f); letter-spacing: .05em; text-transform: uppercase; color: var(--hard); margin: 0; }
.lead { font-size: clamp(19px, 2vw, 25px); line-height: 1.5; margin: 0 0 18px; }
.bar-label { display: inline-block; background: var(--hard); color: var(--paper); padding: 5px 11px 4px; }

/* his edge rule, as in the portfolio: cyan, with a shorter orange line under it, running off the page edge */
.edge-rule { position: relative; height: 9px; margin: 12px 0 18px calc(-1 * var(--g)); width: calc(100% + var(--g)); transform-origin: left center; }
.edge-rule::before, .edge-rule::after { content: ''; position: absolute; left: 0; height: 2px; }
.edge-rule::before { top: 0; right: 0; background: var(--cyan); }
.edge-rule::after { top: 5px; right: 46px; background: var(--orange); }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px var(--g); background: linear-gradient(var(--paper) 55%, rgba(238, 234, 224, 0)); }
.brand { font: 600 14px var(--f); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
/* the home link: his glasses-face doodle */
.brand img { display: block; height: 44px; width: auto; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.brand:hover img, .brand:focus-visible img { transform: rotate(-6deg) scale(1.06); }
.site-head nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 26px; }
.site-head nav a { font: 500 12px var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--accent); }

/* landing: the cover, as the portfolio's cover file sets it */
.intro { position: relative; min-height: calc(100svh - 64px); display: grid; place-items: center; padding: 10px var(--g) 40px; }
.intro-inner { width: min(1120px, 100%); text-align: center; }
.bauhaus { position: absolute; z-index: -1; right: max(-40px, calc(var(--g) * -1)); top: 12px; width: clamp(150px, 24vw, 320px); aspect-ratio: 300 / 260; pointer-events: none; }
.bauhaus i { position: absolute; display: block; }
.bauhaus i:nth-child(1) { right: 7%; top: 0; width: 57%; aspect-ratio: 1; border-radius: 50%; background: var(--blood); }
.bauhaus i:nth-child(2) { left: 0; top: 46%; width: 87%; height: 10%; background: var(--hard); transform: rotate(-8deg); }
.bauhaus i:nth-child(3) { right: 0; top: 58%; width: 37%; aspect-ratio: 1; background: var(--marigold); clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.cover { --cw: clamp(30px, 10.2vw, 130px); font-size: var(--cw); }
.cover-logo { width: 1.85em; margin: 0 auto .3em; }
.jg-logo { display: block; width: 100%; height: auto; overflow: visible; }
.cover-title { display: inline-grid; justify-items: center; margin: 0; font: inherit; }
.cw-stack { display: grid; font: 200 1em/1 'Lato Thin', 'Lato', sans-serif; letter-spacing: .25em; margin-right: -.25em; transform: scaleX(1.0927); }
/* stacking pinned, as on the cover: black on top, marigold in the middle, cyan at the back. (Without z-index the
   offset layers drew above the black one, which has no offset, except right after the intro animation.) */
.cw { position: relative; grid-area: 1 / 1; white-space: nowrap; }
.cw-c { z-index: 1; color: var(--cover-c); translate: .039em .038em; }
.cw-o { z-index: 2; color: var(--cover-o); translate: -.019em -.019em; }
.cw-k { z-index: 3; color: var(--cover-k); }
.cover-rule { position: relative; display: block; width: 104%; height: .2em; margin-top: .2em; }
.cover-rule i { position: absolute; left: 0; right: 0; top: 0; height: max(1.5px, .02em); transform-origin: left center; }
.cr-c { z-index: 1; background: var(--cover-c); translate: .03em .03em; }
.cr-o { z-index: 2; background: var(--cover-o); translate: -.015em -.015em; }
.cr-k { z-index: 3; background: var(--cover-k); }
/* his name and title where the cover puts his name, set like the project titles (Jost SemiBold caps, 0.14 em),
   in the cover's grey, no bar (Nov 22: "Too many font types") */
.cover-name { justify-self: end; margin: .4em -2% 0 0; font: 600 max(12px, .11em)/1.3 var(--f); letter-spacing: .14em;
  text-transform: uppercase; color: var(--cover-grey); white-space: nowrap; }
.intro-line { font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5; max-width: 44ch; margin: 26px auto 24px; }

/* landing: "View the work", the contents index */
.contents { display: grid; justify-items: center; gap: 18px; }
.scroll-cue { font: 500 12px var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--paper); background: var(--hard); text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 12px 5px; }
.scroll-cue::after { content: ''; width: 40px; height: 2px; background: var(--orange); transform-origin: left; animation: cue 2.4s steps(4) infinite; }
.scroll-cue:hover { color: var(--marigold); }
@keyframes cue { 0% { transform: scaleX(.25); } 50% { transform: scaleX(1); } 100% { transform: scaleX(.25); } }
.contents-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 0 48px; text-align: left; }
.contents-list a { display: grid; grid-template-columns: 34px auto; column-gap: 12px; padding: 9px 4px; border-top: 1px solid var(--cyan); text-decoration: none; min-width: min(330px, 80vw); }
.c-num { grid-row: span 2; font: 300 26px/1 var(--f); color: var(--hard); }
.c-title { font: 600 13px/1.3 var(--f); letter-spacing: .14em; text-transform: uppercase; }
.c-meta { font: 500 10.5px/1.4 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contents-list a:hover .c-title, .contents-list a:focus-visible .c-title { color: var(--link); }
.peek { position: fixed; left: 0; top: 0; width: min(300px, 24vw); pointer-events: none; z-index: 35; opacity: 0;
  transform: translate(var(--px, -999px), var(--py, -999px)) rotate(var(--pr, -2deg)); transition: opacity .2s steps(2); }
.peek.on { opacity: 1; }
.peek .mat { background: #fff; border: var(--frame); box-shadow: var(--lw) var(--lw) 0 var(--hard); }
.peek img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* landing: the table of prints */
.work { padding: 40px var(--g) 110px; }
.section-head { display: flex; align-items: center; gap: 14px; max-width: 1240px; margin: 0 auto 28px; }
.work-mark { width: 44px; flex: none; }
.section-label { background: var(--hard); color: var(--paper); padding: 5px 11px 4px; }
.table { position: relative; max-width: 1240px; margin: 0 auto; aspect-ratio: 1240 / 1660; }
.slot { position: absolute; left: var(--x); top: var(--y); width: var(--w); }
.slot-1 { --x: 1%;  --y: 0%;  --w: 45%; --r: -2deg; }
.slot-2 { --x: 54%; --y: 6%;  --w: 41%; --r: 1.6deg; }
.slot-3 { --x: 8%;  --y: 33%; --w: 35%; --r: 1deg; }
.slot-4 { --x: 50%; --y: 38%; --w: 47%; --r: -1.4deg; }
.slot-5 { --x: 3%;  --y: 64%; --w: 41%; --r: -.8deg; }
.slot-6 { --x: 55%; --y: 70%; --w: 37%; --r: 2deg; }
.print { display: block; color: inherit; text-decoration: none; transform: rotate(var(--r, 0deg)); }
.print .mat { position: relative; overflow: hidden; background: #fff; border: var(--frame); box-shadow: var(--lw) var(--lw) 0 var(--hard); }
.print img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: filter .3s steps(3); }   /* cropped on purpose */
.print-label { display: flex; gap: 10px; align-items: baseline; margin-top: 0; padding: 8px 11px 7px; background: var(--hard); color: var(--marigold);
  font: 600 12px/1.3 var(--f); letter-spacing: .14em; text-transform: uppercase; }
.pl-n { display: inline-block; color: var(--paper); }
.print-meta { display: block; margin-top: 6px; font: 500 11px var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* photocopied until you point at it (only where pointing is possible; phones always see colour) */
@media (hover: hover) {
  .print img { filter: grayscale(1) contrast(1.45) brightness(1.05); }
  .print:hover img, .print:focus-visible img { filter: none; }
}

/* Glitch classical (his pick): wide cyan and red tint bands tear across the picture, fractured into steps, with
   a few fine slivers and line errors, for about half a second (drawn by glitch.js on hover); the caption
   number jitters in colour */
@keyframes jitter {
  0% { transform: translateX(-3px); text-shadow: 2px 0 #00AEEF, -2px 0 var(--blood); }
  30% { transform: translateX(2px) skewX(8deg); }
  60% { transform: translateX(-1px); text-shadow: -2px 0 #00AEEF, 2px 0 var(--blood); }
  100% { transform: none; text-shadow: none; } }
.print:hover .pl-n, .print:focus-visible .pl-n { animation: jitter .5s steps(1) 1; }
.contents-list a:hover .c-title, .contents-list a:focus-visible .c-title, .site-head nav a:hover { animation: jitter .45s steps(1) 1; }
/* the blue-shift bands that now and then sweep down the landing page; site.js gives each its own random timing */
.scan { position: fixed; left: 0; right: 0; top: 0; height: 120px; z-index: -1; pointer-events: none; transform: translateY(-200px);
  background: linear-gradient(transparent, rgba(0, 174, 239, .04) 45%, rgba(164, 22, 26, .032) 55%, transparent); }
/* the fast one: a very faint, thin, light-blue line with no red edge (nothing that reads as a darker line) */
.scan-thin { height: 14px; background: linear-gradient(transparent, rgba(110, 200, 240, .015) 50%, transparent); }

/* the logo pieces as a swarm (landing, once per visit; "View the work", once per visit) */
.swarm { position: fixed; left: 0; top: 0; z-index: 45; pointer-events: none; overflow: visible; }

/* landing: about strip */
.about-strip { display: grid; grid-template-columns: minmax(200px, 360px) minmax(0, 640px); gap: 56px; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 40px var(--g) 120px; }
.portrait { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.about-text .label { margin-bottom: 14px; }
.more { font: 600 12px var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--link); text-decoration: none; }
.more:hover { color: var(--hard); }

/* project pages */
.hero .fig { margin: 0; }
.hero .fig .mat { position: relative; padding: 0; background: none; box-shadow: none; border: 0; transform: none; }
.hero .zoom { display: block; }
.hero .hero-full img { display: block; width: 100%; height: clamp(300px, 64vh, 760px); object-fit: cover; border-bottom: var(--frame); }   /* full-bleed banner, cropped on purpose */
/* CTE's hero: the whole render, framed like a print and fit to the screen */
/* CTE's banner: cropped on purpose, but never wider than the picture's own pixels (cap-N on the figure) */
.hero .hero-banner { padding: 24px var(--g) 0; margin: 0 auto; box-sizing: content-box; }
.hero .hero-banner img { display: block; width: 100%; height: clamp(300px, 56vh, 620px); object-fit: cover; object-position: 50% 55%;
  background: #fff; border: var(--frame); box-shadow: var(--lw) var(--lw) 0 var(--hard); }
.hero .hero-whole { padding: 24px var(--g) 0; }
.hero .hero-whole .mat { width: fit-content; max-width: 100%; margin: 0 auto; }
.hero .hero-whole img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100svh - 150px);
  background: #fff; border: var(--frame); box-shadow: var(--lw) var(--lw) 0 var(--hard); }
.hero .hero-capped { margin: 24px auto 0; padding: 0 var(--g); }
.hero .hero-capped img { display: block; width: 100%; height: auto; }
.hero .fig-cut img { display: block; width: 100%; object-fit: contain; height: clamp(300px, 60vh, 680px); padding: 24px var(--g) 0; }
.hero-cap { padding: 10px var(--g) 0; font-size: 14px; color: var(--muted); }
.text-first .hero { margin-top: 8px; }
.text-first .proj-head { padding-bottom: 36px; }
.proj-head { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 640px); gap: 24px 64px; padding: 52px var(--g) 20px; }
.meta { font: 500 12px var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.role { font-weight: 600; font-size: 16px; line-height: 1.45; margin: 0; }
.callout { margin-top: 30px; }
.num { display: block; font: 300 clamp(64px, 9vw, 112px)/1 var(--f); color: var(--hard); }
.num-label { display: block; margin-top: 10px; max-width: 32ch; font: 500 12px/1.5 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.proj-story { padding-top: 6px; }
.proj-story p { font-size: 18px; line-height: 1.72; margin: 0 0 18px; max-width: 62ch; }
.proj-story .phrase { font-style: italic; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.35; color: var(--muted); margin-top: 30px;
  border-left: 4px solid var(--orange); padding-left: 16px; }

/* gallery: big prints on a 12-column table, each no wider than its own pixels (cap-N classes); always in colour */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 84px 44px; align-items: start;
  max-width: 1440px; margin: 0 auto; padding: 56px var(--g) 90px; }
.gallery .fig { margin: 0; width: 100%; }
.pos-l8 { grid-column: 1 / span 8; justify-self: start; }
.pos-r8 { grid-column: 5 / span 8; justify-self: end; }
.pos-l5 { grid-column: 1 / span 5; justify-self: start; }
.pos-r5 { grid-column: 8 / span 5; justify-self: end; margin-top: 96px !important; }
.pos-full { grid-column: 1 / -1; justify-self: center; }
.fig .mat { position: relative; }
.fig-print .mat { background: #fff; border: var(--frame); box-shadow: var(--lw) var(--lw) 0 var(--hard); }
.fig img { display: block; width: 100%; height: auto; }
.fig-cut img { mix-blend-mode: multiply; }
.zoom { display: block; cursor: zoom-in; }
/* hover zoom: small and medium pictures grow whole (frame and all) and stay on screen; big ones stay put.
   site.js decides and sets the transform */
.grow { position: relative; transition: transform .35s var(--ease); transform-origin: 50% 50%; }
.grow.grown { z-index: 25; }
.row-cell.grown { background: #fff; outline: 2px solid var(--hard); box-shadow: var(--lw) var(--lw) 0 var(--hard); }
.row-mat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-cell { min-width: 0; }
.row-cell + .row-cell { border-left: 1px solid rgba(17, 17, 17, .25); }
.fig figcaption { margin-top: 14px; max-width: 54ch; font-size: 14px; line-height: 1.5; color: var(--muted); }
.credit { white-space: nowrap; }
.render-label { position: absolute; right: 14px; bottom: 11px; font: 300 10.5px/1 'Lato', sans-serif; letter-spacing: .02em; color: #5c6266; pointer-events: none; }
.render-label.on-dark { color: rgba(255, 255, 255, .92); }
.hero .render-label { right: calc(var(--g) * .5 + 8px); bottom: 14px; }
.page-credit { max-width: 1440px; margin: -50px auto 40px; padding: 0 var(--g); font-size: 14px; color: var(--muted); }
.next { max-width: 1440px; margin: 0 auto; padding: 30px var(--g) 30px; display: grid; justify-items: end; }
.next .label { margin-bottom: 18px; background: var(--hard); color: var(--paper); padding: 5px 11px 4px; }
.next-print { width: min(440px, 100%); --r: 1.4deg; }

/* full-screen viewer: the whole picture, as large as the screen and its pixels allow */
.lb { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; background: rgba(238, 234, 224, .98);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.lb.open { opacity: 1; visibility: visible; transition: opacity .25s; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--g); }
.lb-bar button, .lb-nav button { font: 600 12px var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); background: var(--hard);
  border: 0; padding: 7px 12px 6px; cursor: pointer; }
.lb-bar button:hover, .lb-nav button:hover { color: var(--marigold); }
.lb-count { font: 500 12px var(--f); letter-spacing: .16em; color: var(--muted); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--g); }
.lb-frame { display: block; background: #fff; border: var(--frame); box-shadow: var(--lw) var(--lw) 0 var(--hard); }
.lb-stage img { display: block; max-width: min(100%, var(--w, 100%)); max-height: calc(100svh - 160px); width: auto; height: auto; }
.lb-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--g) 18px; }
.lb-cap { font-size: 14px; color: var(--muted); text-align: center; flex: 1; }
html.lb-lock { overflow: hidden; }

/* about page */
.about-grid { display: grid; grid-template-columns: minmax(220px, 440px) minmax(0, 640px); gap: 64px; align-items: start; padding: 48px var(--g) 40px; }
.about-col .label { margin-top: 34px; }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 36px; margin-top: 16px; }
.skill p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; }
.note { margin-top: 40px; font-size: 14px; color: var(--muted); }
.nf { padding: 80px var(--g) 140px; max-width: 900px; }
.nf a { color: var(--link); }
.back-row { padding: 10px var(--g) 30px; max-width: 1200px; margin: 0 auto; }     /* About: an easy way back to the work */

/* footer: a SolidWorks drawing title block */
.site-foot { padding: 70px var(--g) 64px; }
.title-block { --hair: 1px solid rgba(17, 17, 17, .38); --line: 2px solid var(--hard);
  max-width: 1080px; margin-left: auto; background: #fff; border: var(--line); box-shadow: var(--lw) var(--lw) 0 var(--hard); font-size: 14px; line-height: 1.35;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.75fr);
  grid-template-areas: "notes names title" "prop app strip"; }
.tb-l { display: block; font: 500 9.5px/1.3 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tb-notes { grid-area: notes; padding: 10px 12px; border-right: var(--line); }
.tb-n { margin: 8px 0; font: 500 10.5px/1.5 var(--f); letter-spacing: .1em; text-transform: uppercase; }
.tb-kv { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: baseline; gap: 8px; border-top: var(--hair); padding: 7px 0; }
.tb-dns { margin: 8px 0 0; padding-top: 8px; border-top: var(--hair); font: 600 10.5px var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--blood); }
.tb-names { grid-area: names; display: grid; grid-auto-rows: minmax(30px, auto); border-right: var(--line); }
.tb-tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .8fr); border-bottom: var(--hair); }
.tb-tr > * { padding: 7px 8px; }
.tb-tr > * + * { border-left: var(--hair); }
.tb-th { background: var(--hard); }
.tb-th .tb-l { color: var(--marigold); }
.tb-comments { grid-template-columns: auto minmax(0, 1fr); border-bottom: 0; }
.tb-title { grid-area: title; display: grid; grid-template-columns: minmax(0, 1fr) 132px; grid-template-areas: "l l" "big big" "contact approve"; padding: 10px 0 0 14px; }
.tb-title > .tb-l { grid-area: l; }
.tb-big { grid-area: big; font: 600 clamp(26px, 3.3vw, 42px)/1.1 var(--f); letter-spacing: .06em; text-transform: uppercase; color: var(--hard); margin: 4px 0 10px; }
.tb-contact { grid-area: contact; }
.tb-cr { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: baseline; gap: 8px; border-top: var(--hair); padding: 6px 10px 6px 0; }
.tb-v { font-size: 15px; overflow-wrap: anywhere; }
.tb-v a { color: var(--link); text-decoration: none; background: linear-gradient(var(--link-line), var(--link-line)) 0 100% / 100% 2px no-repeat; }
.tb-v a:hover { color: var(--hard); }
.tb-approve { grid-area: approve; display: flex; flex-direction: column; align-items: center; border-left: var(--hair); border-top: var(--hair); padding: 6px 8px 10px; }
.tb-approve .tb-l { align-self: flex-start; }
.tb-approve img { width: 104px; height: auto; margin-top: 6px; }
.tb-prop { grid-area: prop; padding: 8px 12px 10px; border-top: var(--line); border-right: var(--line); }
.tb-prop p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.tb-app { grid-area: app; padding: 2px 10px; border-top: var(--line); border-right: var(--line); }
.tb-app .tb-kv:first-child { border-top: 0; }
.tb-strip { grid-area: strip; display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.6fr) minmax(0, .55fr); border-top: var(--line); }
.tb-cell { padding: 5px 10px 6px; }
.tb-cell:nth-child(n + 4) { border-top: var(--hair); }
.tb-cell:not(:nth-child(3n + 1)) { border-left: var(--hair); }
.tb-cell span:last-child { font-size: 15px; }
.tb-dwg span:last-child { font: 600 19px var(--f); letter-spacing: .08em; }

/* the drafting crosshair (desktop, fine pointer only): faint, short lines that fade out within ~70 px,
   and a readout with no box that all but disappears into the page */
.xh { position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: 0; transition: opacity .3s; }
.xh.on { opacity: 1; }
.xh-h, .xh-v { position: absolute; background: rgba(17, 17, 17, .2); }
.xh-h { left: 0; right: 0; top: 0; height: 1px; transform: translateY(var(--y, -10px));
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--x, -999px) - 70px), #000 calc(var(--x, -999px) - 8px), #000 calc(var(--x, -999px) + 8px), transparent calc(var(--x, -999px) + 70px));
  mask-image: linear-gradient(90deg, transparent calc(var(--x, -999px) - 70px), #000 calc(var(--x, -999px) - 8px), #000 calc(var(--x, -999px) + 8px), transparent calc(var(--x, -999px) + 70px)); }
.xh-v { top: 0; bottom: 0; left: 0; width: 1px; transform: translateX(var(--x, -10px));
  -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--y, -999px) - 70px), #000 calc(var(--y, -999px) - 8px), #000 calc(var(--y, -999px) + 8px), transparent calc(var(--y, -999px) + 70px));
  mask-image: linear-gradient(180deg, transparent calc(var(--y, -999px) - 70px), #000 calc(var(--y, -999px) - 8px), #000 calc(var(--y, -999px) + 8px), transparent calc(var(--y, -999px) + 70px)); }
.xh-read { position: absolute; left: 0; top: 0; padding: 0; background: none; color: rgba(17, 17, 17, .28);
  font: 400 10px var(--f); letter-spacing: .08em; white-space: pre;
  transform: translate(calc(var(--x, -200px) + 14px), calc(var(--y, -200px) + 12px)); }
body.zoom-on .xh { opacity: 0 !important; }
@media (hover: none), (pointer: coarse) { .xh, .peek { display: none; } }

/* phones and narrow windows */
@media (max-width: 820px) {
  .cover-name { margin-right: 0; }
  .bauhaus { top: -70px; right: -50px; opacity: .9; }
  .contents-list { grid-auto-flow: row; grid-template-rows: none; }
  .table { aspect-ratio: auto; display: grid; gap: 54px; }
  .slot { position: static; width: auto; }
  .about-strip, .proj-head, .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-strip .portrait, .about-grid .portrait { max-width: 320px; }
  .gallery { grid-template-columns: 1fr; gap: 52px; }
  .gallery .fig { grid-column: 1 / -1 !important; margin-top: 0 !important; justify-self: center; }
  .skills { grid-template-columns: 1fr; }
  .title-block { grid-template-columns: 1fr; grid-template-areas: "title" "names" "notes" "app" "prop" "strip"; }
  .tb-notes, .tb-names, .tb-prop, .tb-app { border-right: 0; }
  .tb-names, .tb-notes { border-top: var(--line); }
  .tb-title { grid-template-columns: minmax(0, 1fr) 104px; }
  .tb-approve img { width: 84px; }
  .site-head { position: static; flex-wrap: wrap; background: none; }
  .site-head nav { gap: 6px 16px; }
  .site-head nav a { letter-spacing: .1em; }
  .print { transform: rotate(calc(var(--r, 0deg) * .4)); }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  .scan { display: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* view-transition names */
.vt-vex-air{view-transition-name:hero-vex-air}.vt-vex-aim{view-transition-name:hero-vex-aim}.vt-cte-workcell{view-transition-name:hero-cte-workcell}.vt-stunt-circuit{view-transition-name:hero-stunt-circuit}.vt-black-widow{view-transition-name:hero-black-widow}.vt-junkbots-season-2{view-transition-name:hero-junkbots-season-2}
/* pixel caps */
.cap-300{max-width:300px}.cap-350{max-width:350px}.cap-400{max-width:400px}.cap-450{max-width:450px}.cap-500{max-width:500px}.cap-550{max-width:550px}.cap-600{max-width:600px}.cap-650{max-width:650px}.cap-700{max-width:700px}.cap-750{max-width:750px}.cap-800{max-width:800px}.cap-850{max-width:850px}.cap-900{max-width:900px}.cap-950{max-width:950px}.cap-1000{max-width:1000px}.cap-1050{max-width:1050px}.cap-1100{max-width:1100px}.cap-1150{max-width:1150px}.cap-1200{max-width:1200px}.cap-1250{max-width:1250px}.cap-1300{max-width:1300px}.cap-1350{max-width:1350px}.cap-1400{max-width:1400px}.cap-1450{max-width:1450px}.cap-1500{max-width:1500px}.cap-1550{max-width:1550px}.cap-1600{max-width:1600px}.cap-1650{max-width:1650px}.cap-1700{max-width:1700px}.cap-1750{max-width:1750px}.cap-1800{max-width:1800px}.cap-1850{max-width:1850px}.cap-1900{max-width:1900px}.cap-1950{max-width:1950px}.cap-2000{max-width:2000px}.cap-2050{max-width:2050px}.cap-2100{max-width:2100px}.cap-2150{max-width:2150px}.cap-2200{max-width:2200px}.cap-2250{max-width:2250px}.cap-2300{max-width:2300px}.cap-2350{max-width:2350px}.cap-2400{max-width:2400px}
