* {
	box-sizing: border-box;
}

:root {
	color-scheme: dark;
	--text: #111111;
	--muted: #5d5d5d;
	--line: #d9d9d9;
	--line-strong: #b8b8b8;
	--accent: #0b57d0;
	--accent-strong: #0948b3;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	background: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
}

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

.page-shell {
	width: min(960px, calc(100% - 24px));
	margin: 0 auto;
	padding: 24px 0 32px;
}

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(82vh, 760px);
	margin-bottom: 24px;
	padding: clamp(18px, 4vw, 40px);
	overflow: hidden;
	border: 1px solid var(--line);
	background: url("profile.jpeg") center center / cover no-repeat;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.58));
}

.hero-copy {
	position: relative;
	z-index: 1;
	max-width: 34rem;
	padding: clamp(16px, 3vw, 28px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: rgba(255, 255, 255, 0.8);
}

.eyebrow {
	margin: 0 0 12px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--muted);
}

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

h1 {
	margin-bottom: 10px;
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.profile-link {
	display: inline;
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--accent);
}

.profile-link:hover,
.profile-link:focus-visible {
	color: var(--accent-strong);
}

.status-card,
.actions,
.socials {
	margin-top: 14px;
}

.status-card {
	padding: 0;
	border: 0;
	background: transparent;
}

.status-label {
	display: inline-block;
	margin-bottom: 4px;
	font-size: 0.9rem;
	color: var(--muted);
}

.status-card p {
	margin-bottom: 0;
	color: var(--text);
	line-height: 1.4;
	font-size: 1rem;
}

.actions {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px 16px;
	justify-content: center;
	align-items: center;
	margin-bottom: 0;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.socials {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px 16px;
	justify-content: center;
	align-items: center;
	color: var(--muted);
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.socials a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

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

.section-heading h2 {
	margin-bottom: 0;
	font-size: 1.1rem;
	letter-spacing: 0;
}

.photos {
	margin-top: 12px;
}


.drawer-hint {
	color: var(--muted);
	font-size: 0.95rem;
}

.photo-drawer {
	display: none;
	margin-top: 12px;
}

.photo-drawer.is-open {
	display: block;
}

.photo-drawer__panel {
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

.photo-drawer__header {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 16px;
	margin-bottom: 14px;
}

.photo-drawer__header h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.photo-drawer__close {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--accent);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.photo-drawer__close:hover,
.photo-drawer__close:focus-visible {
	color: var(--accent-strong);
}

.photo-strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(220px, 28vw);
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.photo-card {
	margin: 0;
	border-radius: 6px;
	overflow: hidden;
	background: #f4f4f4;
	border: 1px solid #e5e5e5;
	scroll-snap-align: start;
}

.photo-card img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.site-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 24px 0 0;
	margin-top: 20px;
	color: var(--muted);
	font-size: 0.95rem;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
}

.footer-links a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
	color: var(--text);
}

@media (max-width: 920px) {
	.hero {
		min-height: 72vh;
		padding: 18px;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
	}

	.photo-drawer {
		margin-top: 10px;
	}

	.photo-strip {
		grid-auto-columns: minmax(180px, 72vw);
	}
}

@media (max-width: 640px) {
	.page-shell {
		width: min(100% - 16px, 960px);
		padding: 12px 0 24px;
	}

	h1 {
		font-size: clamp(2rem, 10vw, 2.8rem);
	}

	.actions {
		gap: 12px 14px;
	}

	.hero-copy {
		max-width: 100%;
	}

	.photo-strip {
		grid-auto-columns: minmax(75vw, 75vw);
	}
}

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

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