/* Recruiter content pages — same atmosphere as homepage */

:root {
	--nav-bg: #8D673C;
	--accent: #E1C4A1;
	--accent-soft: #E1C4A1;
	--soft: #cfcfcf;
	--panel: rgba(82, 71, 50, 0.72);
	--line: rgba(255, 255, 255, 0.12);
}

body.page-content {
	margin: 0;
	background-image: url("../img/img6.svg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	min-height: 100vh;
	width: 100%;
	overflow-x: hidden;
	color: #f0f0f0;
	font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

body.page-about {
	/* Teal palette pulled from bg3.svg */
	--nav-bg: #19424B;
	--accent: #9EB8BA;
	--accent-soft: #B8CACC;
	--soft: #C0D0D2;
	--panel: rgba(25, 66, 75, 0.82);
	--line: rgba(184, 202, 204, 0.22);
	background-image: url("../bg3.svg");
	color: #EDF5F8;
}

body.page-about .panel {
	border-color: rgba(122, 155, 156, 0.35);
	box-shadow: 0 18px 50px rgba(1, 36, 42, 0.45);
}

body.page-about .page-title,
body.page-about .edu-title,
body.page-about .section-heading {
	color: #EDF5F8;
}

body.page-about .edu-degree {
	color: var(--soft);
}


body.page-about .btn-primary {
	background-color: #3F696B;
	border-color: #3F696B;
}

body.page-about .btn-primary:hover,
body.page-about .btn-primary:focus {
	background-color: #7A9B9C;
	border-color: #7A9B9C;
}

body.page-about .btn-ghost {
	border-color: rgba(184, 202, 204, 0.75);
	color: #EDF5F8;
}

body.page-about .btn-ghost:hover {
	background: #B8CACC;
	color: #19424B;
}

body.page-about .chip {
	background: rgba(63, 105, 107, 0.45);
	border-color: rgba(184, 202, 204, 0.3);
	color: #EDF5F8;
}

body.page-experience {
	/* Dusty rose taupe + cream from bg16.svg */
	--nav-bg: #765A47;
	--accent: #FDF9CC;
	--accent-soft: #FBF8E1;
	--soft: #E9DFD6;
	--panel: rgba(75, 55, 45, 0.9);
	--line: rgba(253, 249, 204, 0.28);
	background-image: url("../bg16.svg");
	color: #FBF8F0;
}

body.page-experience .panel {
	border-color: rgba(199, 175, 165, 0.4);
	box-shadow: 0 18px 50px rgba(70, 50, 42, 0.4);
}

body.page-experience .page-title,
body.page-experience .role-title,
body.page-experience .role-subtitle,
body.page-experience .section-heading {
	color: #FBF8F0;
}

body.page-experience .role-title {
	color: #FBF8E1;
}

body.page-experience .lead,
body.page-experience .panel p,
body.page-experience .meta,
body.page-experience .role li {
	color: var(--soft);
}

body.page-experience .exp-group-title {
	border-bottom-color: rgba(253, 249, 204, 0.4);
}

body.page-experience .role-sub {
	border-left-color: rgba(186, 88, 79, 0.55);
}

body.page-experience .tag {
	border-color: rgba(253, 249, 204, 0.4);
	color: #FDF9CC;
	background: rgba(253, 249, 204, 0.12);
}

body.page-experience .btn-primary {
	background-color: #917961;
	border-color: #917961;
	color: #FBF8F0;
}

body.page-experience .btn-primary:hover,
body.page-experience .btn-primary:focus {
	background-color: #FDF9CC;
	border-color: #FDF9CC;
	color: #765A47;
}

body.page-experience .btn-ghost {
	border-color: rgba(251, 248, 225, 0.7);
	color: #FBF8F0;
}

body.page-experience .btn-ghost:hover {
	background: #FBF8E1;
	color: #765A47;
}

body.page-experience .footnote a {
	color: var(--accent-soft);
}

body.page-experience .role-body a {
	color: var(--accent-soft);
	width: auto;
	text-align: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.page-experience .role-body a:hover {
	color: var(--accent);
}

body.page-experience .role-summary:focus-visible {
	box-shadow: 0 0 0 2px rgba(253, 249, 204, 0.5);
}

body.page-projects {
	/* Mist blue + dusty rose/coral from bg6.svg */
	--nav-bg: #735C58;
	--accent: #F18277;
	--accent-soft: #E3C2BE;
	--soft: #D1D8E2;
	--panel: rgba(88, 68, 64, 0.88);
	--line: rgba(209, 216, 226, 0.28);
	background-image: url("../bg6.svg");
	color: #F5F2F0;
}

body.page-projects .panel {
	border-color: rgba(227, 194, 190, 0.38);
	box-shadow: 0 18px 50px rgba(70, 55, 52, 0.42);
}

body.page-projects .page-title,
body.page-projects .project h3,
body.page-projects .section-heading {
	color: #F5F2F0;
}

body.page-projects .project h3 {
	color: #E3C2BE;
}

body.page-projects .lead,
body.page-projects .panel p,
body.page-projects .meta,
body.page-projects .project li,
body.page-projects .project .role-body > p {
	color: var(--soft);
}

body.page-projects .tag {
	border-color: rgba(241, 130, 119, 0.45);
	color: #F5D4CF;
	background: rgba(241, 130, 119, 0.14);
}

body.page-projects .role-body a {
	color: var(--accent-soft);
	width: auto;
	text-align: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.page-projects .role-body a:hover {
	color: var(--accent);
}

body.page-projects .role-summary:focus-visible {
	box-shadow: 0 0 0 2px rgba(241, 130, 119, 0.5);
}

body.page-contact {
	/* Deep umber + coral/rust from bg19.svg */
	--nav-bg: #55393C;
	--accent: #FC8C66;
	--accent-soft: #E2876B;
	--soft: #C07D69;
	--panel: rgba(11, 5, 4, 0.9);
	--line: rgba(252, 140, 102, 0.28);
	background-image: url("../bg19.svg");
	color: #FBF0EB;
}

body.page-contact .panel {
	border-color: rgba(180, 119, 100, 0.42);
	box-shadow: 0 18px 50px rgba(8, 2, 2, 0.55);
}

body.page-contact .page-title {
	color: #FBF0EB;
}

body.page-contact .lead,
body.page-contact .panel p {
	color: var(--accent-soft);
}

body.page-contact .contact-list a {
	color: var(--accent);
}

body.page-contact .contact-list a:hover {
	color: #FBF0EB;
}

body.page-contact .btn-primary {
	background-color: #644443;
	border-color: #644443;
	color: #FBF0EB;
}

body.page-contact .btn-primary:hover,
body.page-contact .btn-primary:focus {
	background-color: #FC8C66;
	border-color: #FC8C66;
	color: #0B0504;
}

body.page-contact .btn-ghost {
	border-color: rgba(231, 137, 106, 0.75);
	color: #FBF0EB;
}

body.page-contact .btn-ghost:hover {
	background: #E2876B;
	color: #0B0504;
}

.about-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 0.35rem;
}

.about-hero-copy {
	min-width: 0;
	flex: 1 1 auto;
}

.about-hero .page-title {
	margin-bottom: 0;
}

.about-photo {
	float: right;
	width: 240px;
	height: 240px;
	object-fit: cover;
	object-position: center top;
	border-radius: 16px;
	border: 1px solid rgba(184, 202, 204, 0.35);
	box-shadow: 0 10px 28px rgba(1, 36, 42, 0.35);
	margin: 0 0 1rem 1.25rem;
	shape-outside: margin-box;
}

.about-panel .page-kicker {
	display: block;
}

.about-panel .page-title {
	overflow: hidden;
}

.about-panel .section-heading,
.about-panel .edu,
.about-panel .chip-row {
	clear: both;
}

@media (max-width: 575.98px) {
	.about-photo {
		width: 120px;
		height: 120px;
		border-radius: 14px;
		margin: 0 0 0.85rem 0.9rem;
	}
}

.page-content .wrapper {
	overflow: hidden;
	width: 100%;
	position: relative;
	min-height: 100vh;
}

/* Match homepage nav behavior */
.page-content .wrapper > .container {
	padding: 0;
	position: absolute;
	width: auto;
	left: 0;
	right: 0;
	border-radius: 0 0 25px 0;
	overflow: hidden;
	z-index: 1030;
	opacity: 0.5;
}

.page-content .wrapper > .container:hover,
.page-content .wrapper > .container:focus-within {
	opacity: 0.7;
}

.page-content .navbar-nav {
	width: 100%;
}

.page-content .toggle-button {
	color: white;
}

.page-content .justify-content-center {
	-ms-flex-pack: left !important;
	justify-content: left !important;
}

.page-content .nav-item.nav-link.active,
.page-content span.nav-link.active {
	font-weight: 800;
	width: 20%;
	color: var(--accent-soft);
	text-align: left;
}

.page-content a.nav-link {
	color: white;
	width: 40%;
	text-align: left;
}

.page-content a.nav-link:hover {
	color: var(--accent);
	font-weight: bolder;
	border-radius: 2px;
	text-decoration: none;
}

.page-content .bg-custom {
	background-color: var(--nav-bg);
}

.page-content .content-main {
	padding: 5rem 1.25rem 3rem;
	max-width: 880px;
	margin: 0 auto;
}

.panel {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: clamp(1.25rem, 3vw, 2rem);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	animation: fadein 0.9s ease;
}

.page-kicker {
	display: inline-block;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-soft);
	font-weight: 700;
	margin-bottom: 0.45rem;
}

.page-title {
	font-size: clamp(1.85rem, 4vw, 2.5rem);
	font-weight: 800;
	margin: 0 0 0.85rem;
	color: #fff;
	animation: fadein 1s ease;
}

.lead {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--soft);
	margin-bottom: 1rem;
}

.panel p {
	line-height: 1.65;
	color: var(--soft);
	margin-bottom: 0.9rem;
}

.section-heading {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	margin: 1.6rem 0 0.7rem;
}

.exp-group-title {
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--accent-soft);
	margin: 1.75rem 0 0.35rem;
	padding-bottom: 0.45rem;
	border-bottom: 1px solid rgba(225, 196, 161, 0.35);
}

