/*
 * GifTechs Theme
 *
 * Mobile first, dark only. Motion is decoration: everything reads with
 * JavaScript off, and every animation stops under prefers-reduced-motion.
 * Only transform, opacity, filter and masks animate, so nothing reflows.
 */

/* ---------- Font ---------- */

@font-face {
	font-family: "Sora";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/sora-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
	--gt-accent: #8b5cf6;
	--gt-accent-2: #22d3ee;
	--gt-on-accent: #fff;
	--gt-accent-soft: rgba(139, 92, 246, .14);
	--gt-glow: rgba(139, 92, 246, .35);
	--gt-gradient: linear-gradient(65deg, var(--gt-accent), var(--gt-accent-2));

	--gt-bg: #07050d;
	--gt-bg-2: #0c0915;
	--gt-surface: #131020;
	--gt-surface-2: #1b172b;
	--gt-border: rgba(255, 255, 255, .08);
	--gt-border-strong: rgba(255, 255, 255, .16);
	--gt-text: #ece9f5;
	--gt-muted: #a6a1b8;
	--gt-link: #67e8f9;
	--gt-success: #34d399;

	--gt-radius: 18px;
	--gt-radius-sm: 10px;
	--gt-header-h: 68px;
	--gt-wrap: 1200px;
	--gt-ease: cubic-bezier(.4, 0, .2, 1);
	--gt-sticky-top: 88px;

	color-scheme: dark;
}

@property --gt-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--gt-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--gt-bg);
	color: var(--gt-text);
	font-family: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: var(--gt-link);
	text-underline-offset: .2em;
}

a:hover {
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--gt-accent-2);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 .5em;
	line-height: 1.2;
	font-weight: 650;
	letter-spacing: -.01em;
	color: #fff;
}

p {
	margin: 0 0 1em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: .6rem 1rem;
	clip: auto;
	background: #fff;
	color: #000;
	border-radius: 8px;
}

.wrap {
	width: 100%;
	max-width: var(--gt-wrap);
	margin: 0 auto;
	padding: 0 16px;
}

.wrap--narrow {
	max-width: 820px;
}

@media (min-width: 720px) {
	.wrap {
		padding: 0 32px;
	}
}

.gradient-text {
	background: var(--gt-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--gt-accent-2);
}

.ui-icon {
	flex-shrink: 0;
	transition: transform .3s var(--gt-ease);
}

/* ---------- Buttons and links ---------- */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: .8rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: .92rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: transform .3s var(--gt-ease), box-shadow .3s var(--gt-ease), border-color .3s var(--gt-ease), background-color .3s var(--gt-ease);
}

.btn:hover .ui-icon {
	transform: translateX(4px);
}

.btn:active {
	transform: scale(.97);
}

.btn--primary,
.btn--cv {
	background: var(--gt-gradient);
	color: var(--gt-on-accent);
	box-shadow: 0 6px 24px var(--gt-glow);
}

.btn--primary:hover,
.btn--cv:hover {
	color: var(--gt-on-accent);
	transform: translateY(-2px);
	box-shadow: 0 10px 34px var(--gt-glow);
}

/* The light sweep across a gradient button. */
.btn--primary::after,
.btn--cv::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 -60%;
	width: 45%;
	z-index: -1;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
	transform: skewX(-20deg);
	pointer-events: none;
}

.btn--primary:hover::after,
.btn--cv:hover::after {
	animation: gt-shine .75s var(--gt-ease);
}

.btn--ghost {
	border-color: var(--gt-border-strong);
	background: rgba(255, 255, 255, .03);
	color: var(--gt-text);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
	border-color: var(--gt-accent);
	background: var(--gt-accent-soft);
	color: #fff;
}

.btn--small {
	padding: .55rem 1rem;
	font-size: .85rem;
}

