:root {
	color-scheme: dark;
	--page: #101111;
	--surface: #171919;
	--surface-raised: #1d2020;
	--text: #f3f2ed;
	--muted: #a1a6a0;
	--faint: #666d67;
	--line: rgba(243, 242, 237, 0.13);
	--accent: #c4f36b;
	--font-body: "Manrope", sans-serif;
	--font-mono: "DM Mono", monospace;
	--content-width: 1160px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
	font-family: var(--font-body);
}

::selection {
	background: var(--accent);
	color: var(--page);
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font-size: inherit;
}

button,
a,
input,
textarea {
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

img {
	display: block;
	max-width: 100%;
}

.container {
	width: min(var(--content-width), calc(100% - 64px));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	z-index: 20;
	top: 1rem;
	left: 1rem;
	padding: 0.75rem 1rem;
	transform: translateY(-160%);
	background: var(--accent);
	color: var(--page);
	font-weight: 800;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	z-index: 10;
	top: 0;
	border-bottom: 1px solid var(--line);
	background: rgba(16, 17, 17, 0.88);
	backdrop-filter: blur(18px);
}

.header-inner,
.site-nav,
.footer-inner {
	display: flex;
	align-items: center;
}

.header-inner {
	min-height: 78px;
	justify-content: space-between;
}

.wordmark {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.1em;
}

.wordmark span,
.accent {
	color: var(--accent);
}

.site-nav {
	gap: clamp(1.5rem, 3.2vw, 3rem);
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.site-nav a,
.text-link,
.site-footer a {
	transition: color 180ms ease;
}

.site-nav a:hover,
.text-link:hover,
.site-footer a:hover {
	color: var(--accent);
}

.site-nav .nav-contact {
	padding: 0.62rem 0.95rem;
	border: 1px solid var(--line);
	border-radius: 3px;
	color: var(--text);
}

.nav-contact span {
	margin-left: 0.45rem;
	color: var(--accent);
}

.menu-toggle {
	display: none;
}

.hero {
	position: relative;
	display: grid;
	min-height: min(760px, calc(100svh - 78px));
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: clamp(2rem, 7vw, 7rem);
	padding-block: 5.5rem 7.5rem;
}

.hero-copy {
	position: relative;
	z-index: 1;
}

.eyebrow {
	margin: 0 0 1.35rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.status-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 0.55rem;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 12px rgba(196, 243, 107, 0.5);
	vertical-align: 1px;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

.hero h1 {
	max-width: 760px;
	margin-bottom: 1.65rem;
	font-size: clamp(3.2rem, 6.2vw, 6.2rem);
	font-weight: 600;
	letter-spacing: -0.075em;
	line-height: 1.02;
}

.hero-summary {
	max-width: 510px;
	margin-bottom: 2rem;
	color: var(--muted);
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	line-height: 1.85;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 1.8rem;
}

.button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 1.3rem;
	padding: 0.8rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 3px;
	font-size: 0.82rem;
	font-weight: 800;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	background: var(--accent);
	color: #15190e;
}

.button-primary:hover {
	background: #d3ff83;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.82rem;
	font-weight: 700;
}

.text-link span,
.button span {
	color: inherit;
}

.hero-location {
	margin: 2.5rem 0 0;
	color: var(--faint);
	font-family: var(--font-mono);
	font-size: 0.67rem;
}

.hero-location span {
	margin-right: 0.45rem;
	color: var(--accent);
}

.hero-visual {
	position: relative;
	width: min(100%, 400px);
	justify-self: end;
	padding: 1.2rem;
}

.portrait-frame {
	position: relative;
	z-index: 1;
	overflow: hidden;
	aspect-ratio: 0.86;
	border: 1px solid rgba(243, 242, 237, 0.2);
	background: var(--surface-raised);
}

.portrait-frame > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.78);
}

