/* Inter, self hosted. No CDN. */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jacob Morley Theme. Hand written, no framework.
   Tokens sampled from the mockup. */

:root {
	--bg: #f7f7f7;
	--surface: #ffffff;
	--ink: #151515;
	--ink-soft: #262626;
	--muted: #6b6b6b;
	--line: #ebebec;
	--outline: #cfcfd1;
	--green: #28c76f;

	--radius-pill: 999px;
	--radius-shell: 28px;
	--container: 1440px;
	--gutter: 16px;

	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

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

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Shell: the white rounded page sitting on the grey backdrop. */
.shell {
	background: var(--surface);
	border-radius: var(--radius-shell);
	margin: 14px;
	min-height: calc(100vh - 28px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
}

/* ---------- Header ---------- */
.site-header { padding: 18px var(--gutter) 0; }

.nav {
	max-width: var(--container);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}
.badge__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--green);
	flex: none;
}

.nav__list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0 auto;
	padding: 0;
}
.nav__link {
	font-size: 15px;
	font-weight: 500;
	display: inline-flex;
	align-items: flex-start;
	gap: 3px;
}
.nav__link:hover { opacity: .65; }
.nav__count {
	font-size: 10px;
	color: var(--muted);
	font-weight: 400;
	transform: translateY(-1px);
}

.nav__toggle {
	display: none;
	width: 42px; height: 42px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: none;
	cursor: pointer;
	position: relative;
	margin-left: auto;
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
	position: absolute; left: 50%; transform: translateX(-50%);
	width: 16px; height: 1.5px; background: var(--ink); content: "";
}
.nav__toggle-bar { top: 50%; margin-top: -.75px; }
.nav__toggle-bar::before { top: -5px; left: 0; transform: none; }
.nav__toggle-bar::after { top: 5px; left: 0; transform: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: var(--radius-pill);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	transition: opacity .18s ease;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { opacity: .85; }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn .arrow { font-size: 1.05em; line-height: 1; }

/* ---------- Hero ---------- */
.site-main { flex: 1 0 auto; display: flex; flex-direction: column; }

.hero {
	position: relative;
	flex: 1 0 auto;
	max-width: var(--container);
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 0;
}

.hero__name {
	margin: clamp(18px, 3.4vw, 46px) 0 0;
	font-size: clamp(56px, 13.2vw, 206px);
	line-height: .86;
	font-weight: 800;
	letter-spacing: -.035em;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
	gap: .06em;
	white-space: nowrap;
	position: relative;
	z-index: 1;
}
.hero__name-outline {
	color: transparent;
	-webkit-text-stroke: 2px var(--outline);
	text-stroke: 2px var(--outline);
}
.hero__name-solid { color: var(--ink); }

.hero__portrait {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	z-index: 2;
	width: min(42vw, 560px);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
}
.hero__portrait-img { width: 100%; height: auto; object-fit: contain; }
.hero__portrait-placeholder {
	width: 100%;
	height: auto;
	fill: #ededee;
}

.hero__intro {
	position: absolute;
	left: var(--gutter);
	bottom: clamp(26px, 5vw, 64px);
	z-index: 3;
	max-width: 23rem;
}
.hero__role {
	margin: 0;
	font-size: clamp(22px, 2.1vw, 30px);
	font-weight: 700;
	letter-spacing: -.02em;
}
.hero__tagline {
	margin: 10px 0 20px;
	color: var(--muted);
	font-size: 15px;
	max-width: 19rem;
}

.hero__socials {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(26px, 5vw, 64px);
	z-index: 3;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
}
.social-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font-size: 14px;
	font-weight: 500;
	background: var(--surface);
	min-width: 148px;
	transition: border-color .18s ease;
}
.social-pill:hover { border-color: var(--ink); }
.social-pill__icon { width: 16px; height: 16px; fill: var(--ink); flex: none; }

/* ---------- Simple pages ---------- */
.page-body {
	max-width: 46rem;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 90px) var(--gutter);
}
.page-body--center { text-align: center; }
.page-body__title {
	font-size: clamp(30px, 4vw, 52px);
	letter-spacing: -.03em;
	margin: 0 0 20px;
}
.card {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 22px;
	margin-bottom: 18px;
}

.site-footer {
	flex: none;
	border-top: 1px solid var(--line);
	padding: 20px var(--gutter);
	text-align: center;
	color: var(--muted);
	font-size: 13px;
}

/* ---------- Wide screens: keep content in the container ---------- */
@media (min-width: 1921px) {
	.hero__intro { left: calc((100vw - var(--container)) / 2 + var(--gutter)); }
	.hero__socials { right: calc((100vw - var(--container)) / 2 + var(--gutter)); }
}

/* ---------- Mobile: stack neatly ---------- */
@media (max-width: 900px) {
	.shell { margin: 8px; border-radius: 20px; min-height: calc(100vh - 16px); }
	.nav__toggle { display: block; }
	.nav__list {
		display: none;
		position: absolute;
		top: 72px; left: var(--gutter); right: var(--gutter);
		background: var(--surface);
		border: 1px solid var(--line);
		border-radius: 18px;
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		padding: 10px 18px;
		z-index: 20;
	}
	.nav__list.is-open { display: flex; }
	.nav__item { width: 100%; padding: 9px 0; }
	.nav .btn { display: none; }

	.hero {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding-bottom: 36px;
	}
	.hero__name {
		white-space: normal;
		justify-content: center;
		flex-wrap: wrap;
		font-size: clamp(42px, 14vw, 86px);
		gap: .18em;
	}
	.hero__name-outline { -webkit-text-stroke-width: 1.5px; }
	.hero__portrait {
		position: relative;
		left: auto; bottom: auto; transform: none;
		width: min(78vw, 360px);
		margin: 18px 0 6px;
	}
	.hero__intro,
	.hero__socials {
		position: relative;
		left: auto; right: auto; bottom: auto;
		max-width: 100%;
	}
	.hero__intro { margin-top: 10px; }
	.hero__tagline { margin-inline: auto; }
	.hero__socials {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		margin-top: 26px;
	}
	.social-pill { min-width: 0; }
}

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