.btn--large {
	padding: 1rem 1.8rem;
	font-size: .95rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/*
 * Download CV: the clipped corner, a shimmer that passes by on its own every
 * few seconds, and the arrow dropping into the tray on hover.
 */
.btn--cv {
	padding: .95rem 1.6rem;
	border-radius: 60px 0 60px 60px;
}

.btn--cv::after {
	animation: gt-idle-shine 5s var(--gt-ease) 1.5s infinite;
}

.btn--cv:hover .ui-icon,
.text-link--cv:hover .ui-icon {
	transform: none;
	animation: gt-drop .7s var(--gt-ease);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: var(--gt-text);
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	background: linear-gradient(var(--gt-accent-2), var(--gt-accent-2)) 0 100% / 0 1px no-repeat;
	transition: background-size .35s var(--gt-ease), color .2s;
}

.text-link:hover {
	color: #fff;
	background-size: 100% 1px;
}

.text-link:hover .ui-icon {
	transform: translateX(4px);
}

.text-link--small {
	font-size: .85rem;
	font-weight: 500;
	color: var(--gt-muted);
}

.text-link--cv {
	color: var(--gt-muted);
}

.text-link--cv .ui-icon {
	width: 1.15em;
	height: 1.15em;
	color: var(--gt-accent-2);
}

.chip {
	display: inline-block;
	padding: .2rem .65rem;
	border: 1px solid var(--gt-border-strong);
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 500;
	color: var(--gt-muted);
	text-decoration: none;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .75rem;
	font-weight: 600;
	color: var(--gt-success);
}

.status__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 0 currentColor;
	animation: gt-pulse 2.2s ease-out infinite;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--gt-header-h);
	background: rgba(7, 5, 13, .72);
	border-bottom: 1px solid var(--gt-border);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 100%;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: .65rem;
	min-width: 0;
}

.site-branding__logo img {
	width: auto;
	max-height: 38px;
}

.site-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -.02em;
	white-space: nowrap;
}

.site-title a {
	color: #fff;
	text-decoration: none;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--gt-border-strong);
	border-radius: 12px;
	background: transparent;
	color: var(--gt-text);
	cursor: pointer;
}

.menu-toggle__bars {
	display: grid;
	gap: 5px;
}

.menu-toggle__bars span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .35s var(--gt-ease), opacity .2s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.main-navigation {
	position: fixed;
	inset: var(--gt-header-h) 0 auto;
	display: none;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem 16px 1.75rem;
	background: rgba(7, 5, 13, .97);
	border-bottom: 1px solid var(--gt-border);
}

.admin-bar .main-navigation {
	top: calc(var(--gt-header-h) + var(--wp-admin--admin-bar--height, 0px));
}

.main-navigation.is-open,
.no-js .main-navigation:target {
	display: flex;
	animation: gt-fade-down .3s var(--gt-ease);
}

.main-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation .menu > li > a {
	display: block;
	padding: .65rem 0;
	color: var(--gt-text);
	font-size: 1.05rem;
	font-weight: 500;
	text-decoration: none;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation a:hover {
	color: #fff;
}

.main-navigation .sub-menu a {
	display: block;
	padding: .35rem 0 .35rem 1rem;
	color: var(--gt-muted);
	text-decoration: none;
}

.main-navigation__cta {
	align-self: flex-start;
}

@media (min-width: 900px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation {
		position: static;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 1.75rem;
		padding: 0;
		background: none;
		border: 0;
	}

	.main-navigation .menu {
		display: flex;
		gap: 1.75rem;
	}

	.main-navigation .menu > li {
		position: relative;
	}

	.main-navigation .menu > li > a {
		position: relative;
		padding: .4rem 0;
		font-size: .92rem;
		color: var(--gt-muted);
	}

	.main-navigation .menu > li > a::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 2px;
		border-radius: 2px;
		background: var(--gt-gradient);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .35s var(--gt-ease);
	}

	.main-navigation .menu > li > a:hover::after,
	.main-navigation .current-menu-item > a::after,
	.main-navigation .current_page_item > a::after {
		transform: scaleX(1);
	}

	.main-navigation .sub-menu {
		position: absolute;
		top: 100%;
		left: -1rem;
		min-width: 200px;
		padding: .5rem 1rem;
		background: var(--gt-surface);
		border: 1px solid var(--gt-border);
		border-radius: var(--gt-radius-sm);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}

	.main-navigation li:hover > .sub-menu,
	.main-navigation li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	overflow: hidden;
	padding-top: 2.5rem;
	isolation: isolate;
}