.portrait-note {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.1rem;
	background: linear-gradient(transparent, rgba(16, 17, 17, 0.88));
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.note-star {
	color: var(--accent);
	font-size: 1.2rem;
}

.orbit {
	position: absolute;
	border: 1px solid rgba(196, 243, 107, 0.23);
	border-radius: 50%;
}

.orbit-one {
	inset: -1rem 0 0 -1rem;
}

.orbit-two {
	inset: 0 -1rem -1rem 0;
	border-color: rgba(243, 242, 237, 0.1);
}

.scroll-cue {
	position: absolute;
	bottom: 2.2rem;
	left: 0;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	color: var(--faint);
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.scroll-cue span:last-child {
	color: var(--accent);
	font-size: 1rem;
}

.section {
	padding-block: clamp(5rem, 10vw, 8rem);
	border-top: 1px solid var(--line);
}

.work-section {
	background: #141616;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 3rem;
	margin-bottom: 3rem;
}

.section-heading .eyebrow,
.about-heading .eyebrow,
.contact-copy .eyebrow {
	margin-bottom: 0.8rem;
}

.section h2,
.about-section h2,
.contact-section h2 {
	margin-bottom: 0;
	font-size: clamp(2.5rem, 5vw, 4.4rem);
	font-weight: 600;
	letter-spacing: -0.07em;
	line-height: 1.1;
}

.section-intro {
	max-width: 360px;
	margin: 0 0 0.3rem;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.8;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3.5rem 1.6rem;
}

.project-featured {
	grid-column: 1 / -1;
}

.project-image {
	position: relative;
	display: grid;
	overflow: hidden;
	aspect-ratio: 1.58;
	place-items: center;
}

.project-featured .project-image {
	aspect-ratio: 2.1;
}

.image-lilac {
	background: #a598bd;
}

.image-green {
	background: #829d73;
}

.image-peach {
	background: #d0a589;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-image:hover img {
	transform: scale(1.035);
}

.image-arrow {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	display: grid;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--page);
	font-size: 1.1rem;
	place-items: center;
	transition: transform 180ms ease;
}

.project-image:hover .image-arrow {
	transform: rotate(45deg);
}

.project-meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.1rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.project-card h3 {
	margin: 0.45rem 0 0.35rem;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
	font-weight: 600;
	letter-spacing: -0.04em;
}

.project-card h3 a span {
	color: var(--accent);
	font-size: 0.85em;
}

.project-card > p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.82rem;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 0.8fr;
	gap: clamp(3rem, 9vw, 9rem);
}

.about-section h2 {
	font-size: clamp(2.6rem, 4.5vw, 4.2rem);
}

.about-copy {
	padding-top: 2.3rem;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.9;
}

.about-copy .about-lead {
	color: var(--text);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.65;
}

.toolkit {
	margin: 2.3rem 0 2rem;
}

.toolkit .eyebrow {
	margin-bottom: 0.8rem;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tag-list li {
	padding: 0.4rem 0.65rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	color: var(--text);
	font-family: var(--font-mono);
	font-size: 0.65rem;
}

.writing-section {
	background: #141616;
}

.writing-list {
	border-top: 1px solid var(--line);
}

.writing-item {
	display: grid;
	grid-template-columns: 48px 1fr auto 28px;
	align-items: center;
	gap: 1.2rem;
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--line);
	transition: padding 180ms ease, color 180ms ease;
}

.writing-item:hover {
	padding-inline: 0.5rem;
	color: var(--accent);
}

.writing-number,
.writing-source {
	color: var(--faint);
	font-family: var(--font-mono);
	font-size: 0.65rem;
}

.writing-title {
	font-size: clamp(0.9rem, 1.7vw, 1.15rem);
	font-weight: 600;
}

.writing-arrow {
	justify-self: end;
	color: var(--accent);
}

.contact-section {
	background:
		radial-gradient(ellipse at 0% 100%, rgba(196, 243, 107, 0.075), transparent 42%),
		var(--page);
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(3rem, 10vw, 10rem);
	align-items: start;
}