.exp-group-title:first-of-type {
	margin-top: 1.1rem;
}


.role,
.project,
.edu {
	padding: 1rem 0;
	border-top: 1px solid var(--line);
}

.role:first-of-type,
.project:first-of-type,
.edu:first-of-type {
	border-top: none;
	padding-top: 0.2rem;
}

.exp-group-title + .role {
	border-top: none;
	padding-top: 0.35rem;
}

.role-fold {
	width: 100%;
}

.role-summary {
	list-style: none;
	cursor: pointer;
	display: block;
	position: relative;
	padding-left: 1.15rem;
	border-radius: 8px;
	outline: none;
}

.role-summary::-webkit-details-marker {
	display: none;
}

.role-summary::marker {
	content: "";
}

.role-summary::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0.1rem;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid var(--accent-soft);
	border-bottom: 2px solid var(--accent-soft);
	transform: translateY(-60%) rotate(-45deg);
	transition: transform 0.18s ease;
	opacity: 0.95;
}

.role-fold[open] > .role-summary::before {
	transform: translateY(-40%) rotate(45deg);
}

.role-summary:hover .role-org,
.role-summary:hover .role-title,
.role-summary:hover h3 {
	color: var(--accent-soft);
}

.role-summary:focus-visible {
	box-shadow: 0 0 0 2px rgba(241, 130, 119, 0.45);
}

