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

:root {
	--ink: #0c0c0a;
	--paper: #f0ede6;
	--red: #d63a2a;
	--gold: #c9a84c;
	--fd: 'Bebas Neue', sans-serif;
	--fs: 'DM Serif Display', serif;
	--fm: 'DM Mono', monospace;
}

html {
	overflow-x: hidden
}

body {
	background: var(--ink);
	color: var(--paper);
	font-family: var(--fm);
	overflow-x: hidden;
	cursor: none
}

#cursor {
	position: fixed;
	z-index: 9999;
	pointer-events: none;
	width: 12px;
	height: 12px;
	background: var(--paper);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width .25s, height .25s, border-radius .25s;
	mix-blend-mode: difference
}

#cursor.big {
	width: 64px;
	height: 64px
}

#loader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 24px
}

#lc {
	font-family: var(--fd);
	font-size: clamp(80px, 15vw, 180px);
	color: var(--paper);
	line-height: 1;
	letter-spacing: -2px
}

#lb {
	width: 200px;
	height: 1px;
	background: rgba(255, 255, 255, .1);
	position: relative;
	overflow: hidden
}

#lb::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0;
	background: var(--paper);
	transition: width 1.8s cubic-bezier(.16, 1, .3, 1)
}

#lb.go::after {
	width: 100%
}

#lt {
	font-size: 10px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .3)
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 28px 40px;
	mix-blend-mode: difference
}

.nlogo {
	font-family: var(--fd);
	font-size: 32px;
	color: var(--paper);
	letter-spacing: 2px;
	text-decoration: none
}

.nlinks {
	display: flex;
	gap: 40px;
	align-items: center;
	padding-top: 6px
}

.nlink {
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
	text-decoration: none;
	position: relative;
	transition: color .3s;
	cursor: none
}

.nlink::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--paper);
	transition: width .3s cubic-bezier(.16, 1, .3, 1)
}

.nlink:hover {
	color: var(--paper)
}

.nlink:hover::after {
	width: 100%
}

.hbg {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 4px;
	background: none;
	border: none;
	z-index: 1100
}

.hbg span {
	display: block;
	width: 24px;
	height: 1.5px;
	background: var(--paper);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .2s;
	transform-origin: center
}

.hbg.open span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg)
}

.hbg.open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0)
}

.hbg.open span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg)
}

.mmenu {
	position: fixed;
	inset: 0;
	z-index: 1050;
	background: var(--ink);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s ease;
	display: none
}

.mmenu.open {
	opacity: 1;
	pointer-events: auto
}

.mlink {
	font-family: var(--fd);
	font-size: clamp(52px, 12vw, 80px);
	letter-spacing: -1px;
	color: rgba(240, 237, 230, .22);
	text-decoration: none;
	line-height: 1.1;
	transition: color .2s;
	display: block;
	text-align: center;
	width: 100%;
	padding: 12px 40px
}

.mlink:hover {
	color: var(--paper)
}

.mbot {
	position: absolute;
	bottom: 40px;
	left: 40px;
	right: 40px;
	display: flex;
	justify-content: space-between
}

.mtag {
	font-size: 10px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(240, 237, 230, .2)
}

#hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0 40px 60px;
	position: relative;
	overflow: hidden
}

.hnoise {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: .4;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	background-size: 200px
}

.hgrid {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(240, 237, 230, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 237, 230, .03) 1px, transparent 1px);
	background-size: 80px 80px
}

.heyebrow {
	position: absolute;
	top: 120px;
	left: 40px;
	right: 40px;
	display: flex;
	justify-content: flex-end;
	z-index: 1
}

.hbadge {
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--red);
	border: 1px solid var(--red);
	padding: 6px 14px;
	display: flex;
	align-items: center;
	gap: 8px
}

.hbadge::before {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--red);
	border-radius: 50%;
	animation: blink 1.4s infinite
}

@keyframes blink {

	0%,
	100% {
		opacity: 1
	}

	50% {
		opacity: 0
	}
}

.htitle-wrap {
	position: relative;
	z-index: 1
}

.htitle {
	font-family: var(--fd);
	font-size: clamp(100px, 17vw, 240px);
	line-height: .88;
	letter-spacing: -2px;
	color: var(--paper)
}

.htitle .line {
	overflow: hidden;
	display: block
}

.htitle .li {
	display: block
}

.htitle .ao {
	color: transparent;
	-webkit-text-stroke: 3px var(--paper)
}

.hsub {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 32px;
	position: relative;
	z-index: 1
}

.hdesc {
	max-width: 380px;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(240, 237, 230, .5);
	letter-spacing: .3px
}

.hdesc em {
	color: var(--paper);
	font-style: normal
}