.hero__glow {
	position: absolute;
	inset: -10% -20% 0;
	z-index: -1;
	background:
		radial-gradient(40% 45% at 50% 62%, var(--gt-glow), transparent 70%),
		radial-gradient(30% 35% at 20% 30%, rgba(34, 211, 238, .12), transparent 70%),
		radial-gradient(30% 35% at 80% 25%, rgba(139, 92, 246, .14), transparent 70%);
	pointer-events: none;
}

/* A faint grid, fading out towards the edges. */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
	pointer-events: none;
}

.hero__headline {
	position: relative;
	z-index: 3;
	text-align: center;
}

.hero__greeting {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1rem;
	padding: .35rem .95rem;
	border: 1px solid var(--gt-border-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, .03);
	font-size: .9rem;
	color: var(--gt-muted);
}

.hero__title {
	max-width: 15ch;
	margin: 0 auto;
	font-size: clamp(2.3rem, 7.4vw, 5rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.035em;
}

.rotator {
	display: inline-grid;
	justify-items: center;
	vertical-align: bottom;
	white-space: nowrap;
}

/* Once JS sets the width, the column follows it; otherwise the column stays
   as wide as the longest word and every shorter one sits off-centre. */
.rotator.is-sized {
	grid-template-columns: minmax(0, 1fr);
	transition: width .8s var(--gt-ease);
}

.rotator__word {
	width: max-content;
}

.rotator__word {
	grid-area: 1 / 1;
	background: var(--gt-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--gt-accent-2);
	padding-bottom: .06em;
	opacity: 0;
	filter: blur(10px);
	transform: scale(1.25);
	transition: opacity .8s var(--gt-ease), transform .8s var(--gt-ease), filter .8s var(--gt-ease);
}

.rotator__word.is-active {
	opacity: 1;
	filter: blur(0);
	transform: none;
}

.rotator__word.is-leaving {
	opacity: 0;
	filter: blur(10px);
	transform: scale(.8);
}

.hero__visual {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-top: 1.5rem;
}

/*
 * The photo: a transparent cut-out, faded into the page at its base, with a
 * traced outline that draws itself around the silhouette (main.js builds the
 * outline from the photo's transparency) and fine scan lines clipped to it.
 */
.avatar {
	position: relative;
	width: min(80vw, 560px);
	-webkit-user-select: none;
	user-select: none;
}

.avatar__photo {
	position: relative;
	z-index: 2;
	width: 100%;
	filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .5));
	-webkit-mask-image: linear-gradient(#000 60%, transparent 94%);
	mask-image: linear-gradient(#000 60%, transparent 94%);
}

.avatar__outline {
	position: absolute;
	z-index: 1;
	max-width: none;
	pointer-events: none;
	-webkit-mask-image: conic-gradient(from 200deg at 50% 45%, #000 var(--gt-angle), transparent var(--gt-angle)), linear-gradient(#000 58%, transparent 92%);
	-webkit-mask-composite: source-in;
	mask-image: conic-gradient(from 200deg at 50% 45%, #000 var(--gt-angle), transparent var(--gt-angle)), linear-gradient(#000 58%, transparent 92%);
	mask-composite: intersect;
	filter: drop-shadow(0 0 12px var(--gt-glow));
}

.avatar.is-drawn .avatar__outline {
	animation: gt-draw 1.8s var(--gt-ease) forwards;
}

.avatar__scan {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	opacity: .4;
	background:
		linear-gradient(transparent 0, rgba(103, 232, 249, .2) 50%, transparent 100%) 0 -30% / 100% 30% no-repeat,
		repeating-linear-gradient(rgba(7, 5, 13, .16) 0 1px, transparent 1px 4px);
	-webkit-mask-image: var(--photo);
	-webkit-mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-image: var(--photo);
	mask-size: 100% 100%;
	mask-repeat: no-repeat;
	animation: gt-scan 4.5s var(--gt-ease) 1.2s infinite;
}

.sticker {
	position: relative;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
	margin-bottom: 9rem;
	border: 1px solid var(--gt-border-strong);
	border-radius: 28px;
	background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
	box-shadow: 0 20px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	animation: gt-peel-in 1.1s var(--gt-ease) .5s both, gt-float 6s ease-in-out 1.6s infinite;
	transform-style: preserve-3d;
}

.sticker--left {
	--gt-tilt: -12deg;
	margin-right: -3rem;
	transform: rotate(var(--gt-tilt));
}

.sticker--right {
	--gt-tilt: 10deg;
	margin-left: -3rem;
	margin-bottom: 14rem;
	transform: rotate(var(--gt-tilt));
	animation-delay: .75s, 2.4s;
}

/* The shiny edge of a sticker catching the light. */
.sticker::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .25) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
	animation: gt-glint 6s var(--gt-ease) 2s infinite;
}

@media (min-width: 720px) {
	.sticker {
		display: inline-flex;
	}
}

.hero__bottom {
	position: relative;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: -2.5rem;
	padding-bottom: 2.5rem;
}

.hero__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .9rem;
	max-width: 360px;
}