.role-body {
	padding: 0.55rem 0 0.15rem 1.15rem;
}

.role-body > ul {
	margin-top: 0.15rem;
}

.project .role-body > p {
	margin: 0.15rem 0 0;
	color: var(--soft);
	line-height: 1.55;
}

.project .role-body > p.meta {
	margin-top: 0.45rem;
}

.project .role-body > .tags {
	margin-top: 0.55rem;
}

.project-detail {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem 1rem;
}

.project-detail-copy {
	flex: 1 1 12rem;
	min-width: 0;
}

.project-media {
	flex: 0 0 auto;
	width: min(100%, 168px);
	max-height: 118px;
	object-fit: contain;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: rgba(0, 0, 0, 0.12);
}

@media (min-width: 480px) {
	.project-detail {
		flex-wrap: nowrap;
	}

	.project-media {
		width: 168px;
		margin-left: auto;
	}
}

.role-summary .role-header {
	margin-bottom: 0;
}

.role-header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 0.15rem 0.9rem;
	align-items: center;
	margin-bottom: 0.45rem;
}

.edu-header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 0.15rem 0.9rem;
	align-items: center;
	margin-bottom: 0.45rem;
}

.edu-header .role-copy {
	grid-column: 2;
}

.edu-header .role-topline,
.edu-header .role-bottomline {
	align-items: center;
}

