@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-100-normal.woff2") format("woff2");
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-100-italic.woff2") format("woff2");
	font-weight: 100;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-200-normal.woff2") format("woff2");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-200-italic.woff2") format("woff2");
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-300-normal.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-300-italic.woff2") format("woff2");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-500-normal.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-500-italic.woff2") format("woff2");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-600-normal.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-600-italic.woff2") format("woff2");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-700-italic.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-800-normal.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Maple Mono";
	src: url("../fonts/maple/maple-mono-latin-800-italic.woff2") format("woff2");
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora/lora-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora/lora-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora/lora-latin-500-normal.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora/lora-latin-500-italic.woff2") format("woff2");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora/lora-latin-600-normal.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora/lora-latin-600-italic.woff2") format("woff2");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora/lora-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lora";
	src: url("../fonts/lora/lora-latin-700-italic.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

:root {
	color-scheme: dark;

	/* COLORS */
	--bg: hsla(240, 6%, 10%, 1);

	--text-fg-100: hsl(0 0 50%); /* hints */
	--text-fg-200: hsl(0 0 60%); /* navbar */
	--text-fg-300: hsl(0 0 90%); /* titles, paragraphs */

	--text-accent: hsl(185 75% 40%);
	--text-accent-hover: hsl(185 75% 55%); /* just lighter on hover */
                   
	/* FONTS */
	--font-sans: "Inter", sans-serif;
	--font-serif: "Lora", Georgia, serif;
	--font-mono: "Maple Mono", "Cascadia Code", monospace;

	/* FONT WEIGHTS */
	--font-weight-thin: 100;
	--font-weight-extra-light: 200;
	--font-weight-light: 300;
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;
	--font-weight-extra-bold: 800;
	--font-weight-black: 900;

	/* FONT SIZES */
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.25rem;
	--text-2xl: 1.5rem;
	--text-3xl: 1.875rem;
	--text-4xl: 2.25rem;
	--text-5xl: 3rem;
	--text-6xl: 3.75rem;
	--text-7xl: 4.5rem;
	--text-8xl: 6rem;
	--text-9xl: 8rem;

 	/* SPACES */
	--space-0: 0;
	--space-px: 1px;
	--space-0_5: 0.125rem;
	--space-1: 0.25rem;
	--space-1_5: 0.375rem;
	--space-2: 0.5rem;
	--space-2_5: 0.625rem;
	--space-3: 0.75rem;
	--space-3_5: 0.875rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-7: 1.75rem;
	--space-8: 2rem;
	--space-9: 2.25rem;
	--space-10: 2.5rem;
	--space-11: 2.75rem;
	--space-12: 3rem;
	--space-14: 3.5rem;
	--space-16: 4rem;
}

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


body {
	min-height: 100vh;
	background: var(--bg);
	font-family: var(--font-sans);
}

body {
	background-image: url('../images/noise-export.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-size: 100% 100%;
	background-position: top left;
}

a { width: fit-content; }

/*
===============================================================================
Container
===============================================================================
*/

.container {
	--container-max-width: 60rem;
	--container-padding-inline: var(--space-4);
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--container-max-width);
	margin-inline: auto;
	padding-inline: var(--container-padding-inline);
}

@media (min-width: 48rem) {
	.container {
		--container-padding-inline: var(--space-6);
	}
}

@media (min-width: 64rem) {
	.container {
		--container-padding-inline: var(--space-8);
	}
}

/*
===============================================================================
ABOUT
===============================================================================
*/

.about-me-title-container{
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
}

.phonetic-transcription  {
	color: var(--text-fg-100);
	font-family: var(--font-sans);
	white-space: nowrap;
}

.about-me-title {
	color: var(--text-accent);
	font-size: clamp(var(--text-4xl), 12vw, var(--text-7xl));
	font-family: var(--font-sans);
	margin-left: -4px;
	white-space: nowrap;
	filter: url(#dry-ink) url(#inkpress-edge-lg);
}

.about-me-text {
	margin-top: var(--space-4);
	font-family: var(--font-serif);
	font-size: var(--text-lg);
	line-height: 1.35;

	color: var(--text-fg-300);
}

@media (max-width: 700px) {
	.about-me-title-container {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-2);
	}
}

@media (max-width: 375px) {
	.about-me-text {
		font-size: var(--text-base);
		line-height: 1.45;
	}
}

/*
===============================================================================
CONTACT
===============================================================================
*/

.contact-section {
	margin-top: var(--space-12);
	font-family: var(--font-serif);
}

.contact-heading-row {
	display: flex;
	align-items: baseline;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
}

.contact-title {
	font-size: var(--text-lg);
	font-weight: var(--font-weight-black);

	color: var(--text-fg-300);
}

.contact-timezone {
	color: var(--text-fg-100);
	font-size: var(--text-xs);
	font-style: italic;
}

.contact-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-2);
}

