:root {
	color-scheme: light;
	--paper: #f4f5ef;
	--ink: #18211d;
	--muted: #65716a;
	--line: #d9ded5;
	--green: #b8f36b;
	--coral: #f17b5b;
	--deep: #233a31;
	--surface: #e9eee4;
	--font-display: 'Space Grotesk', sans-serif;
	--font-body: 'DM Sans', sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.55;
	transition: background .3s ease, color .3s ease;
}

body.dark-theme {
	color-scheme: dark;
	--paper: #17201c;
	--ink: #edf1e9;
	--muted: #a2afa5;
	--line: #36433a;
	--green: #c0f477;
	--coral: #f58a6b;
	--deep: #dce6d9;
	--surface: #202c25;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	color: inherit;
	font: inherit;
}

img {
	display: block;
	max-width: 100%;
}

button:focus-visible,
a:focus-visible {
	outline: 2px solid var(--coral);
	outline-offset: 4px;
}

.section-wrap {
	width: min(1160px, calc(100% - 64px));
	margin-inline: auto;
}

.section-pad {
	padding-block: 128px;
}

.header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 76px;
	padding-inline: max(32px, calc((100vw - 1160px) / 2));
	border-bottom: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: blur(16px);
}

.logo {
	font-family: var(--font-display);
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 0;
}

.logo span {
	color: var(--coral);
}

.navbar {
	display: flex;
	align-items: center;
	gap: 34px;
}

.navbar a,
.theme-btn {
	font-size: 13px;
	font-weight: 600;
}

.navbar a {
	color: var(--muted);
	transition: color .2s ease;
}

.navbar a:hover,
.navbar a[aria-current="location"] {
	color: var(--ink);
}

.theme-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 0 9px 13px;
	border: 0;
	border-left: 1px solid var(--line);
	background: none;
	cursor: pointer;
}

.theme-icon {
	color: var(--coral);
	font-size: 18px;
	line-height: 1;
}

.menu-btn {
	display: none;
}

.hero {
	position: relative;
	display: grid;
	grid-template-columns: 1.03fr .97fr;
	align-items: center;
	gap: 70px;
	min-height: 660px;
	padding-block: 74px 96px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 25px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #71b85b;
	box-shadow: 0 0 0 4px color-mix(in srgb, #71b85b 15%, transparent);
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: 0;
}

.hero h1 {
	margin: 0;
	font-size: clamp(56px, 6.5vw, 84px);
	line-height: .99;
}

.hero h1 span,
.section-heading h2 span,
.contact h2 span {
	color: var(--coral);
}

.hero-intro {
	max-width: 460px;
	margin: 27px 0 29px;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 26px;
}

.button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 25px;
	padding: 0 20px;
	font-size: 13px;
	font-weight: 700;
	transition: transform .2s ease, background .2s ease;
}

.button:hover {
	transform: translateY(-3px);
}

.button-dark {
	background: var(--ink);
	color: var(--paper);
}

.button-dark:hover {
	background: var(--deep);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--coral);
	font-size: 13px;
	font-weight: 700;
}

.text-link span,
.button span {
	font-size: 16px;
}

.hero-location {
	margin: 54px 0 0;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
}

.hero-location span {
	padding-inline: 8px;
	color: var(--coral);
}

.hero-visual {
	padding: 17px;
	background: var(--surface);
}

.visual-topline,
.visual-caption {
	display: flex;
	justify-content: space-between;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
}

.visual-art {
	position: relative;
	overflow: hidden;
	height: 380px;
	margin-block: 14px;
	background: #f3a47f;
}

.art-sun {
	position: absolute;
	top: 52px;
	left: 50%;
	width: 132px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #f6d787;
	transform: translateX(-50%);
}

.art-ring {
	position: absolute;
	z-index: 1;
	top: 24px;
	left: 50%;
	width: 190px;
	aspect-ratio: 1;
	border: 1px solid rgb(255 255 255 / 56%);
	border-radius: 50%;
	transform: translateX(-50%);
}

.art-hill {
	position: absolute;
	right: -15%;
	bottom: -55px;
	left: -15%;
	height: 225px;
	border-radius: 50% 50% 0 0 / 30% 30% 0 0;
}

.art-hill-back {
	bottom: 20px;
	left: 25%;
	background: #658e6d;
	transform: rotate(-12deg);
}

.art-hill-front {
	background: #315c4b;
	transform: rotate(8deg);
}

