:root {
	--bg: #9f8e91;
	--panel: #d8ceca;
	--button: #ccbeb4;
	--ink: #000000;
	--ink-soft: #1a1a1a;
	--radius-pill: 999px;
	--radius-card: 28px;
	--shadow: 4px 4px 0 #000;
	--max: 680px;
	--font: "Roboto Slab", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
		serif;
}

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

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

.page {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	padding: 0 0 48px;
}

.sheet {
	width: min(100%, var(--max));
	background: linear-gradient(180deg, #cfc3bf 0%, var(--panel) 220px, var(--panel) 100%);
	overflow: clip;
	animation: sheet-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sheet-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.sheet-circle {
	padding-top: 28px;
}

.hero-circle {
	display: grid;
	place-items: center;
	padding-top: 8px;
}

.hero-circle img {
	width: 132px;
	height: 132px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: var(--shadow);
	border: 3px solid rgba(0, 0, 0, 0.08);
}

.sheet-circle .profile {
	margin-top: 18px;
}

.hero {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	transform: scale(1.02);
	animation: hero-drift 12s ease-in-out infinite alternate;
}

@keyframes hero-drift {
	from {
		transform: scale(1.02) translateY(0);
	}
	to {
		transform: scale(1.06) translateY(-1.5%);
	}
}

.hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 42%;
	background: linear-gradient(to bottom, transparent, var(--panel));
	pointer-events: none;
}

.profile {
	position: relative;
	z-index: 1;
	margin-top: -42px;
	padding: 0 24px 8px;
	text-align: center;
}

.profile h1 {
	margin: 0;
	font-size: clamp(1.55rem, 4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.bio {
	margin: 12px auto 0;
	max-width: 34rem;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.45;
	white-space: pre-line;
}

.content {
	padding: 20px 18px 8px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.section {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.section-title {
	margin: 4px 0 0;
	text-align: center;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.section-title.caps {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.95rem;
}

.stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.featured {
	display: block;
	background: var(--button);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured:hover,
.featured:focus-visible {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 #000;
}

.featured:active {
	transform: translate(1px, 1px);
	box-shadow: 2px 2px 0 #000;
}

.featured-media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #b7aaa3;
}

.featured-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-media.contain {
	background: #1a1a1a;
}

.featured-media.contain img {
	object-fit: contain;
}

.featured-label {
	padding: 16px 18px 18px;
	text-align: center;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.3;
}

.link-pill {
	display: grid;
	grid-template-columns: 52px 1fr;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	padding: 10px 16px 10px 10px;
	background: var(--button);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-pill:hover,
.link-pill:focus-visible {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 #000;
}

.link-pill:active {
	transform: translate(1px, 1px);
	box-shadow: 2px 2px 0 #000;
}

.thumb {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	background: #b7aaa3;
	flex-shrink: 0;
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumb.logo {
	background: #fff;
	padding: 4px;
}

.thumb.logo img {
	object-fit: contain;
}

.link-copy {
	min-width: 0;
	text-align: center;
	padding-right: 40px;
}

.link-copy .title {
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.25;
}

.link-copy .meta {
	margin-top: 2px;
	font-size: 0.78rem;
	font-weight: 500;
	opacity: 0.75;
}

.carousel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.tile {
	display: flex;
	flex-direction: column;
	background: var(--button);
	border-radius: 22px;
	box-shadow: var(--shadow);
	overflow: hidden;
	min-height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover,
.tile:focus-visible {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 #000;
}

.tile:active {
	transform: translate(1px, 1px);
	box-shadow: 2px 2px 0 #000;
}

.tile-media {
	aspect-ratio: 1 / 1.05;
	overflow: hidden;
	background: #b7aaa3;
}

.tile-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tile-label {
	padding: 12px 10px 14px;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.25;
}

.socials {
	display: flex;
	justify-content: center;
	padding: 8px 0 4px;
}

.social {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	transition: transform 0.2s ease, background 0.2s ease;
}

.social:hover,
.social:focus-visible {
	transform: translateY(-2px) scale(1.04);
	background: rgba(0, 0, 0, 0.06);
}

.social svg {
	width: 28px;
	height: 28px;
}

.footer-note {
	margin: 18px 24px 0;
	text-align: center;
	font-size: 0.75rem;
	line-height: 1.4;
	opacity: 0.55;
}

@media (max-width: 480px) {
	.profile {
		padding-inline: 18px;
	}

	.content {
		padding-inline: 14px;
	}

	.link-copy {
		padding-right: 8px;
	}

	.link-copy .title {
		font-size: 0.92rem;
	}

	.tile-label {
		font-size: 0.78rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
