:root {
				--background: #ffffff;
				--surface: #f5f5f5;
				--surface-hover: #ececec;
				--border: #b8b8b8;
				--border-strong: #000000;
				--text: #111111;
				--accent: #111111;
				--accent-hover: #551a8b;
				--heading: #111111;
				--string: #111111;
				--left-gutter: clamp(20px, 4vw, 64px);
				--right-gutter: clamp(20px, 3vw, 48px);
				--radius: 0;
}

* {
				box-sizing: border-box;
}

html {
				scroll-behavior: smooth;
}

body {
				margin: 0;
				min-height: 100vh;
				background: var(--background);
				color: var(--text);
				font-family: "Times New Roman", Times, serif;
				font-size: 16px;
				font-weight: 400;
				font-synthesis: none;
				line-height: 1.6;
				letter-spacing: 0;
				-webkit-font-smoothing: antialiased;
				-moz-osx-font-smoothing: grayscale;
				text-rendering: optimizeLegibility;
}

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

a {
				color: var(--accent);
				text-decoration: underline;
				text-decoration-thickness: 1px;
				text-underline-offset: 3px;
}

a:visited {
				color: var(--accent-hover);
}

.container {
				width: calc(
								100% - var(--left-gutter) - var(--right-gutter)
				);
				margin-left: var(--left-gutter);
				margin-right: var(--right-gutter);
}

main {
				padding: 44px 0 72px;
}

.intro {
				display: flex;
				align-items: center;
				justify-content: space-between;
				gap: 28px;
				max-width: 900px;
				margin-bottom: 44px;
				padding-bottom: 22px;
				border-bottom: 1px solid var(--border);
}

.intro-text {
				min-width: 0;
}

.profile-thumbnail {
				flex: 0 0 auto;
				width: clamp(88px, 11vw, 128px);
				height: clamp(88px, 11vw, 128px);
				object-fit: cover;
				border: 1px solid var(--border-strong);
				border-radius: 50%;
				background: var(--surface);
}

.intro h1 {
				margin: 0 0 8px;
				color: var(--heading);
				font-size: clamp(2rem, 4vw, 2.85rem);
				font-weight: 400;
				line-height: 1.15;
				letter-spacing: -0.025em;
}

.role {
				margin: 0;
				color: var(--text);
				font-size: 0.98rem;
				font-weight: 400;
}

.summary {
				max-width: 760px;
				margin: 24px 0 0;
				color: var(--text);
				font-size: 1rem;
				font-weight: 400;
				line-height: 1.75;
}

.section-title {
				margin: 0 0 14px;
				color: var(--heading);
				font-size: 1.65rem;
				font-weight: 400;
				line-height: 1.25;
				letter-spacing: -0.015em;
}

.project-grid {
				display: grid;
				grid-template-columns:
								repeat(auto-fit, minmax(360px, 1fr));
				gap: 24px;
				width: 100%;
}

.project-card {
				overflow: hidden;
				min-width: 0;
				border: 1px solid var(--border);
				border-radius: var(--radius);
				background: var(--surface);
				color: var(--text);
				text-decoration: none;
				transition:
								background-color 120ms ease,
								border-color 120ms ease;
}

.project-card:visited {
				color: var(--text);
}

.project-card:hover {
				border-color: var(--border-strong);
				background: var(--surface-hover);
}

.project-card:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 3px;
}

.project-image-wrap {
				aspect-ratio: 16 / 9;
				overflow: hidden;
				background: #dcdcdc;
				border-bottom: 1px solid var(--border);
}

.project-image {
				width: 100%;
				height: 100%;
				object-fit: cover;
}

.project-content {
				min-height: 155px;
				padding: 18px 18px 20px;
}

.project-title {
				margin: 0;
				color: var(--accent);
				font-size: 1.5rem;
				font-weight: 400;
				line-height: 1.45;
				letter-spacing: 0;
}

.project-description {
				margin: 10px 0 0;
				color: var(--text);
				font-size: 0.94rem;
				font-weight: 400;
				line-height: 1.5;
}

.about {
				gap: 32px;
				margin-top: 64px;
				padding-top: 24px;
				border-top: 1px solid var(--border);
}

.about h2 {
				margin: 0;
				color: var(--heading);
				font-size: 1.15rem;
				font-weight: 400;
				line-height: 1.4;
}

.about-content p {
				margin: 0 0 16px;
				color: var(--text);
				font-weight: 400;
				line-height: 1.75;
}

.contact-link {
				display: inline-block;
				color: var(--accent);
				font-weight: 400;
}

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

footer {
				padding: 8px 0;
				border-top: 1px solid #777777;
				background: #d9d9d9;
				color: #111111;
				font-size: 0.85rem;
				font-weight: 400;
}

@media (max-width: 760px) {
				:root {
								--left-gutter: 16px;
								--right-gutter: 16px;
				}

				main {
								padding-top: 28px;
				}

				.intro {
								align-items: flex-start;
								gap: 18px;
								margin-bottom: 36px;
				}

				.profile-thumbnail {
								flex: 0 0 auto;
								width: 120px;
								height: 120px;
								object-fit: cover;
								object-position: center;
								border: 1px solid var(--border-strong);
								border-radius: 50%;
								background: var(--surface);
				}

				.project-grid {
								grid-template-columns: 1fr;
								gap: 18px;
				}

				.about {
								grid-template-columns: 1fr;
								gap: 12px;
								margin-top: 48px;
				}
}

@media (prefers-reduced-motion: reduce) {
				*,
				*::before,
				*::after {
								scroll-behavior: auto !important;
								transition-duration: 0.01ms !important;
				}
}