.edu-header .role-topline {
	margin-bottom: 0;
}

.edu-header p.edu-title {
	margin: 0;
	line-height: 1.25;
}

.edu-title {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	color: #fff;
	min-width: 0;
	line-height: 1.25;
}

.edu-degree {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #d7dee8;
	line-height: 1.25;
	min-width: 0;
	flex: 1 1 auto;
}

.edu-header .role-bottomline .meta {
	flex: 0 0 auto;
	margin-left: 1rem;
	text-align: right;
}

.edu-detail {
	margin: 0.35rem 0 0;
	margin-left: calc(44px + 0.9rem);
	padding-left: 1.15rem;
	list-style: disc;
}

.edu-detail li {
	margin: 0.28rem 0;
	line-height: 1.5;
}


.role-header-sub {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 0.45rem;
}

.role-header-sub .role-copy {
	grid-column: auto;
	flex: 1 1 auto;
	min-width: 0;
}

.role-header-sub > .meta {
	flex: 0 0 auto;
	text-align: right;
	white-space: nowrap;
}

.role-logo {
	grid-column: 1;
	width: 44px;
	height: 44px;
	object-fit: contain;
	align-self: center;
	background: transparent;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}

.role-logo-wide {
	width: 88px;
	height: 44px;
}

.role-header:has(.role-logo-wide) {
	grid-template-columns: 88px minmax(0, 1fr);
}

.role-copy {
	grid-column: 2;
	min-width: 0;
}

.role-topline,
.role-bottomline {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
}

.role-topline {
	margin-bottom: 0.15rem;
}

.role-location,
.role-bottomline .meta {
	flex: 0 0 auto;
	text-align: right;
	white-space: nowrap;
	margin-left: auto;
}

.role-org {
	color: var(--accent-soft);
	font-weight: 700;
	font-size: 1.02rem;
	line-height: 1.3;
	min-width: 0;
}

.role-location {
	color: var(--accent-soft);
	font-weight: 700;
	font-size: 1.02rem;
	line-height: 1.3;
}

.role-identity {
	display: contents;
}

.role-title,
.project h3,
.edu-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
}

.role-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #d7dee8;
	min-width: 0;
}

.role-sub {
	margin-top: 0.95rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-left: 0.85rem;
	border-left: 2px solid rgba(225, 196, 161, 0.45);
}

.role-subtitle {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 700;
	color: #fff;
}

.meta {
	color: #9aa3ad;
	font-size: 0.9rem;
}