.contact-item {
	display: flex;
	align-items: baseline;
	gap: var(--space-4);
}

.contact-label {
	min-width: 4rem;
	color: var(--text-fg-300);
	font-size: var(--text-sm);
}

.contact-link {
	color: var(--text-accent);
	font-size: var(--text-sm);
	font-weight: var(--font-weight-medium);
	text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
	color: var(--text-accent-hover);
	text-decoration: underline;
}

/*
===============================================================================
HOME SECTIONS
===============================================================================
*/
.home-layout {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
	padding-block: var(--space-16);
}

.home-section.right-column {
	display: flex;
	flex-direction: row;
	gap: var(--space-8);
}

.home-section.right-column > div {
	flex: 1 1 0;
	min-width: 0;
}

@media (max-width: 700px) {
	.home-section.right-column {
		flex-direction: column;
	}
}


.home-section-title {
	color: var(--text-fg-300);
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-weight: var(--font-weight-bold);
	margin-bottom: var(--space-4);
}

.work-item {
	display: flex;
	flex-direction: column;
	margin-bottom: var(--space-6);
}

.work-item-link {
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-weight: var(--font-weight-bold);
	text-decoration: underline;
	color: var(--text-accent);
	margin-bottom: var(--space-2);
	text-underline-offset: 2px;
}

.work-item-link:hover,
.work-item-link:focus-visible {
	color: var(--text-accent-hover);
}

.work-item-description {
	color: var(--text-fg-300);
	font-family: var(--font-serif);
	font-size: 16.5px;
	line-height: 1.35;
}

.more-link {
	margin-top: var(--space-6);
	font-family: var(--font-serif);
	display: block;
	color: var(--text-accent);
	font-size: var(--text-sm);
	font-weight: var(--font-weight-medium);
	text-decoration: none;
}

.more-link:hover {
	color: var(--text-accent-hover);
	text-decoration: underline;
}

.more-link-arrow {
	font-family: var(--font-mono);
}

.resource-item, .writing-item {
	margin-bottom: var(--space-6);
}

.resource-link, .article-link {
	font-family: var(--font-serif);
	font-size: var(--text-lg);
	font-weight: var(--font-weight-semibold);
	text-decoration: underline;
	color: var(--text-accent);
	margin-bottom: var(--space-2);
	display: block;
	text-underline-offset: 2px;
}

.resource-link:hover,
.resource-link:focus-visible,
.article-link:hover,
.article-link:focus-visible {
	color: var(--text-accent-hover);
}

.article-link  {
	margin-bottom: 0px;
	margin-top: var(--space-2);
}

.resource-link {
	margin-top: var(--space-2);
}

.resource-meta, .article-meta {
	font-family: var(--font-sans);
	font-size: var(--text-xs);
	color: var(--text-fg-100);
}

.resource-taxonomy {
	font-family: var(--font-sans);
	font-size: var(--text-xs);
	color: var(--text-fg-100);
}

.resource-taxonomy a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.resource-taxonomy a:hover,
.resource-taxonomy a:focus-visible {
	color: var(--text-accent-hover);
	text-decoration: underline;
}