.hero__tagline {
	margin: 0;
	color: var(--gt-muted);
	font-size: .95rem;
	text-shadow: 0 1px 12px var(--gt-bg), 0 0 2px var(--gt-bg);
}

.hero__cta {
	align-self: flex-start;
}

@media (min-width: 720px) {
	.hero {
		padding-top: 4rem;
	}

	.hero__title {
		max-width: 21ch;
	}

	.hero__bottom {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		margin-top: -9rem;
	}

	.hero__cta {
		align-self: auto;
	}
}

/* ---------- Tools strip ---------- */

.tools {
	overflow: hidden;
	border-block: 1px solid var(--gt-border);
	background: var(--gt-bg-2);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.tools__track {
	display: flex;
	width: max-content;
	animation: gt-marquee 45s linear infinite;
}

.tools:hover .tools__track {
	animation-play-state: paused;
}

.tools__list {
	display: flex;
	gap: 2.75rem;
	margin: 0;
	padding: 1.35rem 1.375rem;
	list-style: none;
}

.tools__item {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	color: var(--gt-muted);
	font-size: .9rem;
	font-weight: 500;
	white-space: nowrap;
}

.tools__item .tool-icon {
	filter: grayscale(.2);
	transition: transform .3s var(--gt-ease);
}

.tools__item:hover .tool-icon {
	transform: scale(1.15) rotate(-6deg);
}

/* ---------- Sections ---------- */

.section {
	padding: 4.5rem 0;
}

.section--alt {
	background: linear-gradient(180deg, var(--gt-bg-2), var(--gt-bg));
	border-top: 1px solid var(--gt-border);
}

.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2.25rem;
}

.section__title {
	margin: 0;
	font-size: clamp(1.75rem, 4.5vw, 2.75rem);
	letter-spacing: -.03em;
}

.section__lede {
	color: var(--gt-muted);
}

@media (min-width: 900px) {
	.section {
		padding: 6.5rem 0;
	}
}

/* ---------- Projects ---------- */

.project-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 720px) {
	.project-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
}

.project-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius);
	background: var(--gt-surface);
	overflow: hidden;
	transition: border-color .35s var(--gt-ease), transform .35s var(--gt-ease), box-shadow .35s var(--gt-ease);
}

.project-card:hover {
	border-color: var(--gt-border-strong);
	transform: translateY(-4px);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .4), 0 0 0 1px var(--gt-accent-soft);
}

.project-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	margin: .65rem .65rem 0;
	border-radius: calc(var(--gt-radius) - 6px);
	background: var(--gt-surface-2);
	overflow: hidden;
}

.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	transition: transform .7s var(--gt-ease);
}

.project-card:hover .project-card__media img {
	transform: scale(1.04);
}

.project-card__media::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 -80%;
	width: 50%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
	transform: skewX(-20deg);
	pointer-events: none;
}

.project-card:hover .project-card__media::after {
	animation: gt-shine-wide .9s var(--gt-ease);
}

.project-card__visit {
	position: absolute;
	left: 50%;
	top: 50%;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .6rem 1.1rem;
	border-radius: 999px;
	background: rgba(7, 5, 13, .82);
	color: #fff;
	font-size: .85rem;
	font-weight: 600;
	opacity: 0;
	transform: translate(-50%, -40%);
	transition: opacity .3s var(--gt-ease), transform .3s var(--gt-ease);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.project-card:hover .project-card__visit {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.project-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: .65rem;
	padding: 1.25rem 1.35rem 1.5rem;
}

.project-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
}