.contact-copy > p:not(.eyebrow) {
	max-width: 380px;
	margin: 1.5rem 0 1.8rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.contact-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1.1rem;
}

.contact-socials a {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 0.67rem;
	transition: color 180ms ease;
}

.contact-socials a:hover {
	color: var(--accent);
}

.contact-card {
	padding: clamp(1.5rem, 4vw, 2.8rem);
	border: 1px solid var(--line);
	background: var(--surface);
}

.contact-card .eyebrow {
	margin-bottom: 1rem;
}

.contact-email {
	display: inline-block;
	color: var(--text);
	font-size: clamp(1rem, 2.2vw, 1.6rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	overflow-wrap: anywhere;
}

.contact-email span {
	color: var(--accent);
	font-size: 0.75em;
}

.contact-card-note {
	margin: 1rem 0 1.5rem;
	color: var(--muted);
	font-size: 0.78rem;
}

.site-footer {
	border-top: 1px solid var(--line);
}

.footer-inner {
	min-height: 96px;
	justify-content: space-between;
	gap: 1rem;
}

.footer-inner p {
	margin: 0;
	color: var(--faint);
	font-family: var(--font-mono);
	font-size: 0.62rem;
}

.footer-inner .wordmark {
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.35rem;
}

@media (max-width: 760px) {
	.container {
		width: min(var(--content-width), calc(100% - 40px));
	}

	.header-inner {
		min-height: 68px;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.8rem;
		padding: 0.5rem 0;
		border: 0;
		background: transparent;
		color: var(--text);
		cursor: pointer;
		font-family: var(--font-mono);
		font-size: 0.68rem;
	}

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

	.menu-icon span {
		width: 19px;
		height: 1px;
		background: var(--accent);
		transition: transform 180ms ease;
	}

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

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

	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		align-items: stretch;
		gap: 0;
		padding: 0 20px 1rem;
		border-bottom: 1px solid var(--line);
		background: var(--page);
	}

	.site-nav.is-open {
		display: flex;
		flex-direction: column;
	}

	.site-nav a {
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--line);
	}

	.site-nav .nav-contact {
		margin-top: 0.8rem;
		padding: 0.8rem;
		border: 1px solid var(--line);
	}

	.hero {
		min-height: auto;
		grid-template-columns: 1fr;
		gap: 3rem;
		padding-block: 5rem 6.5rem;
	}

	.hero h1 {
		font-size: clamp(3.15rem, 12vw, 5.2rem);
	}

	.hero-visual {
		width: min(75%, 340px);
		justify-self: center;
	}

	.scroll-cue {
		bottom: 2rem;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
		gap: 1rem;
		margin-bottom: 2.2rem;
	}

	.project-grid {
		gap: 2.8rem 1.1rem;
	}

	.project-featured .project-image {
		aspect-ratio: 1.58;
	}

	.project-meta {
		flex-direction: column;
		gap: 0.2rem;
	}

	.about-grid,
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.about-copy {
		padding-top: 0;
	}

	.contact-grid {
		gap: 2.5rem;
	}
}

@media (max-width: 520px) {
	.hero {
		padding-top: 3.8rem;
	}

	.hero .eyebrow {
		font-size: 0.6rem;
	}

	.hero-actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 1.2rem;
	}

	.project-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.project-featured {
		grid-column: auto;
	}

	.project-meta {
		flex-direction: row;
		font-size: 0.57rem;
	}

	.writing-item {
		grid-template-columns: 28px 1fr 22px;
		gap: 0.6rem;
	}

	.writing-source {
		display: none;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.footer-inner {
		min-height: 0;
		align-items: start;
		flex-wrap: wrap;
		padding-block: 1.3rem;
	}

	.footer-inner p:nth-of-type(1) {
		order: 3;
		width: 100%;
	}
}

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

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