.art-mark {
	position: absolute;
	z-index: 2;
	right: 22px;
	bottom: 8px;
	color: rgb(255 255 255 / 85%);
	font-family: var(--font-display);
	font-size: 62px;
	font-weight: 700;
}

.scroll-cue {
	position: absolute;
	bottom: 27px;
	left: 0;
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
}

.scroll-cue span {
	width: 28px;
	height: 1px;
	background: var(--coral);
}

.about,
.toolkit {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 90px;
	border-top: 1px solid var(--line);
}

.section-heading h2,
.contact h2 {
	margin: 0;
	font-size: clamp(42px, 5vw, 62px);
	line-height: 1.08;
}

.heading-line {
	width: 36px;
	height: 1px;
	background: var(--coral);
}

.about-content {
	padding-top: 48px;
}

.about-lead {
	max-width: 490px;
	margin-bottom: 19px;
	font-family: var(--font-display);
	font-size: 24px;
	line-height: 1.4;
}

.body-copy {
	max-width: 490px;
	margin-bottom: 22px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
}

.about-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 48px;
	padding-top: 21px;
	border-top: 1px solid var(--line);
}

.about-facts div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.about-facts strong {
	color: var(--coral);
	font-family: var(--font-display);
	font-size: 18px;
}

.about-facts span {
	color: var(--muted);
	font-size: 11px;
}

.projects {
	background: var(--surface);
}

.projects-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 50px;
	margin-bottom: 44px;
}

.projects-head .eyebrow {
	margin-bottom: 22px;
}

.projects-note {
	max-width: 330px;
	margin: 0 0 5px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}

.project-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px 26px;
}

.project-card-wide {
	grid-column: span 2;
}

.project-image {
	position: relative;
	display: block;
	overflow: hidden;
	height: 290px;
	background: #d0d5ca;
}

.project-card-wide .project-image {
	height: 430px;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.project-image:hover img {
	transform: scale(1.035);
}

.image-market img {
	object-position: center 55%;
}

.image-studio img {
	object-position: center 54%;
}

.image-finance img {
	object-position: center 48%;
}

.image-index,
.image-arrow {
	position: absolute;
	top: 16px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	background: var(--paper);
	color: var(--ink);
	font-size: 11px;
	font-weight: 700;
}

.image-index {
	left: 16px;
}

.image-arrow {
	right: 16px;
	font-size: 17px;
}

.project-meta {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 15px;
	padding-top: 15px;
}

.project-meta h3 {
	margin: 0 0 3px;
	font-size: 21px;
}

.project-meta p,
.project-meta>span {
	color: var(--muted);
	font-size: 11px;
}

.project-meta p {
	margin: 0;
}

.project-meta>span {
	padding-top: 5px;
	text-align: right;
	font-size: 9px;
	font-weight: 700;
}

.project-disclaimer {
	margin: 40px 0 0;
	color: var(--muted);
	font-size: 10px;
}

.project-dialog {
	width: min(590px, calc(100% - 32px));
	max-width: none;
	padding: clamp(25px, 6vw, 46px);
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink);
}

.project-dialog::backdrop {
	background: rgb(15 24 19 / 70%);
	backdrop-filter: blur(4px);
}

.dialog-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 35px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
}

.dialog-close {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid var(--line);
	background: transparent;
	font-size: 23px;
	cursor: pointer;
}

.project-dialog h2 {
	margin-bottom: 14px;
	font-size: clamp(35px, 7vw, 48px);
	line-height: 1.1;
}

.project-dialog>p {
	margin-bottom: 25px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
}

.dialog-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dialog-tags span {
	padding: 6px 10px;
	border: 1px solid var(--line);
	color: var(--muted);
	font-size: 10px;
}

.dialog-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-top: 34px;
}

.dialog-actions form {
	margin: 0;
}

.dialog-actions .text-link {
	border: 0;
	background: transparent;
	cursor: pointer;
}

.toolkit {
	border-top: 0;
}

.toolkit-content {
	padding-top: 47px;
}

.toolkit-content>.about-lead {
	margin-bottom: 33px;
}

.skill-list>div {
	display: grid;
	grid-template-columns: 35px 1fr;
	column-gap: 14px;
	padding: 21px 0;
	border-top: 1px solid var(--line);
}

.skill-list>div>span {
	grid-row: span 3;
	padding-top: 3px;
	color: var(--coral);
	font-size: 10px;
	font-weight: 700;
}

.skill-list h3 {
	margin: 0 0 5px;
	font-size: 18px;
}

.skill-list p {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 12px;
}