.hscroll {
	font-size: 10px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(240, 237, 230, .3);
	display: flex;
	align-items: center;
	gap: 12px
}

.hscroll::before {
	content: '';
	display: block;
	width: 40px;
	height: 1px;
	background: currentColor;
	animation: sl 2s ease-in-out infinite
}

@keyframes sl {

	0%,
	100% {
		width: 40px;
		opacity: .3
	}

	50% {
		width: 70px;
		opacity: .8
	}
}

.mwrap {
	width: 100%;
	overflow: hidden;
	border-top: 1px solid rgba(240, 237, 230, .08);
	border-bottom: 1px solid rgba(240, 237, 230, .08);
	padding: 14px 0;
	background: rgba(240, 237, 230, .02);
	position: relative;
	z-index: 1;
	margin-bottom: 48px
}

.mwrap.dk {
	background: rgba(240, 237, 230, .96);
	border-color: rgba(12, 12, 10, .12)
}

.mtrack {
	display: flex;
	white-space: nowrap;
	will-change: transform
}

.mi {
	font-family: var(--fd);
	font-size: 15px;
	letter-spacing: 6px;
	color: rgba(240, 237, 230, .25);
	padding: 0 40px;
	flex-shrink: 0
}

.mi span {
	color: var(--red)
}

.mwrap.dk .mi {
	color: rgba(12, 12, 10, .25)
}

.mwrap.dk .mi span {
	color: var(--red)
}

.sdiv {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 0 40px
}

.snum {
	font-size: 10px;
	letter-spacing: 2px;
	color: var(--red);
	font-family: var(--fm)
}

.sline {
	flex: 1;
	height: 1px;
	background: rgba(240, 237, 230, .12)
}

.slbl {
	font-size: 10px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: rgba(240, 237, 230, .25)
}

#about {
	padding: 100px 40px
}

.alayout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
	max-width: 1200px
}

.albl {
	font-size: 10px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	gap: 12px
}

.albl::before {
	content: '';
	display: block;
	width: 20px;
	height: 1px;
	background: var(--red)
}

.ahead {
	font-family: var(--fs);
	font-size: clamp(36px, 4vw, 60px);
	line-height: 1.15;
	color: var(--paper);
	margin-bottom: 32px
}

.ahead em {
	font-style: italic;
	color: var(--gold)
}

.abody {
	font-size: 14px;
	line-height: 2;
	color: rgba(240, 237, 230, .55);
	max-width: 500px
}

.abody strong {
	color: var(--paper);
	font-weight: 500
}

.aright {
	padding-top: 60px
}

.titem {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 20px;
	padding: 28px 0;
	border-bottom: 1px solid rgba(240, 237, 230, .07)
}

.titem:first-child {
	border-top: 1px solid rgba(240, 237, 230, .07)
}

.tyr {
	font-family: var(--fd);
	font-size: 13px;
	letter-spacing: 2px;
	color: rgba(240, 237, 230, .25);
	padding-top: 3px
}

.ttl {
	font-size: 15px;
	font-weight: 500;
	color: var(--paper);
	margin-bottom: 6px;
	letter-spacing: .3px
}

.tdt {
	font-size: 12px;
	color: rgba(240, 237, 230, .4);
	line-height: 1.6;
	letter-spacing: .2px
}

.srow {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid rgba(240, 237, 230, .1);
	border-bottom: 1px solid rgba(240, 237, 230, .1)
}

.scell {
	padding: 48px 40px;
	border-right: 1px solid rgba(240, 237, 230, .1);
	position: relative;
	overflow: hidden
}

.scell:last-child {
	border-right: none
}

.sanim {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .65s ease, transform .65s ease
}

.sanim.on {
	opacity: 1;
	transform: translateY(0)
}

.sn {
	font-family: var(--fd);
	font-size: clamp(64px, 7vw, 96px);
	line-height: 1;
	color: var(--paper);
	letter-spacing: -2px;
	margin-bottom: 8px
}

.sn sup {
	font-family: var(--fm);
	font-size: 20px;
	vertical-align: super;
	color: var(--red)
}

.sinf {
	display: flex;
	align-items: center;
	margin-bottom: 8px
}

.sinf svg {
	width: clamp(56px, 7vw, 88px);
	height: auto;
	color: var(--paper);
	stroke: var(--paper);
	stroke-width: 1.5
}

.slb {
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(240, 237, 230, .35)
}

.sds {
	font-size: 12px;
	color: rgba(240, 237, 230, .25);
	margin-top: 8px;
	line-height: 1.6
}

#testimonials {
	padding: 100px 40px
}

.sheader {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 64px
}

.stitle {
	font-family: var(--fd);
	font-size: clamp(64px, 9vw, 120px);
	line-height: .9;
	letter-spacing: -2px;
	color: var(--paper)
}