.project-card__title {
	margin: 0;
	font-size: 1.35rem;
}

.project-card__title a {
	color: #fff;
	text-decoration: none;
}

.project-card__title a:hover {
	color: var(--gt-link);
}

.project-card__role {
	margin: -.35rem 0 0;
	color: var(--gt-accent-2);
	font-size: .82rem;
	font-weight: 600;
}

.project-card__text {
	margin: 0;
	color: var(--gt-muted);
	font-size: .93rem;
}

.stack {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin: .2rem 0 0;
	padding: 0;
	list-style: none;
}

.stack li {
	padding: .15rem .55rem;
	border-radius: 6px;
	background: var(--gt-accent-soft);
	color: #d9ccff;
	font-size: .75rem;
	font-weight: 500;
}

.project-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 1.25rem 0 1.5rem;
}

.project-facts dt {
	color: var(--gt-muted);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.project-facts dd {
	margin: 0;
	font-weight: 600;
}

/* ---------- What I do ---------- */

.service-grid {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.service-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.service-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.service {
	position: relative;
	padding: 1.5rem;
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius);
	background: var(--gt-surface);
	overflow: hidden;
	transition: border-color .35s var(--gt-ease), transform .35s var(--gt-ease);
	transition-delay: calc(var(--i, 0) * 70ms);
}

.service::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: var(--gt-gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s var(--gt-ease);
}

.service:hover {
	border-color: var(--gt-border-strong);
	transform: translateY(-3px);
}

.service:hover::before {
	transform: scaleX(1);
}

.service__index {
	display: block;
	margin-bottom: 1.25rem;
	font-size: .8rem;
	font-weight: 600;
	color: var(--gt-accent-2);
	letter-spacing: .1em;
}

.service__title {
	font-size: 1.15rem;
}

.service__text {
	margin: 0;
	color: var(--gt-muted);
	font-size: .9rem;
}

/* ---------- Experience ---------- */

.experience {
	display: grid;
	gap: 2rem;
}

.experience__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .5rem;
}

@media (min-width: 900px) {
	.experience {
		grid-template-columns: 1fr 1.6fr;
		gap: 4rem;
	}

	.experience__intro {
		position: sticky;
		top: var(--gt-sticky-top);
		align-self: start;
	}

	.timeline__more {
		grid-column: 2;
	}
}

.timeline {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.timeline__item {
	display: grid;
	gap: .25rem 1.5rem;
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--gt-border);
}

@media (min-width: 560px) {
	.timeline__item {
		grid-template-columns: 9.5rem 1fr;
		align-items: baseline;
	}
}

.timeline__years {
	color: var(--gt-accent-2);
	font-size: .85rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.timeline__role {
	margin: 0;
	font-size: 1.1rem;
}

.timeline__company {
	margin: .1rem 0 0;
	color: var(--gt-muted);
	font-size: .92rem;
}

.js .timeline:not(.is-expanded) .is-extra {
	display: none;
}

.no-js .timeline__more {
	display: none;
}

.timeline__more {
	justify-self: start;
	margin-top: 1.5rem;
}

/* ---------- Contact call to action ---------- */

.cta {
	position: relative;
	overflow: hidden;
	text-align: center;
	border-top: 1px solid var(--gt-border);
}

.cta::before {
	content: "";
	position: absolute;
	inset: 20% -10% -40%;
	z-index: -1;
	background: radial-gradient(45% 55% at 50% 50%, var(--gt-glow), transparent 70%);
}

.cta__title {
	max-width: 18ch;
	margin: 0 auto 2rem;
	font-size: clamp(2rem, 6vw, 3.75rem);
	letter-spacing: -.035em;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

/* ---------- Blog layout ---------- */

.site-main {
	min-height: 50vh;
}

.content-layout {
	display: grid;
	gap: 2.5rem;
	padding-top: 2rem;
	padding-bottom: 4rem;
}

@media (min-width: 1024px) {
	body:not(.no-sidebar) .content-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 3.5rem;
	}
}

.no-sidebar .content-layout__main {
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
}

.blog .no-sidebar .content-layout__main,
.archive.no-sidebar .content-layout__main,
.search.no-sidebar .content-layout__main {
	max-width: none;
}

.page-header {
	padding: 2rem 0 1.5rem;
}

.page-title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.25rem);
	letter-spacing: -.03em;
}

