/* Studio — three-view WebGL site. All classes prefixed st-. */
:root {
	--bg: #0c0c0d;
	--ink: #ededeb;
	--mute: #8a8a88;
	--pill: #1c1c1e;
	--pill-h: #262628;
	--line: #232325;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--sans: "Geist", ui-sans-serif, system-ui, sans-serif;
	--serif: "Newsreader", ui-serif, Georgia, serif;
}
html.st-html, html.st-html body.st-body {
	height: 100%;
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html.st-js, html.st-js body.st-body { overflow: hidden; overscroll-behavior: none; }
body.st-body #wpadminbar { opacity: .35; }
.st-root, .st-root * { box-sizing: border-box; }
:where(.st-root button) { font: inherit; color: inherit; }

/* Crawlable HTML version: visible without JS, hidden (but in the DOM) with it. */
.st-seo { max-width: 760px; margin: 0 auto; padding: 48px 20px 120px; font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.st-seo a { color: var(--ink); }
.st-seo h1 { font-weight: 400; font-size: 40px; line-height: 1.1; }
.st-seo h2 { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--mute); text-transform: uppercase; letter-spacing: .14em; margin-top: 48px; }
.st-seo h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--mute); margin: 24px 0 4px; }
html.st-js .st-seo { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Views */
.st-view {
	position: fixed;
	inset: 0;
	opacity: 0;
	visibility: hidden;
}
.st-view.is-shown { visibility: visible; }
.st-canvas { position: absolute; inset: 0; }
.st-canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; }

/* ---------- Header ---------- */
.st-head {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 55;
	height: 64px;
	padding: 0 24px;
	display: flex;
	align-items: center;
	gap: 24px;
	background: linear-gradient(to bottom, rgba(12, 12, 13, .82), rgba(12, 12, 13, .55));
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .05);
	opacity: 0;
	pointer-events: none;
}
.st-head.is-live { pointer-events: auto; }
body.admin-bar .st-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .st-head { top: 46px; } }
.st-head a { text-decoration: none !important; color: var(--ink); }
.st-head a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.st-head__logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.st-head__logo img { display: block; height: 30px; width: auto; max-width: 180px; }
.st-head__mono {
	width: 32px; height: 32px;
	display: grid; place-items: center;
	border-radius: 8px;
	background: var(--ink);
	color: #0c0c0d;
	font-family: var(--sans);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: -0.02em;
}
.st-head__txt { display: flex; flex-direction: column; line-height: 1.1; }
.st-head__txt b { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.st-head__txt i { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--mute); }
.st-head__nav { display: flex; gap: 4px; margin-left: auto; }
.st-head__nav a {
	position: relative;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--mute) !important;
	transition: color .3s, background .3s;
}
.st-head__nav a:hover { color: var(--ink) !important; background: rgba(255, 255, 255, .05); }
.st-head__nav a.is-active { color: var(--ink) !important; }
.st-head__nav a.is-active::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 3px;
	height: 1px;
	background: var(--ink);
}
.st-head__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--ink);
	color: #0c0c0d !important;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	transition: transform .4s var(--ease), background .3s;
}
.st-head__cta:hover { background: #fff; transform: translateY(-1px); }
.st-head__cta span { font-size: 12px; }
@media (max-width: 760px) {
	.st-head { padding: 0 14px; gap: 12px; }
	.st-head__nav { display: none; }
	.st-head__cta { margin-left: auto; height: 32px; padding: 0 12px; font-size: 12px; }
	.st-head__txt i { display: none; }
}

/* ---------- Dock ---------- */
.st-dock {
	position: fixed;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	left: 0; right: 0;
	margin: auto;
	width: max-content;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 5px;
	border-radius: 12px;
	background: rgba(28, 28, 30, .66);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, .06);
	box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
	z-index: 50;
	opacity: 0;
	pointer-events: none;
}
.st-dock.is-live { pointer-events: auto; }
:where(.st-dock a, .st-dock button) { all: unset; cursor: pointer; box-sizing: border-box; }
.st-dock :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 5px; }
.st-dock a { text-decoration: none !important; }
.st-mark { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: -0.02em; padding: 6px 10px 6px 8px; color: var(--ink); white-space: nowrap; }
.st-div { width: 1px; height: 18px; background: rgba(255, 255, 255, .1); margin: 0 4px; }
.st-tab {
	height: 30px;
	display: flex;
	align-items: center;
	padding: 0 9px;
	border-radius: 5px;
	color: var(--ink);
	transition: background .3s;
}
.st-tab:hover { background: rgba(255, 255, 255, .06); }
.st-tab.is-active { background: rgba(255, 255, 255, .1); }
.st-tab__l {
	font-family: var(--serif);
	font-style: italic;
	font-size: 17px;
	line-height: 1;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	white-space: nowrap;
	transition: max-width .7s var(--ease), margin .7s var(--ease), opacity .4s;
}
.st-tab__n {
	font-family: var(--sans);
	font-weight: 500;
	font-size: 12px;
	transform: translateY(-1px);
	transition: font-size .7s var(--ease), transform .7s var(--ease);
}
.st-tab.is-active .st-tab__l { max-width: 120px; opacity: 1; margin-right: 3px; }
.st-tab.is-active .st-tab__n { font-size: 10px; transform: translateY(-6px); }
.st-dot { width: 30px; height: 30px; border-radius: 5px; display: grid !important; place-items: center; transition: background .3s; }
.st-dot:hover { background: rgba(255, 255, 255, .06); }
.st-dot i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); transition: transform .5s var(--ease); }
.st-dot[aria-expanded="true"] i { transform: scale(2.2); }