@media (max-width: 700px) {
	.home-layout {
		gap: var(--space-12);
		padding-block: var(--space-12);
	}

	.home-section-title,
	.work-item-link {
		font-size: var(--text-lg);
	}

	.work-item-description,
	.resource-link,
	.article-link {
		font-size: var(--text-base);
		line-height: 1.5;
	}

	.footer {
		font-size: var(--text-xs);
	}
}

@media (max-width: 375px) {
	.home-layout {
		gap: var(--space-10);
		padding-block: var(--space-10);
	}

	.home-section-title,
	.work-item-link,
	.resource-link,
	.article-link {
		font-size: var(--text-base);
	}

	.work-item-description {
		font-size: var(--text-sm);
		line-height: 1.55;
	}

	.resource-link,
	.article-link {
		line-height: 1.45;
	}

	.resource-meta,
	.resource-taxonomy,
	.article-meta,
	.footer {
		font-size: 10px !important;
	}
}

/*
===============================================================================
FOOTER
===============================================================================
*/

.footer {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--space-6);
	padding-top: var(--space-8);
	padding-bottom: var(--space-10);

	color: var(--text-fg-200);
	font-family: var(--font-serif);
	font-size: var(--text-sm);
	font-weight: var(--font-weight-medium);
}

.footer > p {
	flex: none;
	white-space: nowrap;
}

.footer > div {
	min-width: 0;
}

.footer a {
	color: var(--text-fg-200);
	text-decoration: undelrine;
}











/*
===============================================================================
UTILITIES
===============================================================================
*/

/* Fade from both sides */
.u-border-fade-bottom-both {
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(
		to right,
		hsl(0 0% 50% / 0),
		hsl(0 0% 50%) 20%,
		hsl(0 0% 50%) 80%,
		hsl(0 0% 50% / 0)
	) 1;
}

/* Fade from left */
.u-border-fade-bottom-left {
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(
		to right,
		hsl(0 0% 50% / 0),
		hsl(0 0% 50%) 40%
	) 1;
}

/* Fade from right */
.u-border-fade-bottom-right {
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(
		to left,
		hsl(0 0% 50% / 0),
		hsl(0 0% 50%) 40%
	) 1;
}


/* offsetting border from the element */
.u-border-fade-bottom-both,
.u-border-fade-bottom-right,
.u-border-fade-bottom-left {
	padding-bottom: 3px;
}

/* Bottom border with endpoint dots */
.u-border-dots-bottom {
	position: relative;
	padding-bottom: 6px;
}

.u-border-dots-bottom::before {
	content: "";
	position: absolute;
	right: 6px;
	bottom: 0;
	left: 6px;
	height: 1px;
	background: hsl(0 0% 36%);
}

.u-border-dots-bottom::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -2px;
	left: 0;
	height: 5px;
	background-image:
		radial-gradient(circle, hsl(0 0% 36%) 0 1px, transparent 1.5px),
		radial-gradient(circle, hsl(0 0% 36%) 0 1px, transparent 1.5px);
	background-position:
		left center,
		right center;
	background-repeat: no-repeat;
	background-size: 5px 5px;
}

/* Dotted bottom border with endpoint dots */
.u-border-dots-dotted-bottom {
	position: relative;
	padding-bottom: 6px;
}

.u-border-dots-dotted-bottom::before {
	content: "";
	position: absolute;
	right: 6px;
	bottom: 0;
	left: 6px;
	border-bottom: 1px dotted hsl(0 0% 36%);
}

.u-border-dots-dotted-bottom::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -2px;
	left: 0;
	height: 5px;
	background-image:
		radial-gradient(circle, hsl(0 0% 36%) 0 1px, transparent 1.5px),
		radial-gradient(circle, hsl(0 0% 36%) 0 1px, transparent 1.5px);
	background-position:
		left center,
		right center;
	background-repeat: no-repeat;
	background-size: 5px 5px;
}

/*
===============================================================================
SVG FILTER DEFINITIONS

Classes/elements in this section:
- .print-filter-defs

Purpose:
- Hides the inline SVG wrapper used to store reusable filter definitions.
===============================================================================
*/

.print-filter-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