.page-header__lede,
.archive-description {
	max-width: 60ch;
	margin-top: .75rem;
	color: var(--gt-muted);
}

.page-header__search {
	max-width: 480px;
	margin-top: 1.25rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	font-size: .8rem;
	color: var(--gt-muted);
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: .35rem;
	opacity: .5;
}

.breadcrumbs a {
	color: var(--gt-muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: #fff;
}

.breadcrumbs [aria-current] {
	display: inline-block;
	max-width: 40ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

/* ---------- Post cards ---------- */

.post-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.no-sidebar .post-grid,
	.post-grid--three {
		grid-template-columns: repeat(3, 1fr);
	}
}

.post-grid > .ad-slot {
	grid-column: 1 / -1;
}

.post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius);
	background: var(--gt-surface);
	overflow: hidden;
	transition: border-color .3s var(--gt-ease), transform .3s var(--gt-ease);
}

.post-card:hover {
	border-color: var(--gt-border-strong);
	transform: translateY(-3px);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--gt-surface-2);
	overflow: hidden;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--gt-ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.04);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: .5rem;
	padding: 1.15rem 1.25rem 1.3rem;
}

.post-card__category {
	align-self: flex-start;
	color: var(--gt-accent-2);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.post-card__title {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.35;
}

.post-card__title a {
	color: #fff;
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--gt-link);
}

.post-card__excerpt {
	margin: 0;
	color: var(--gt-muted);
	font-size: .88rem;
}

.post-card__meta {
	margin-top: auto;
	padding-top: .35rem;
	color: var(--gt-muted);
	font-size: .78rem;
}

.post-card__meta .byline {
	margin-left: .5rem;
}

/* ---------- Single post / page ---------- */

.entry-header {
	padding: 1.5rem 0 1.25rem;
}

.entry-title {
	font-size: clamp(1.9rem, 4.6vw, 3rem);
	letter-spacing: -.03em;
}

.entry-lede {
	color: var(--gt-muted);
	font-size: 1.1rem;
}

.entry-meta {
	color: var(--gt-muted);
	font-size: .85rem;
}

.entry-meta .byline {
	margin-left: .65rem;
}

.entry-thumbnail {
	margin: 0 0 2rem;
	border-radius: var(--gt-radius);
	overflow: hidden;
	background: var(--gt-surface);
}

.entry-thumbnail img {
	width: 100%;
}

.entry-thumbnail--framed {
	padding: .65rem;
	border: 1px solid var(--gt-border);
}

.entry-thumbnail--framed img {
	border-radius: calc(var(--gt-radius) - 6px);
}

.entry-content {
	font-size: 1.05rem;
	line-height: 1.8;
	overflow-wrap: break-word;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content h2 {
	margin-top: 2.2em;
	font-size: 1.6rem;
}

.entry-content h3 {
	margin-top: 1.8em;
	font-size: 1.3rem;
}

.entry-content img {
	height: auto;
	border-radius: var(--gt-radius-sm);
}

.entry-content figure {
	margin: 2rem 0;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	margin-top: .5rem;
	color: var(--gt-muted);
	font-size: .82rem;
	text-align: center;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4rem;
}

.entry-content li {
	margin-bottom: .4em;
}

.entry-content li::marker {
	color: var(--gt-accent-2);
}

.entry-content blockquote {
	margin: 2rem 0;
	padding: .5rem 0 .5rem 1.25rem;
	border-left: 3px solid var(--gt-accent);
	color: var(--gt-text);
	font-style: italic;
}

.entry-content code {
	padding: .1em .35em;
	border-radius: 5px;
	background: var(--gt-surface-2);
	font-size: .9em;
}

.entry-content pre {
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-sm);
	background: var(--gt-bg-2);
	overflow-x: auto;
	font-size: .9rem;
}

