/* ==========================================================================
   v2 — black / bone / cool red. Tech HUD + printed-texture accents.
   ========================================================================== */

/* self-hosted variable fonts (latin subset, OFL licensed, see OFL.txt next to each font) */
@font-face
{
	font-family: "Archivo";
	src: url("../resources/fonts/archivo/Archivo-latin-var.woff2") format("woff2");
	font-weight: 300 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

@font-face
{
	font-family: "JetBrains Mono";
	src: url("../resources/fonts/jetbrains_mono/JetBrainsMono-latin-var.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root
{
	--bg: #060607;
	--bg-2: #0c0c0e;
	--ink: #ecebe6;
	--ink-dim: #8a8986;
	--ink-faint: #3a3a3d;
	--line: rgba(236, 235, 230, 0.12);
	--red: #f40049;
	--red-deep: #a8002f;
	--red-glow: rgba(244, 0, 73, 0.35);

	--gutter: clamp(16px, 4vw, 56px);
	--mono: "JetBrains Mono", ui-monospace, monospace;
	--sans: "Archivo", system-ui, sans-serif;
	--ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html
{
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
	background: var(--bg);
}

body
{
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--bg); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.dim { color: var(--ink-dim); }
.red { color: var(--red); }
.defs { position: absolute; width: 0; height: 0; }
.nowrap { white-space: nowrap; }

.ul
{
	background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 1px no-repeat;
	transition: background-size .3s var(--ease), color .2s;
}
.ul:hover { color: var(--red); }

.dot
{
	display: inline-block;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 0 var(--red-glow);
	animation: pulse 2s infinite;
	margin-right: 8px;
	vertical-align: middle;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } }

/* ---------- global texture ---------- */

.grain
{
	position: fixed; inset: 0;
	z-index: 90;
	pointer-events: none;
	opacity: .045;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scan
{
	position: fixed; inset: 0;
	z-index: 89;
	pointer-events: none;
	background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, .18) 2px 3px);
}

.frame { position: fixed; inset: 12px; z-index: 80; pointer-events: none; }
.frame .c { position: absolute; width: 14px; height: 14px; border: 1px solid var(--ink-dim); }
.frame .tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame .bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame .br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* ---------- HUD ---------- */

.hud
{
	position: fixed; top: 0; left: 0; right: 0;
	z-index: 70;
	display: flex; align-items: center; gap: 32px;
	padding: 18px var(--gutter);
	font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
	transition: background .3s, border-color .3s, padding .3s;
	border-bottom: 1px solid transparent;
}
.hud.solid
{
	background: rgba(6, 6, 7, .8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-color: var(--line);
	padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { filter: grayscale(1) contrast(1.2); transition: filter .3s, transform .5s var(--ease); }
.brand:hover img { filter: none; transform: rotate(-12deg); }
.brand em { color: var(--red); font-style: normal; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.hud { gap: 12px; }
.brand { margin-right: 20px; }
.nav a { position: relative; color: var(--ink-dim); transition: color .2s; }
.nav a b { color: var(--red); font-weight: 500; margin-right: 6px; font-size: 10px; }
.nav a::after
{
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
	background: var(--red); transform: scaleX(0); transform-origin: left;
	transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.hud-meta { display: flex; align-items: center; color: var(--ink-dim); white-space: nowrap; }

/* at the top, the hero texture sits behind the HUD: give links and clock their own plates */
@media (min-width: 821px)
{
	.nav, .hud-meta
	{
		padding: 9px 16px;
		background: rgba(6, 6, 7, .72);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		border: 1px solid var(--line);
		transition: background .3s, border-color .3s, padding .3s;
	}
	.hud.solid .nav, .hud.solid .hud-meta { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.hud:not(.solid) .nav a { color: #b9b8b3; }
	.hud:not(.solid) .nav a:hover, .hud:not(.solid) .nav a.active { color: var(--ink); }
}

.menu-btn { display: none; width: 32px; height: 32px; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 6px; right: 6px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 12px; }
.menu-btn span:last-child { top: 19px; left: 12px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { left: 6px; transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- HERO ---------- */

.hero
{
	position: relative;
	max-width: 100vw;
	min-height: min(100svh, 1000px);
	display: flex; flex-direction: column;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
#field
{
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	image-rendering: pixelated;
	opacity: .9;
}
.hero::after
{
	/* vignette into the page */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, var(--bg) 0%, rgba(6, 6, 7, .55) 45%, transparent 75%),
		linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-grid
{
	position: relative; z-index: 2;
	flex: 1;
	min-width: 0;
	display: grid;
	grid-template-rows: auto 1fr auto;
	padding: 110px var(--gutter) 40px;
	gap: 24px;
}
.hero-tag { display: flex; gap: 24px; color: var(--ink-dim); flex-wrap: wrap; }
.hero-tag span:first-child { color: var(--red); }

.hero-name
{
	align-self: center;
	margin: 0;
	font-weight: 900;
	font-stretch: 125%;
	font-variation-settings: "wdth" 125;
	font-size: clamp(52px, 12.4vw, 210px);
	line-height: .82;
	letter-spacing: -.045em;
	text-transform: uppercase;
}
.hero-name .line { display: block; white-space: nowrap; }
.hero-name .indent { padding-left: clamp(16px, 6vw, 120px); }
.hero-name .line:last-child .word
{
	color: transparent;
	-webkit-text-stroke: 1.5px var(--ink);
}
.hero-name .blk
{
	display: inline-block;
	width: .12em; height: .7em;
	margin-left: .06em;
	background: var(--red);
	animation: blink 1s steps(2) infinite;
	vertical-align: baseline;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-foot { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.role { margin: 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.8; max-width: 520px; }
.role .mono { display: inline-block; width: 7.5em; font-size: 12px; }

.cta
{
	position: relative;
	display: inline-flex; align-items: center; gap: 14px;
	padding: 16px 22px;
	font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	border: 1px solid var(--ink);
	overflow: hidden;
	isolation: isolate;
	transition: color .3s, border-color .3s;
}
.cta::before
{
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--red);
	transform: translateY(101%);
	transition: transform .4s var(--ease);
}
.cta:hover { border-color: var(--red); color: var(--bg); }
.cta:hover::before { transform: none; }
.cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.cta:hover svg { transform: translateX(4px); }

.marquee
{
	position: relative; z-index: 2;
	border-top: 1px solid var(--line);
	background: var(--bg);
	overflow: hidden;
	padding: 14px 0;
	font-family: var(--sans); font-weight: 800; font-stretch: 62%;
	font-variation-settings: "wdth" 62;
	font-size: 28px; text-transform: uppercase; letter-spacing: .02em;
}
.marquee .track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee i { color: var(--red); font-style: normal; font-size: 18px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */

.sec
{
	position: relative;
	padding: clamp(80px, 12vw, 160px) var(--gutter);
	max-width: 1440px;
	margin: 0 auto;
}
.sec + .sec { border-top: 1px dashed var(--line); }

.sec-head { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .idx
{
	color: var(--red);
	border: 1px solid var(--red);
	padding: 3px 7px;
	font-size: 11px;
}
.ttl
{
	position: relative;
	isolation: isolate;
	margin: 0;
	font-weight: 900;
	font-variation-settings: "wdth" 112;
	font-size: clamp(38px, 6vw, 84px);
	line-height: 1;
	letter-spacing: -.035em;
	text-transform: uppercase;
	white-space: nowrap;
}
.ttl .brush
{
	position: absolute; z-index: -1;
	left: -.15em; right: -.25em; top: 42%; height: .5em;
	background: var(--red);
	filter: url(#ink);
	transform: scaleX(0) rotate(-1.5deg);
	transform-origin: left;
	transition: transform .9s var(--ease) .15s;
	opacity: .9;
}
.sec.seen .ttl .brush { transform: scaleX(1) rotate(-1.5deg); }
.sec-head .rule { flex: 1; height: 1px; background: var(--line); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- ABOUT ---------- */

.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-text p { margin: 0 0 1.2em; color: #c9c8c3; max-width: 60ch; }
.about-text b { color: var(--ink); font-weight: 700; }
.about-text .lead
{
	color: var(--ink);
	font-size: clamp(24px, 2.6vw, 36px);
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -.015em;
	font-variation-settings: "wdth" 100;
}
.specs { margin: 40px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 110px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-dim); }
.specs dd { margin: 0; }

.portrait { margin: 0; position: sticky; top: 100px; }
.portrait-box
{
	position: relative;
	aspect-ratio: 1;
	background: var(--bg-2);
	border: 1px solid var(--line);
	overflow: hidden;
}
.portrait-box::before, .portrait-box::after
{
	/* crosshair registration marks */
	content: ""; position: absolute; z-index: 3; width: 22px; height: 22px;
	border: 1px solid var(--red);
}
.portrait-box::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.portrait-box::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.portrait-box img, .portrait-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-box img { filter: grayscale(1) contrast(1.1); opacity: 0; transition: opacity .5s; }
.portrait-box canvas { image-rendering: pixelated; transition: opacity .5s, clip-path .7s var(--ease); clip-path: inset(0 0 0 0); }
.portrait:hover .portrait-box img { opacity: 1; }
.portrait:hover .portrait-box canvas { clip-path: inset(0 0 0 100%); }
.portrait figcaption { display: flex; justify-content: space-between; margin-top: 10px; color: var(--ink-dim); font-size: 11px; }

/* ---------- PROJECTS ---------- */

.filters { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filters button
{
	padding: 8px 14px;
	border: 1px solid var(--line);
	color: var(--ink-dim);
	transition: all .2s;
}
.filters button:hover { color: var(--ink); border-color: var(--ink-dim); }
.filters button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.projects { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proj
{
	position: relative;
	display: grid;
	grid-template-columns: 70px 1fr 1.1fr;
	gap: clamp(20px, 3vw, 48px);
	padding: clamp(20px, 3vw, 36px);
	background: var(--bg);
	transition: background .35s;
}
.proj:hover { background: var(--bg-2); }
.proj .n { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); transition: color .3s; }
.proj:hover .n { color: var(--red); }
.proj-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.proj-meta { display: flex; gap: 14px; align-items: center; color: var(--ink-dim); }
.proj-meta img { width: 28px; height: 28px; filter: grayscale(1) brightness(1.4); transition: filter .3s; }
.proj:hover .proj-meta img { filter: none; }
.proj h3
{
	margin: 0;
	font-size: clamp(28px, 3.2vw, 46px);
	overflow-wrap: anywhere;
	font-weight: 800;
	font-variation-settings: "wdth" 110;
	letter-spacing: -.03em;
	line-height: 1;
	text-transform: uppercase;
}
.proj h3 a { transition: color .2s; }
.proj h3 a:hover { color: var(--red); }
.proj p { margin: 0; color: #b9b8b3; font-size: 16px; max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tags a
{
	font-family: var(--mono); font-size: 11px; letter-spacing: .05em;
	padding: 4px 9px;
	border: 1px solid var(--line);
	color: var(--ink-dim);
	transition: color .2s, border-color .2s;
}
.tags a:hover { color: var(--red); border-color: var(--red); }
.proj-links { display: flex; gap: 18px; }
.proj-links a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.proj-links a:hover { color: var(--red); }

.screen
{
	position: relative;
	aspect-ratio: 16 / 10;
	background: #000;
	border: 1px solid var(--line);
	overflow: hidden;
}
.screen video, .screen img
{
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(1) contrast(1.15) brightness(.75);
	transition: filter .5s, transform .8s var(--ease);
}
.proj:hover .screen video, .proj:hover .screen img { filter: none; transform: scale(1.03); }
.screen::before
{
	/* halftone overlay that clears on hover */
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: radial-gradient(circle, rgba(244, 0, 73, .55) 1px, transparent 1.4px) 0 0 / 5px 5px;
	mix-blend-mode: multiply;
	transition: opacity .5s;
}
.proj:hover .screen::before { opacity: 0; }
.screen::after
{
	content: attr(data-label);
	position: absolute; z-index: 3; left: 10px; bottom: 8px;
	font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--ink);
	background: rgba(0, 0, 0, .6); padding: 2px 6px;
}
.screen .rec
{
	position: absolute; z-index: 3; top: 10px; right: 10px;
	font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
	display: flex; align-items: center; opacity: 0; transition: opacity .3s;
}
.screen .rec .dot { width: 6px; height: 6px; margin-right: 6px; }
.proj:hover .screen .rec { opacity: 1; }

/* placeholder screen for entries without footage */
.screen.blank
{
	display: grid; place-items: center;
	background:
		radial-gradient(circle, rgba(244, 0, 73, .35) 1px, transparent 1.4px) 0 0 / 6px 6px,
		repeating-linear-gradient(-45deg, transparent 0 14px, rgba(236, 235, 230, .03) 14px 15px),
		var(--bg-2);
}
.screen.blank::before { display: none; }
.blank-title
{
	font-weight: 900; font-variation-settings: "wdth" 125;
	font-size: clamp(22px, 3vw, 40px); line-height: .9; letter-spacing: -.04em;
	text-transform: uppercase; text-align: center; padding: 0 24px;
	color: transparent; -webkit-text-stroke: 1px var(--ink-dim);
	transition: -webkit-text-stroke-color .3s, transform .6s var(--ease);
}
.proj:hover .blank-title, .exp:hover .blank-title { -webkit-text-stroke-color: var(--red); transform: scale(1.04); }

/* ---------- SKILLS ---------- */

.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.skill-cat { background: var(--bg); padding: 26px; position: relative; overflow: hidden; }
.skill-cat h3
{
	margin: 0 0 22px;
	display: flex; justify-content: space-between; align-items: baseline;
	font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.skill-cat h3 span { color: var(--red); }
.skill-cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.skill-cat li a
{
	display: flex; align-items: center; gap: 12px;
	padding: 7px 8px; margin: 0 -8px;
	font-size: 16px; font-weight: 500;
	transition: background .2s, color .2s, padding .3s var(--ease);
}
.skill-cat li img { width: 20px; height: 20px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .8; transition: filter .2s, opacity .2s; }
.skill-cat li a:hover { background: var(--ink); color: var(--bg); padding-left: 14px; }
.skill-cat li a:hover img { filter: none; opacity: 1; }
.skill-cat .bars { position: absolute; right: 0; bottom: 0; display: flex; gap: 3px; padding: 14px; }
.skill-cat .bars i { width: 3px; background: var(--ink-faint); }

/* ---------- EXPERIENCE ---------- */

.timeline { position: relative; display: grid; gap: 40px; }
.exp
{
	display: grid;
	grid-template-columns: 180px 1fr 360px;
	gap: clamp(20px, 4vw, 56px);
	padding: 32px 0;
	border-top: 1px solid var(--line);
}
.exp .when { font-family: var(--mono); color: var(--red); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.exp .when big
{
	display: block;
	font-family: var(--sans); font-weight: 900; font-variation-settings: "wdth" 62;
	font-size: 72px; line-height: 1; color: var(--ink); letter-spacing: -.02em;
	margin: 6px 0;
}
.exp h3 { margin: 0 0 4px; font-size: 34px; font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -.02em; text-transform: uppercase; }
.exp .type { color: var(--ink-dim); margin-bottom: 16px; display: block; }
.exp p { margin: 0 0 18px; color: #b9b8b3; }
.points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 22px; color: #b9b8b3; font-size: 15px; }
.points li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }
.points b { color: var(--ink); font-weight: 600; }
.exp .screen { aspect-ratio: 16 / 9; align-self: start; }
.exp:hover .screen video, .exp:hover .screen img { filter: none; }
.exp:hover .screen::before { opacity: 0; }

/* ---------- CONTACT ---------- */

.big-mail { display: block; margin-bottom: 64px; }
.big-mail .big
{
	display: block;
	margin: 14px 0 24px;
	font-weight: 900; font-variation-settings: "wdth" 125;
	font-size: clamp(48px, 10vw, 168px);
	line-height: .86; letter-spacing: -.05em; text-transform: uppercase;
	transition: color .3s;
}
.big-mail:hover .big { color: var(--red); }
.big-mail:hover .big .red { color: var(--ink); }
.big-mail .addr { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; border-bottom: 1px solid var(--red); padding-bottom: 4px; text-transform: none; }
.big-mail svg, .links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.big-mail:hover svg, .links a:hover svg { transform: translate(3px, -3px); }

.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.links a
{
	display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 20px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	transition: padding .3s var(--ease), color .2s;
}
.links a .dim { text-transform: none; }
.links a:hover { color: var(--red); padding-left: 14px; }

/* ---------- FOOTER ---------- */

.foot
{
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
	padding: 28px var(--gutter) 36px;
	border-top: 1px solid var(--line);
	color: var(--ink-dim);
	font-size: 11px;
}
.foot a:hover { color: var(--red); }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px)
{
	.proj { grid-template-columns: 1fr; }
	.proj .n { display: none; }
	.screen { order: -1; }
	.exp { grid-template-columns: 1fr; }
	.about { grid-template-columns: 1fr; }
	.portrait { position: relative; top: 0; max-width: 460px; }
}

@media (max-width: 820px)
{
	.hud-meta { display: none; }
	.menu-btn { display: block; }
	.nav
	{
		position: fixed; inset: 0; z-index: -1;
		flex-direction: column; justify-content: center; gap: 8px;
		padding: 0 var(--gutter);
		background: var(--bg);
		font-size: 34px; font-family: var(--sans); font-weight: 800; letter-spacing: -.02em;
		clip-path: inset(0 0 100% 0);
		transition: clip-path .5s var(--ease);
	}
	.nav.open { clip-path: inset(0 0 0 0); }
	.nav a { color: var(--ink); }
	.nav a b { font-family: var(--mono); font-size: 12px; vertical-align: super; }
	.ttl { white-space: normal; }
	.sec-head .dim { display: none; }
	.links a { grid-template-columns: 1fr auto; }
	.links a .dim { grid-row: 2; font-size: 12px; }
	.role .mono { width: auto; margin-right: 6px; }
}

@media (prefers-reduced-motion: reduce)
{
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
	.ttl .brush { transform: rotate(-1.5deg); }
}