.skill-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.skill-tags span {
	padding: 5px 9px;
	border: 1px solid var(--line);
	color: var(--muted);
	font-size: 9px;
}

.contact {
	overflow: hidden;
	background: var(--deep);
	color: var(--paper);
}

.contact-inner {
	position: relative;
}

.contact .eyebrow {
	color: color-mix(in srgb, var(--paper) 64%, transparent);
}

.contact h2 {
	font-size: clamp(58px, 7vw, 88px);
}

.contact-bottom {
	display: flex;
	align-items: end;
	justify-content: space-between;
	max-width: 760px;
	gap: 30px;
	margin-top: 35px;
}

.contact-bottom p {
	max-width: 300px;
	margin: 0;
	color: color-mix(in srgb, var(--paper) 70%, transparent);
	font-size: 14px;
}

.button-light {
	background: var(--green);
	color: #18211d;
}

.button-light:hover {
	background: #d0ff9a;
}

.contact-stamp {
	position: absolute;
	right: 2%;
	bottom: -90px;
	color: color-mix(in srgb, var(--paper) 8%, transparent);
	font-family: var(--font-display);
	font-size: 270px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

.footer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	align-items: center;
	min-height: 94px;
	gap: 20px;
}

.footer .logo {
	font-size: 21px;
}

.footer p,
.footer>a:not(.logo),
.footer>span {
	margin: 0;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
}

.footer>a:not(.logo) {
	justify-self: center;
}