.entry-content pre code {
	padding: 0;
	background: none;
}

.entry-content table {
	width: 100%;
	margin: 1.5rem 0;
	border-collapse: collapse;
	font-size: .92rem;
	display: block;
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	padding: .6rem .75rem;
	border: 1px solid var(--gt-border-strong);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--gt-surface);
	color: #fff;
}

.entry-content hr {
	margin: 2.5rem 0;
	border: 0;
	border-top: 1px solid var(--gt-border);
}

.entry-content iframe,
.entry-content video {
	width: 100%;
	border-radius: var(--gt-radius-sm);
}

.entry-content .wp-block-button__link {
	border-radius: 999px;
	background: var(--gt-gradient);
	color: #fff;
}

.page-links {
	margin-top: 2rem;
}

.entry-footer {
	margin-top: 2rem;
}

.tag-links a {
	display: inline-block;
	margin: 0 .4rem .4rem 0;
	padding: .2rem .7rem;
	border: 1px solid var(--gt-border-strong);
	border-radius: 999px;
	color: var(--gt-muted);
	font-size: .8rem;
	text-decoration: none;
}

.tag-links a:hover {
	border-color: var(--gt-accent);
	color: #fff;
}

.post-navigation {
	display: grid;
	gap: 1rem;
	margin: 3rem 0;
}

@media (min-width: 640px) {
	.post-navigation {
		grid-template-columns: 1fr 1fr;
	}

	.nav-next {
		text-align: right;
	}
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 1rem 1.15rem;
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-sm);
	background: var(--gt-surface);
	color: #fff;
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	transition: border-color .3s;
}

.post-navigation a:hover {
	border-color: var(--gt-accent);
}

.post-navigation a span {
	display: block;
	margin-bottom: .2rem;
	color: var(--gt-muted);
	font-size: .75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.related-posts {
	margin: 3rem 0;
}

.related-posts .section-heading {
	margin-bottom: 1.25rem;
	font-size: 1.4rem;
}

/* ---------- Sidebar and widgets ---------- */

.widget-area {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.widget-area {
		position: sticky;
		top: var(--gt-sticky-top);
		align-self: start;
		padding-top: 2rem;
	}
}

.widget {
	padding: 1.25rem;
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius);
	background: var(--gt-surface);
	font-size: .92rem;
}

.widget-title {
	margin-bottom: .85rem;
	font-size: 1rem;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: .4rem 0;
	border-bottom: 1px solid var(--gt-border);
}

.widget li:last-child {
	border-bottom: 0;
}

.widget a {
	color: var(--gt-text);
	text-decoration: none;
}

.widget a:hover {
	color: var(--gt-link);
}

/* ---------- Search, pagination, comments ---------- */

.search-form {
	display: flex;
	gap: .5rem;
}

.search-form__field {
	flex: 1;
	min-width: 0;
	padding: .7rem 1rem;
	border: 1px solid var(--gt-border-strong);
	border-radius: 999px;
	background: var(--gt-surface);
	color: var(--gt-text);
	font: inherit;
	font-size: .92rem;
}

.search-form__field:focus {
	border-color: var(--gt-accent);
	outline: none;
	box-shadow: 0 0 0 3px var(--gt-accent-soft);
}

.search-form__submit {
	padding: .7rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: var(--gt-gradient);
	color: #fff;
	font: inherit;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
}

.giftechs-pagination {
	margin-top: 3rem;
}

.giftechs-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.giftechs-pagination a,
.giftechs-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 .9rem;
	border: 1px solid var(--gt-border);
	border-radius: 999px;
	color: var(--gt-text);
	font-size: .9rem;
	text-decoration: none;
}

.giftechs-pagination a:hover {
	border-color: var(--gt-accent);
}

.giftechs-pagination .current {
	border-color: transparent;
	background: var(--gt-gradient);
	color: #fff;
}

.comments-area {
	margin: 3rem 0;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	list-style: none;
	padding-left: 1.25rem;
}

.comment-body {
	padding: 1rem 0;
	border-bottom: 1px solid var(--gt-border);
}

.comment-author img {
	display: inline-block;
	vertical-align: middle;
	margin-right: .5rem;
	border-radius: 50%;
}