.stitle em {
	display: block;
	color: transparent;
	-webkit-text-stroke: 1px rgba(240, 237, 230, .3);
	font-style: normal
}

.seye {
	font-size: 10px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: rgba(240, 237, 230, .3);
	text-align: right;
	padding-bottom: 4px
}

.cgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 1px;
	background: rgba(240, 237, 230, .08);
	border: 1px solid rgba(240, 237, 230, .08)
}

.card {
	background: var(--ink);
	padding: 48px;
	position: relative;
	overflow: hidden;
	cursor: none;
	transition: background .4s
}

.card:hover {
	background: #161612
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--red), transparent);
	transform: translateX(-100%);
	transition: transform 0s
}

.card:hover::before {
	transform: translateX(0);
	transition: transform .6s cubic-bezier(.16, 1, .3, 1)
}

.card.wide {
	grid-column: 1/3
}

.card.tall {
	padding: 64px 48px
}

.ctag {
	font-size: 9px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 10px
}

.ctag::before {
	content: attr(data-n);
	font-family: var(--fd);
	font-size: 16px;
	color: rgba(240, 237, 230, .15);
	letter-spacing: 0
}

.cpers {
	font-family: var(--fs);
	font-size: 13px;
	color: rgba(240, 237, 230, .4);
	margin-bottom: 20px;
	letter-spacing: .5px
}

.cq {
	font-family: var(--fs);
	font-size: clamp(18px, 2.2vw, 28px);
	line-height: 1.45;
	color: var(--paper);
	font-style: italic
}

.cq.lg {
	font-size: clamp(22px, 2.8vw, 36px)
}

.ctlbl {
	position: absolute;
	top: 48px;
	right: 48px;
	font-size: 9px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(240, 237, 230, .15);
	border: 1px solid currentColor;
	padding: 4px 10px;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .3s, transform .3s
}

.card:hover .ctlbl {
	opacity: 1;
	transform: translateY(0)
}

.cflip {
	position: absolute;
	inset: 0;
	background: var(--red);
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .45s cubic-bezier(.16, 1, .3, 1);
	pointer-events: none
}

.card:hover .cflip {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto
}

.cftag {
	font-size: 9px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
	margin-bottom: 20px
}

.cftxt {
	font-family: var(--fs);
	font-size: clamp(20px, 2.5vw, 32px);
	line-height: 1.4;
	color: #fff;
	font-style: italic
}

.cfp {
	font-size: 12px;
	color: rgba(255, 255, 255, .5);
	margin-top: 24px;
	letter-spacing: .5px
}

#skills {
	padding: 0 40px 100px
}

.skl {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 80px;
	align-items: start
}

.sksticky {
	position: sticky;
	top: 120px
}

.skh {
	font-family: var(--fd);
	font-size: clamp(48px, 5vw, 72px);
	line-height: .95;
	letter-spacing: -1px;
	color: var(--paper);
	margin-bottom: 24px
}

.sks {
	font-size: 12px;
	line-height: 1.8;
	color: rgba(240, 237, 230, .35);
	letter-spacing: .3px
}

.skrow {
	padding: 20px 0;
	border-bottom: 1px solid rgba(240, 237, 230, .06);
	display: grid;
	grid-template-columns: 200px 1fr 48px;
	gap: 24px;
	align-items: center
}

.sknm {
	font-size: 13px;
	color: var(--paper);
	letter-spacing: .3px;
	font-weight: 500
}

.skbw {
	height: 2px;
	background: rgba(240, 237, 230, .08);
	position: relative;
	overflow: visible
}

.skbf {
	height: 100%;
	background: var(--paper);
	width: 0%;
	transition: width 1.4s cubic-bezier(.16, 1, .3, 1);
	position: relative
}

.skbf::after {
	content: '';
	position: absolute;
	right: -1px;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	background: var(--red);
	border-radius: 50%
}

.skp {
	font-family: var(--fd);
	font-size: 14px;
	color: rgba(240, 237, 230, .3);
	text-align: right
}

#contact {
	background: var(--paper);
	color: var(--ink);
	padding: 100px 40px;
	position: relative;
	overflow: hidden
}

.cbgt {
	position: absolute;
	font-family: var(--fd);
	font-size: clamp(140px, 20vw, 280px);
	color: rgba(12, 12, 10, .04);
	line-height: 1;
	bottom: -20px;
	right: 0;
	padding-right: 20px;
	pointer-events: none;
	letter-spacing: -4px;
	user-select: none
}

.clbl {
	font-size: 10px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	gap: 12px
}

.clbl::before {
	content: '';
	display: block;
	width: 20px;
	height: 1px;
	background: var(--red)
}