.footer>span {
	text-align: right;
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.chat-launcher {
	position: fixed;
	z-index: 20;
	right: max(32px, calc((100vw - 1160px) / 2));
	bottom: 24px;
	display: flex;
	min-height: 52px;
	align-items: center;
	gap: 14px;
	padding: 0 18px;
	border: 0;
	background: var(--coral);
	color: #18211d;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 26px rgb(24 33 29 / 18%);
}

.chat-launcher span {
	display: grid;
	min-width: 25px;
	height: 25px;
	place-items: center;
	padding-inline: 5px;
	border-radius: 50%;
	background: #18211d;
	color: #fff;
	font-size: 11px;
}

.chat-panel {
	position: fixed;
	inset: auto max(32px, calc((100vw - 1160px) / 2)) 90px auto;
	display: none;
	width: min(370px, calc(100vw - 40px));
	height: min(560px, calc(100vh - 120px));
	max-height: calc(100vh - 100px);
	flex-direction: column;
	padding: 21px;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 18px 65px rgb(0 0 0 / 24%);
}

.chat-panel[open] {
	display: flex;
	height: min(560px, calc(100dvh - 120px));
	max-height: calc(100dvh - 100px);
}

.chat-panel::backdrop {
	background: rgb(15 24 19 / 30%);
}

.chat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.chat-header p {
	margin: 0 0 3px;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
}

.chat-header h2 {
	margin: 0;
	font-size: 23px;
}

.chat-close {
	display: grid;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid var(--line);
	background: transparent;
	font-size: 23px;
	cursor: pointer;
}

.chat-notice {
	margin: 13px 0;
	color: var(--muted);
	font-size: 10px;
}

.chat-messages {
	display: flex;
	min-height: 100px;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	overflow-y: auto;
	padding: 4px 3px 12px;
}

.chat-message {
	width: fit-content;
	max-width: 88%;
	padding: 10px 12px 7px;
	background: var(--surface);
}

.chat-message--you {
	align-self: flex-end;
	background: color-mix(in srgb, var(--green) 70%, var(--paper));
	color: #18211d;
}

.chat-message p {
	margin: 0 0 5px;
	overflow-wrap: anywhere;
	font-size: 12px;
	line-height: 1.55;
}

.chat-message time {
	display: block;
	color: var(--muted);
	font-size: 9px;
	text-align: right;
}

.chat-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.chat-compose {
	display: flex;
	gap: 8px;
}

.chat-form input {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 0 11px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 12px;
}

.chat-compose input {
	flex: 1;
}

.chat-form input:focus-visible {
	outline: 2px solid var(--coral);
	outline-offset: 1px;
}

.chat-form button {
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	background: var(--ink);
	color: var(--paper);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.chat-form button:disabled {
	opacity: .6;
	cursor: wait;
}

.chat-form button span {
	margin-left: 5px;
}

.chat-status {
	min-height: 15px;
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 10px;
}

.chat-message-name {
	display: block;
	margin-bottom: 4px;
	color: var(--coral);
	font-size: 10px;
}

.chat-count-line {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 10px;
}

.chat-count-line strong {
	color: var(--ink);
}

.chat-email {
	align-self: flex-start;
	margin-top: 8px;
	color: var(--ink);
	font-size: 10px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--coral);
	text-underline-offset: 3px;
}

@media (max-width: 850px) {
	.header {
		padding-inline: 28px;
	}

	.navbar {
		gap: 19px;
	}

	.hero {
		gap: 35px;
		min-height: 590px;
	}

	.hero h1 {
		font-size: clamp(52px, 7vw, 68px);
	}

	.visual-art {
		height: 320px;
	}

	.section-pad {
		padding-block: 96px;
	}

	.about,
	.toolkit {
		gap: 45px;
	}

	.project-card-wide .project-image {
		height: 350px;
	}
}

@media (max-width: 640px) {
	html {
		scroll-padding-top: 70px;
	}

	.section-wrap {
		width: min(100% - 40px, 460px);
	}

	.section-pad {
		padding-block: 76px;
	}

	.header {
		height: 66px;
		padding-inline: 20px;
	}

	.logo {
		font-size: 23px;
	}

	.menu-btn {
		display: flex;
		width: 44px;
		height: 44px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		margin-left: auto;
		border: 1px solid var(--line);
		background: transparent;
		cursor: pointer;
	}

	.menu-btn span {
		width: 15px;
		height: 1px;
		background: var(--ink);
	}

	.navbar {
		position: absolute;
		top: 65px;
		right: 0;
		left: 0;
		display: none;
		align-items: stretch;
		gap: 0;
		padding: 8px 20px 18px;
		border-bottom: 1px solid var(--line);
		background: var(--paper);
	}

	.navbar.is-open {
		display: flex;
		flex-direction: column;
	}

	.navbar a {
		min-height: 44px;
		padding: 12px 0;
		border-bottom: 1px solid var(--line);
	}

	.theme-btn {
		width: 44px;
		height: 44px;
		justify-content: center;
		margin-left: 10px;
		padding: 0;
		border: 1px solid var(--line);
	}

	.theme-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.hero {
		grid-template-columns: 1fr;
		gap: 37px;
		min-height: auto;
		padding-block: 69px 91px;
	}

	.hero h1 {
		font-size: clamp(52px, 14vw, 72px);
	}

	.hero-intro {
		max-width: 380px;
		font-size: 15px;
	}

	.hero-location {
		margin-top: 39px;
	}

	.hero-visual {
		max-width: 460px;
		justify-self: stretch;
	}

	.visual-art {
		height: clamp(270px, 78vw, 350px);
	}

	.scroll-cue {
		bottom: 35px;
	}

	.about,
	.toolkit {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.about-content,
	.toolkit-content {
		padding-top: 13px;
	}

	.section-heading h2 {
		font-size: 48px;
	}

	.about-lead {
		font-size: 21px;
	}

	.about-facts {
		margin-top: 35px;
	}

	.projects-head {
		align-items: start;
		flex-direction: column;
		gap: 18px;
		margin-bottom: 31px;
	}

	.projects-note {
		max-width: 400px;
	}

	.project-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.project-card-wide {
		grid-column: auto;
	}

	.project-card-wide .project-image,
	.project-image {
		height: 265px;
	}

	.project-meta {
		gap: 8px;
	}

	.project-meta h3 {
		font-size: 19px;
	}

	.project-meta>span {
		max-width: 120px;
	}

	.project-disclaimer {
		margin-top: 28px;
	}

	.contact h2 {
		font-size: clamp(58px, 14vw, 76px);
	}

	.contact-bottom {
		align-items: start;
		flex-direction: column;
		margin-top: 25px;
	}

	.contact-stamp {
		right: -4%;
		bottom: -54px;
		font-size: 180px;
	}

	.footer {
		grid-template-columns: 1fr 1fr;
		min-height: 115px;
		gap: 8px;
		padding-block: 20px;
	}

	.footer p {
		justify-self: end;
		text-align: right;
	}

	.footer>a:not(.logo) {
		justify-self: start;
	}

	.footer>span {
		justify-self: end;
	}

	.chat-launcher {
		right: 12px;
		bottom: 14px;
	}

	.chat-panel {
		inset: auto 12px 76px;
		width: auto;
		height: min(560px, calc(100vh - 96px));
		max-height: calc(100vh - 90px);
		padding: 17px;
	}

	.chat-panel[open] {
		height: min(560px, calc(100dvh - 96px));
		max-height: calc(100dvh - 90px);
	}
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}