.st-menu {
	position: fixed;
	bottom: calc(66px + env(safe-area-inset-bottom, 0px));
	left: 50%;
	margin-left: -110px;
	width: 220px;
	padding: 14px;
	border-radius: 8px;
	background: rgba(22, 22, 24, .82);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border: 1px solid var(--line);
	z-index: 49;
	transform: translateY(6px) scale(.98);
	transform-origin: bottom center;
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.st-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
.st-menu p { margin: 0 0 10px; font-size: 12px; line-height: 1.4; color: var(--mute); }
.st-menu a {
	text-decoration: none !important;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 9px 0;
	border-top: 1px solid var(--line);
	font-family: var(--serif);
	font-size: 17px;
	color: var(--ink);
	text-decoration: none;
}
.st-menu a span { font-family: var(--sans); font-size: 11px; color: var(--mute); }
.st-menu a:hover { color: #fff; }

/* ---------- Gallery DOM ---------- */
.st-g-mark {
	position: absolute;
	left: 50%; top: 50%;
	height: auto;
	transform: translate(-50%, -50%);
	opacity: 0;
	pointer-events: none;
}
.st-g-side {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	overflow: hidden;
	font-size: 13px;
	color: var(--ink);
	pointer-events: none;
	white-space: nowrap;
}
.st-g-side span { display: inline-block; transform: translateY(100%); }
.st-g-side--l { left: 9%; }
.st-g-side--r { right: 9%; }
@media (max-width: 1024px) { .st-g-side { display: none; } }
.st-g-count {
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	overflow: hidden;
	font-family: var(--serif);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}
.st-g-count span { display: inline-block; transform: translateY(110%); }
.st-g-cap {
	position: absolute;
	left: 50%;
	bottom: 78px;
	transform: translateX(-50%);
	overflow: hidden;
	display: flex;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
	pointer-events: none;
	padding-bottom: 2px;
}
.st-g-cap__in { display: flex; gap: 6px; align-items: baseline; }
.st-g-cap b { font-weight: 500; font-size: 13px; }
.st-g-cap i { font-style: normal; font-family: var(--serif); font-size: 14px; color: var(--mute); }
.st-view--gallery.is-zoomed .st-g-cap, .st-view--gallery.is-zoomed .st-hint { opacity: 0 !important; transition: opacity .3s; }
.st-hint {
	position: absolute;
	left: 50%;
	bottom: 78px;
	transform: translateX(-50%);
	font-size: 10px;
	letter-spacing: .24em;
	color: var(--mute);
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
}
.st-cursor {
	position: fixed;
	left: 0; top: 0;
	z-index: 60;
	padding: 5px 8px;
	border-radius: 4px;
	background: rgba(237, 237, 235, .92);
	color: #0c0c0d;
	font-weight: 500;
	font-size: 12px;
	pointer-events: none;
	opacity: 0;
	transform: scale(.6);
	white-space: nowrap;
}
.st-ov {
	position: absolute;
	left: 0; right: 0;
	bottom: 78px;
	margin: 0 auto;
	width: min(600px, calc(100% - 32px));
	opacity: 0;
	pointer-events: none;
}
.st-ov.is-open { pointer-events: auto; }
.st-ov__top { display: flex; align-items: baseline; gap: 8px; }
.st-ov__top b { font-weight: 500; font-size: 15px; }
.st-ov__top i { font-style: normal; font-family: var(--serif); font-size: 15px; color: var(--mute); }
.st-btn {
	all: unset;
	margin-left: auto;
	height: 26px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	border-radius: 4px;
	background: var(--pill);
	font-size: 12px;
	cursor: pointer;
	transition: background .3s;
}
.st-btn:hover { background: var(--pill-h); }
.st-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-ov p { margin: 10px 0 12px; font-family: var(--serif); font-size: 17px; line-height: 1.35; color: #cfcfcc; max-width: 54ch; }
.st-ov__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.st-ov__tags a { text-decoration: none !important; }
.st-ov__tags span, .st-ov__tags a { font-size: 11px; padding: 4px 8px; border-radius: 4px; background: var(--pill); color: var(--ink); text-decoration: none; }
.st-ov__tags a:hover { background: var(--pill-h); }

/* ---------- Projects DOM ---------- */
.st-bubble {
	position: fixed;
	left: 0; top: 0;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(237, 237, 235, .94);
	color: #0c0c0d;
	font-family: var(--serif);
	font-style: italic;
	font-size: 16px;
	z-index: 60;
	pointer-events: none;
	opacity: 0;
	transform: scale(.6);
}
.st-lb {
	position: fixed;
	inset: 0;
	z-index: 70;
	display: grid;
	place-items: center;
	padding: 24px 16px 96px;
	background: rgba(8, 8, 9, .86);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	opacity: 0;
	visibility: hidden;
}
.st-lb__box { width: min(1100px, 100%, calc(70vh * 16 / 9)); }
.st-lb__media { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #151517; }
.st-lb__media video, .st-lb__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.st-lb__meta { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.st-lb__meta b { font-weight: 500; font-size: 15px; }
.st-lb__meta i { font-style: normal; font-family: var(--serif); font-size: 15px; color: var(--mute); }
.st-lb p { margin: 8px 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.35; color: #cfcfcc; max-width: 60ch; }
.st-lb__visit { margin-left: 8px; text-decoration: none !important; color: var(--ink) !important; }
.st-lb .st-btn:focus:not(:focus-visible) { outline: none; }

/* ---------- About DOM ---------- */
.st-scroll {
	position: absolute;
	left: 50%;
	bottom: 78px;
	transform: translateX(-50%);
	font-size: 11px;
	letter-spacing: .22em;
	color: var(--mute);
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
}
.st-scroll i { display: inline-block; font-style: normal; animation: st-nudge 1.6s ease-in-out infinite; }
@keyframes st-nudge { 50% { transform: translateX(5px); } }

/* Loading / WebGL unavailable */
.st-nogl { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--mute); font-family: var(--serif); font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
	.st-root *, .st-dock *, .st-menu { transition: none !important; animation: none !important; }
}

/* =====================================================================
 * Unified type: the About page's two styles everywhere.
 *   Body  — Newsreader Light (300), the About paragraphs/lists/headline.
 *   Label — Geist 500 12px, grey (the About block headings).
 * ===================================================================== */
:root {
	--t-body: 300 18px/1.35 var(--serif);
	--t-lead: 300 22px/1.32 var(--serif);
	--t-label: 500 12px/1.3 var(--sans);
}
/* Header */
.st-head__txt b { font: 300 20px/1.05 var(--serif); letter-spacing: -0.01em; }
.st-head__txt i { font: var(--t-label); font-style: normal; color: var(--mute); margin-top: 2px; }
.st-head__mono { font: 300 17px/1 var(--serif); letter-spacing: 0; }
.st-head__nav a { font: 300 18px/1 var(--serif) !important; }
.st-head__cta { font: var(--t-label); }
/* Dock + menu */
.st-mark { font: 300 17px/1 var(--serif); letter-spacing: -0.01em; }
.st-tab__l { font-weight: 300; }
.st-tab__n { font-family: var(--sans); font-weight: 500; }
.st-menu p { font: var(--t-label); color: var(--mute); }
.st-menu a { font: 300 18px/1.2 var(--serif); }
.st-menu a span { font: var(--t-label); color: var(--mute); }
/* Gallery */
.st-g-side { font: 300 18px/1.2 var(--serif); }
.st-g-count { font: 300 14px/1 var(--serif); }
.st-g-cap b { font: 300 18px/1.2 var(--serif); }
.st-g-cap i { font: var(--t-label); color: var(--mute); }
.st-hint, .st-scroll { font: var(--t-label); font-size: 11px; letter-spacing: .22em; color: var(--mute); }
.st-cursor { font: var(--t-label); color: #0c0c0d; }
/* Overview + lightbox */
.st-ov__top b, .st-lb__meta b { font: var(--t-lead); }
.st-ov__top i, .st-lb__meta i { font: var(--t-label); color: var(--mute); }
.st-ov p, .st-lb p { font: var(--t-body); color: #cfcfcc; }
.st-ov__tags span, .st-ov__tags a { font: var(--t-label); }
.st-btn { font: var(--t-label); }
.st-bubble { font: italic 300 16px/1 var(--serif); }
/* Crawlable version */
.st-seo, .st-seo h1 { font-family: var(--serif); font-weight: 300; }
.st-seo h2, .st-seo h3 { font: var(--t-label); text-transform: none; letter-spacing: 0; color: var(--mute); }

/* ---------- v1.4: pills, gallery pitch ---------- */
.st-pill {
	display: inline-flex; align-items: center; gap: 8px;
	height: 42px; padding: 0 18px; border-radius: 999px;
	font: 500 13px/1 var(--sans); color: var(--ink) !important; text-decoration: none !important;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
	cursor: pointer; transition: background .25s, transform .25s var(--ease), opacity .25s;
}
.st-pill:hover { background: rgba(255, 255, 255, .11); transform: translateY(-1px); }
.st-pill--solid { background: var(--ink); color: #0c0c0d !important; border-color: transparent; }
.st-pill--solid:hover { background: #fff; }
.st-pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.st-pill[disabled] { opacity: .5; cursor: progress; }
.st-g-pitch {
	position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%);
	width: min(92vw, 620px); text-align: center; z-index: 3; opacity: 0;
}
.st-g-pitch p { margin: 0 0 14px; font: 300 22px/1.3 var(--serif); color: var(--ink); }
.st-g-pitch__row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.st-view--gallery .st-hint { bottom: 76px; }
.st-view--gallery.is-zoomed .st-g-pitch { opacity: 0 !important; pointer-events: none; transition: opacity .3s; }
@media (max-width: 640px) {
	.st-g-pitch { bottom: 96px; }
	.st-g-pitch p { font-size: 18px; margin-bottom: 10px; }
	.st-pill { height: 38px; padding: 0 14px; font-size: 12px; }
	.st-view--gallery .st-hint { display: none; }
}

/* ---------- v1.4: contact view ---------- */
.st-view--contact { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.st-ct {
	min-height: 100%;
	max-width: 1180px; margin: 0 auto;
	padding: 120px 32px 140px;
	display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start;
}
.st-ct .st-label { margin: 0 0 18px; font: var(--t-label); color: var(--mute); }
.st-ct__h { margin: 0 0 22px; font: 300 clamp(40px, 5vw, 64px)/1.02 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.st-ct__h em { font-style: italic; color: var(--mute); }
.st-ct__lead { margin: 0 0 36px; max-width: 30em; font: var(--t-body); line-height: 1.5; color: var(--ink); opacity: .86; }
.st-ct__list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.st-ct__list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.st-ct__list dt { font: var(--t-label); color: var(--mute); padding-top: 3px; }
.st-ct__list dd { margin: 0; font: 300 17px/1.4 var(--serif); color: var(--ink); }
.st-ct__list a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.st-ct__form, .st-ct__done {
	padding: 32px; border-radius: 20px;
	background: #131315; border: 1px solid var(--line);
	display: grid; gap: 22px;
}
.st-ct__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.st-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.st-field > span, .st-field legend { font: var(--t-label); color: var(--mute); padding: 0; margin-bottom: 8px; }
.st-field > span { margin-bottom: 0; }
.st-field i { font-style: normal; opacity: .6; }
.st-field input, .st-field textarea {
	width: 100%; padding: 12px 14px; border-radius: 10px;
	background: #0c0c0d; border: 1px solid #2a2a2d; color: var(--ink);
	font: 300 17px/1.4 var(--serif); outline: none; resize: vertical;
	transition: border-color .2s, background .2s;
}
.st-field textarea { min-height: 120px; }
.st-field input::placeholder, .st-field textarea::placeholder { color: #5d5d5b; }
.st-field input:focus, .st-field textarea:focus { border-color: #6b6b69; background: #0f0f10; }
.st-field.is-bad input, .st-field.is-bad textarea { border-color: #c0604f; }
.st-field.is-bad > span { color: #e0907f; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chip { position: relative; cursor: pointer; }
.st-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-chip span {
	display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
	font: 500 13px/1 var(--sans); color: var(--mute);
	background: #0c0c0d; border: 1px solid #2a2a2d; transition: all .2s;
}
.st-chip:hover span { color: var(--ink); border-color: #444; }
.st-chip input:checked + span { background: var(--ink); color: #0c0c0d; border-color: var(--ink); }
.st-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-ct__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.st-ct__send { height: 48px; padding: 0 24px; font-size: 14px; }
.st-ct__status { margin: 0; font: 300 16px/1.4 var(--serif); color: var(--mute); }
.st-ct__status a { color: var(--ink); }
.st-ct__done h3 { margin: 0; font: 300 40px/1.1 var(--serif); color: var(--ink); }
.st-ct__done p { margin: 0; font: var(--t-body); color: var(--ink); opacity: .86; }
.st-ct__done .st-label { margin: 0; opacity: 1; }
.st-ct__done b { font-weight: 400; }
@media (max-width: 900px) {
	.st-ct { grid-template-columns: 1fr; gap: 40px; padding: 96px 20px 130px; }
}
@media (max-width: 520px) {
	.st-ct__grid { grid-template-columns: 1fr; }
	.st-ct__form, .st-ct__done { padding: 22px 18px; }
	.st-ct__list div { grid-template-columns: 96px 1fr; }
}
.st-wa { margin: -8px 0 32px; background: #1f2e25; border-color: #2d4a37; color: #dff5e6 !important; }
.st-wa:hover { background: #25382c; }
.st-wa svg { color: #4ade80; }