.role ul,
.project ul {
	margin: 0.4rem 0 0;
	padding-left: 1.15rem;
	color: var(--soft);
}

.role li,
.project li {
	margin: 0.28rem 0;
	line-height: 1.5;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.55rem;
}

.tag {
	font-size: 0.75rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	border: 1px solid rgba(191, 154, 109, 0.45);
	color: #E1C4A1;
	background: rgba(141, 103, 60, 0.28);
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.45rem;
}

.chip {
	font-size: 0.82rem;
	padding: 0.28rem 0.65rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #e8eef8;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	margin-top: 0.85rem;
}

.cta-btn {
	min-width: 7.25rem;
	font-size: 0.95rem;
	padding: 0.45rem 0.9rem;
	border-radius: 4px;
}

.btn-ghost {
	border: 1px solid rgba(255, 255, 255, 0.75);
	color: #fff;
	background: transparent;
}

.btn-ghost:hover {
	background: #fff;
	color: #000;
	text-decoration: none;
}

.contact-list {
	list-style: none;
	padding: 0;
	margin: 0.75rem 0 0;
}

.contact-list li {
	margin: 0.65rem 0;
}

.contact-list a {
	color: var(--accent-soft);
	font-weight: 600;
	font-size: 1.05rem;
}

.contact-list a:hover {
	color: #fff;
}

.logo-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
}

.logo-row .contact-logo {
	width: 42px;
	height: 42px;
	transition: transform 0.15s ease;
}

.logo-row a:hover .contact-logo {
	transform: scale(1.08);
}

.bg-location {
	position: fixed;
	left: 0.85rem;
	bottom: 0.85rem;
	top: auto;
	transform: none;
	z-index: 2;
	margin: 0;
	padding: 0;
	max-width: min(11.5rem, 22vw);
	font-size: 0.62rem;
	letter-spacing: 0.06em;
	line-height: 1.3;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.5);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
}

.bg-location.is-hidden {
	visibility: hidden;
}

@media (max-width: 575.98px) {
	.bg-location {
		font-size: 0.55rem;
		left: 0.55rem;
		max-width: min(10rem, 28vw);
	}
}

.footnote {
	margin-top: 1.35rem;
	font-size: 0.9rem;
	color: #8b9bb0;
}

.footnote a {
	color: var(--accent);
}

@media (min-width: 544px) {
	.page-content .wrapper > .container {
		border-radius: 0 0 20px 20px;
	}
	.page-content .justify-content-center {
		-ms-flex-pack: center !important;
		justify-content: center !important;
	}
	.page-content a.nav-link {
		width: 100%;
	}
	.page-content .nav-item.nav-link.active,
	.page-content span.nav-link.active {
		width: auto;
	}
}

@keyframes fadein {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Homepage dual CTAs */
.home-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 0.35rem;
}

.home-cta-row .btn {
	animation: fadein 3s;
}

#resume-swe,
#resume-ml,
#resume-contact {
	font-size: 0.65rem;
	white-space: nowrap;
	padding: 2px 8px;
	margin: 0;
	min-width: 72px;
}

@media (min-width: 768px) {
	#resume-swe,
	#resume-ml,
	#resume-contact {
		font-size: 0.95rem;
		min-width: 110px;
		padding: 4px 10px;
	}
}

@media (min-width: 1200px) {
	#resume-swe,
	#resume-ml,
	#resume-contact {
		font-size: 1.05rem;
		min-width: 120px;
		padding: 5px 12px;
	}
}

#subtitle {
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
}

.hero-secondary {
	font-size: 0.7rem;
	color: #a9b4c4;
	font-weight: 500;
	margin: -0.15rem auto 0.55rem;
	max-width: 28rem;
	animation: fadein 2.8s ease;
}

@media (min-width: 768px) {
	.hero-secondary {
		font-size: 0.95rem;
	}
}

@media (min-width: 1200px) {
	.hero-secondary {
		font-size: 1.15rem;
	}
}