.ch {
	font-family: var(--fd);
	font-size: clamp(72px, 10vw, 140px);
	line-height: .92;
	letter-spacing: -2px;
	color: var(--ink);
	max-width: 800px;
	margin-bottom: 64px
}

.clinks {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid rgba(12, 12, 10, .12)
}

.cli {
	padding: 32px 48px;
	border-right: 1px solid rgba(12, 12, 10, .1);
	text-decoration: none;
	color: var(--ink);
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: background .3s;
	position: relative;
	overflow: hidden
}

.cli:last-child {
	border-right: none
}

.cli::after {
	content: '↗';
	position: absolute;
	top: 32px;
	right: 32px;
	font-size: 18px;
	color: rgba(12, 12, 10, .2);
	transition: transform .3s, color .3s
}

.cli:hover {
	background: var(--red);
	color: #fff
}

.cli:hover::after {
	color: #fff;
	transform: translate(4px, -4px)
}

.clt {
	font-size: 9px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: rgba(12, 12, 10, .35);
	transition: color .3s
}

.cli:hover .clt {
	color: rgba(255, 255, 255, .6)
}

.clv {
	font-family: var(--fs);
	font-size: 18px
}

footer {
	background: var(--paper);
	color: var(--ink);
	padding: 40px;
	border-top: 1px solid rgba(12, 12, 10, .1);
	display: flex;
	justify-content: space-between;
	align-items: center
}

.fl {
	font-size: 11px;
	letter-spacing: 2px;
	color: rgba(12, 12, 10, .35);
	text-transform: uppercase
}

.flogo {
	font-family: var(--fd);
	font-size: 24px;
	letter-spacing: 3px;
	color: var(--ink)
}

.fr {
	font-size: 11px;
	letter-spacing: 1px;
	color: rgba(12, 12, 10, .3)
}

.ru {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 0.65s cubic-bezier(.16, 1, .3, 1), transform 0.65s cubic-bezier(.16, 1, .3, 1);
	will-change: opacity, transform
}

.rl {
	opacity: 0;
	transform: translateX(-28px);
	transition: opacity 0.65s cubic-bezier(.16, 1, .3, 1), transform 0.65s cubic-bezier(.16, 1, .3, 1);
	will-change: opacity, transform
}

.ru:nth-child(2),
.rl:nth-child(2) {
	transition-delay: .07s
}

.ru:nth-child(3),
.rl:nth-child(3) {
	transition-delay: .14s
}

.ru:nth-child(4),
.rl:nth-child(4) {
	transition-delay: .21s
}

.ru.vis,
.rl.vis {
	opacity: 1;
	transform: none
}

.mag {
	display: inline-block;
	transition: transform .3s cubic-bezier(.16, 1, .3, 1)
}

@media(max-width:900px) {
	nav {
		padding: 20px
	}

	.nlinks {
		gap: 24px
	}

	#hero {
		padding: 0 20px 40px
	}

	.heyebrow {
		left: 20px;
		right: 20px;
		top: 90px
	}

	.alayout {
		grid-template-columns: 1fr;
		gap: 40px
	}

	.aright {
		padding-top: 0
	}

	.cgrid {
		grid-template-columns: 1fr
	}

	.card.wide {
		grid-column: 1
	}

	.skl {
		grid-template-columns: 1fr
	}

	.sksticky {
		position: static
	}

	.skrow {
		grid-template-columns: 140px 1fr 40px;
		gap: 12px
	}

	.srow {
		grid-template-columns: 1fr
	}

	.scell {
		border-right: none;
		border-bottom: 1px solid rgba(240, 237, 230, .1)
	}

	.clinks {
		flex-direction: column
	}

	.cli {
		border-right: none;
		border-bottom: 1px solid rgba(12, 12, 10, .08)
	}

	.sheader {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px
	}

	.hsub {
		flex-direction: column;
		gap: 24px
	}

	footer {
		flex-direction: column;
		gap: 16px;
		text-align: center
	}

	.hbadge {
		display: none
	}

	#about,
	#testimonials,
	#skills,
	#contact {
		padding-left: 20px;
		padding-right: 20px
	}

	.sdiv {
		padding: 0 20px
	}

	.card {
		padding: 32px 24px
	}

	.cflip {
		padding: 32px 24px
	}

	.ctlbl {
		top: 32px;
		right: 24px
	}
}

@media(max-width:600px) {
	.nlinks {
		display: none
	}

	.hbg {
		display: flex
	}

	.mmenu {
		display: flex
	}

	.htitle {
		font-size: clamp(72px, 18vw, 100px)
	}

	.htitle .ao {
		-webkit-text-stroke: 1.5px var(--paper)
	}

	body {
		cursor: auto
	}

	#cursor {
		display: none
	}
}