.comment-metadata {
	font-size: .8rem;
}

.comment-metadata a {
	color: var(--gt-muted);
}

.comment-form label {
	display: block;
	margin-bottom: .3rem;
	font-size: .88rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .7rem .9rem;
	border: 1px solid var(--gt-border-strong);
	border-radius: var(--gt-radius-sm);
	background: var(--gt-surface);
	color: var(--gt-text);
	font: inherit;
}

.comment-form .button,
.comment-form input[type="submit"] {
	padding: .75rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--gt-gradient);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* ---------- Empty states ---------- */

.empty-state {
	padding: 2rem 0;
}

.empty-state--page {
	padding: 4rem 0 5rem;
	text-align: center;
}

.empty-state--page .search-form {
	max-width: 440px;
	margin: 1.5rem auto;
}

.empty-state__code {
	margin: 0;
	font-size: clamp(4rem, 16vw, 8rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.05em;
}

.empty-state__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
}

/* ---------- Ads ---------- */

.ad-slot {
	margin: 1.5rem auto;
	text-align: center;
	overflow: hidden;
}

.ad-slot__label {
	display: block;
	margin-bottom: .3rem;
	color: var(--gt-muted);
	font-size: .65rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ad-slot__inner {
	display: flex;
	justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
	padding: 3.5rem 0 2rem;
	border-top: 1px solid var(--gt-border);
	background: var(--gt-bg-2);
	font-size: .9rem;
}

.footer-grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 640px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.4fr repeat(3, 1fr);
	}
}

.footer-brand__name {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.footer-brand__role {
	color: var(--gt-muted);
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--gt-border-strong);
	border-radius: 50%;
	color: var(--gt-text);
	font-size: 1.1rem;
	transition: border-color .3s, color .3s, transform .3s var(--gt-ease);
}

.social-links a:hover {
	border-color: var(--gt-accent);
	color: #fff;
	transform: translateY(-2px);
}

.footer-heading {
	margin-bottom: .85rem;
	color: var(--gt-muted);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links li {
	padding: .25rem 0;
}

.footer-links a {
	display: inline-block;
	padding: .2rem 0;
	color: var(--gt-text);
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--gt-link);
}

.footer-widgets {
	display: grid;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.site-info {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gt-border);
	color: var(--gt-muted);
	font-size: .8rem;
}

.site-info p {
	margin: 0 0 .35rem;
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s var(--gt-ease), transform .8s var(--gt-ease);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Keyframes ---------- */

@keyframes gt-shine {
	from { left: -60%; }
	to { left: 140%; }
}

@keyframes gt-idle-shine {
	0% { left: -60%; }
	22%, 100% { left: 140%; }
}

@keyframes gt-shine-wide {
	from { left: -80%; }
	to { left: 160%; }
}

@keyframes gt-drop {
	0% { transform: translateY(0); }
	40% { transform: translateY(4px); }
	70% { transform: translateY(-2px); }
	100% { transform: translateY(0); }
}

@keyframes gt-draw {
	to { --gt-angle: 360deg; }
}

@keyframes gt-scan {
	0% { background-position: 0 -30%, 0 0; }
	55%, 100% { background-position: 0 130%, 0 0; }
}

@keyframes gt-peel-in {
	from {
		opacity: 0;
		transform: perspective(600px) rotate(var(--gt-tilt)) rotateY(-75deg) rotateX(20deg) scale(.6);
	}
	to {
		opacity: 1;
		transform: perspective(600px) rotate(var(--gt-tilt));
	}
}

@keyframes gt-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -14px; }
}

@keyframes gt-glint {
	0% { background-position: -150% 0; }
	25%, 100% { background-position: 250% 0; }
}

@keyframes gt-marquee {
	to { transform: translateX(-50%); }
}

@keyframes gt-pulse {
	0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
	70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
	100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes gt-fade-down {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.tools__track {
		width: auto;
		animation: none;
	}

	.tools__list {
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem 2rem;
	}

	.tools__list[aria-hidden="true"] {
		display: none;
	}

	.avatar__outline {
		--gt-angle: 360deg;
	}

	.avatar__scan,
	.btn--cv::after,
	.sticker::after {
		display: none;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}
