/* ==========================================================================
   Noir & Gold theme. Loaded LAST so it wins over main.css and inline <style>.
   ========================================================================== */

:root {
	--bg: #0a0a0a;
	--surface: #111111;
	--surface-2: #161616;
	--line: rgba(255, 255, 255, .08);
	--line-strong: rgba(255, 255, 255, .16);
	--text: #f5f2ec;
	--text-muted: #a8a49c;
	--text-dim: #6f6c66;
	--gold: #c9a24b;
	--gold-soft: #e0bd6a;
	--gold-faint: rgba(201, 162, 75, .12);
	--font-display: "Instrument Serif", Georgia, serif;
	--font-body: "Inter", system-ui, sans-serif;
	--radius: 4px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- A1: base ---------------------------------------------------------- */

/* The white area under the content came from html having no background of its
   own while body used a fixed gradient. Paint both with --bg. */
html {
	background: var(--bg);
}

body {
	background: var(--bg);
	background-image: none;
	color: var(--text-muted);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Remove the teal/purple ambient glows */
body::before {
	background: none;
}

#wrapper {
	background: transparent;
}

html {
	font-size: 16px;
}

body, input, select, textarea {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text-muted);
}

@media screen and (min-width: 737px) {
	body, input, select, textarea {
		font-size: 1.0625rem;
	}
}

strong, b {
	color: var(--text);
	font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	color: var(--text);
	letter-spacing: 0;
	text-transform: none;
}

a {
	color: var(--text);
	border-bottom-color: var(--line-strong);
	transition: color .2s var(--ease), border-color .2s var(--ease);
}

a:hover {
	color: var(--gold-soft);
	border-bottom-color: var(--gold);
}

::selection {
	background: var(--gold);
	color: #0a0a0a;
}

::-moz-selection {
	background: var(--gold);
	color: #0a0a0a;
}

:focus-visible {
	outline: 1px solid var(--gold);
	outline-offset: 3px;
}

/* Buttons: square-ish, white hairline, gold on hover */
.button,
button.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	border-radius: var(--radius);
	background: transparent;
	color: var(--text);
	box-shadow: none;
	border: 1px solid var(--line-strong);
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: .12em;
	transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}

.button:hover,
button.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	background: var(--gold-faint);
	border-color: var(--gold);
	color: var(--gold-soft);
	box-shadow: none;
	transform: none;
}

.button.primary {
	border-color: var(--gold);
	color: var(--text);
}

/* ---- A2: hero ---------------------------------------------------------- */

#header {
	background: transparent;
	background-image: none;
}

/* Remove the vertical connector lines the template draws between header children */
#header > *:before {
	display: none;
}

#header .content {
	border: 0;
	padding: 0 1.5rem;
	width: 100%;
}

#header .content .inner {
	padding: 0;
	max-height: none;
	overflow: visible;
	width: 100%;
}

#header .content .hero-eyebrow {
	font-family: var(--font-body);
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 1.75rem;
	text-wrap: balance;
}

#header h1#hero-name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(3.25rem, 9vw, 8rem);
	letter-spacing: -.01em;
	line-height: 1;
	text-transform: none;
	text-shadow: none;
	color: var(--text);
	margin: 0 0 1.75rem;
}

#hero-name .hero-first-name {
	color: var(--text);
	-webkit-text-fill-color: var(--text);
}

#hero-name .hero-last-name {
	color: var(--gold-soft);
	-webkit-text-fill-color: var(--gold-soft);
	font-style: italic;
}

#header .content p.tagline {
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 300;
	font-style: normal;
	letter-spacing: .01em;
	line-height: 1.6;
	text-transform: none;
	color: var(--text-muted);
	margin: 0;
}

@media screen and (max-width: 736px) {
	#header h1#hero-name {
		font-size: clamp(2.75rem, 14vw, 3.5rem);
		letter-spacing: -.01em;
		overflow-wrap: anywhere;
	}

	#header .content .hero-eyebrow {
		font-size: .6875rem;
		letter-spacing: .16em;
		margin-bottom: 1.25rem;
	}

	#header .content p.tagline {
		font-size: 1rem;
	}
}

/* Tech showcase strip */
#tech-showcase.tech-showcase-container {
	width: 100%;
	max-width: 1200px;
	margin-top: 4rem;
	padding: 0;
	background: transparent;
	border-radius: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.tech-carousel {
	padding: 1.25rem 0;
}

.tech-track {
	gap: 1rem;
}

.tech-item {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: .5rem 1rem;
	min-width: 96px;
	animation: none;
	transition: transform .3s var(--ease);
}

.tech-item::before {
	display: none;
}

.tech-item:hover,
.tech-item:focus {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	transform: translateY(-2px);
}

.tech-item img {
	width: 40px;
	height: 40px;
	filter: grayscale(1) brightness(1.6) contrast(.9);
	opacity: .7;
	transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.tech-item:hover img,
.tech-item:focus img,
.tech-item-active img {
	filter: grayscale(0);
	opacity: 1;
	transform: none;
}

.tech-label {
	font-family: var(--font-body);
	font-size: .6875rem;
	font-weight: 400;
	letter-spacing: .08em;
	color: var(--text-dim);
}

.tech-item:hover .tech-label,
.tech-item:focus .tech-label,
.tech-item-active .tech-label {
	color: var(--gold-soft);
}

.tech-fallback-icon {
	background: var(--surface-2);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	color: var(--text-muted);
}

.tech-tooltip {
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	box-shadow: none;
	color: var(--text-muted);
}

/* ---- A3: navigation ---------------------------------------------------- */

.staggered-nav {
	font-family: var(--font-body);
}

.staggered-nav-container {
	display: flex;
	align-items: center;
	gap: .6rem;
}

.contact-quicklink {
	display: flex;
	align-items: center;
	gap: .5rem;
	background: rgba(10, 10, 10, .72);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	color: var(--text);
	padding: .75rem 1.1rem;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .15em;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: border-color .3s var(--ease), color .3s var(--ease);
}

.contact-quicklink i {
	font-size: .8125rem;
	color: var(--gold);
}

.contact-quicklink:hover {
	border-color: var(--gold);
	color: var(--gold-soft);
}

.contact-quicklink:focus {
	outline: none;
}

.contact-quicklink:focus-visible {
	outline: 1px solid var(--gold);
	outline-offset: 3px;
}

@media screen and (max-width: 480px) {
	.contact-quicklink {
		padding: .75rem;
	}

	.contact-quicklink-text {
		display: none;
	}
}

.nav-toggle {
	background: rgba(10, 10, 10, .72);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	color: var(--text);
	padding: .75rem 1.25rem;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	box-shadow: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.nav-toggle:hover,
.nav-toggle.active {
	background: rgba(10, 10, 10, .72);
	border-color: var(--gold);
	color: var(--gold-soft);
	transform: none;
	box-shadow: none;
}

.nav-toggle:focus {
	outline: none;
}

.nav-toggle:focus-visible {
	outline: 1px solid var(--gold);
	outline-offset: 3px;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
	height: 1px;
	background: currentColor;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
	left: 0;
}

.nav-toggle.active .nav-toggle-icon {
	background: transparent;
}

.staggered-menu {
	background: rgba(10, 10, 10, .94);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: .5rem;
	min-width: 240px;
	box-shadow: none;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.staggered-item {
	color: var(--text-muted);
	border-radius: 0;
	border-bottom: 0;
	border-left: 2px solid transparent;
	margin: 0;
	padding: .8rem 1rem;
	box-shadow: none;
}

.staggered-item::before {
	display: none;
}

.staggered-item:hover {
	color: var(--gold-soft);
	background: var(--gold-faint);
	transform: none;
	box-shadow: none;
	border-bottom: 0;
}

.staggered-item.active {
	color: var(--gold-soft);
	background: var(--gold-faint);
	border-left: 2px solid var(--gold);
	box-shadow: none;
}

.staggered-item:hover .item-icon {
	transform: none;
}

.item-icon {
	color: inherit;
	font-size: .9rem;
}

.item-label {
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 400;
	letter-spacing: .08em;
}

/* Legacy dropdown (hidden in markup, kept for the inline script) */
.main-nav-button,
.dropdown-content a {
	border-radius: var(--radius);
}

.dropdown-content {
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	box-shadow: none;
}

.dropdown-content a {
	color: var(--text-muted);
}

.dropdown-content a:hover {
	color: var(--gold-soft);
	background: var(--gold-faint);
}

/* ---- B1: sections ------------------------------------------------------ */

#main article {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	width: 100%;
	max-width: 1100px;
	min-height: 0;
	margin: 0 auto;
	padding: clamp(5rem, 10vw, 9rem) 1.5rem;
}

#main article + article {
	border-top: 1px solid var(--line);
}

#main article::before,
#main article::after {
	display: none;
}

/* Eyebrow: "01 — My Story" */
.section-eyebrow {
	font-family: var(--font-body);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1.6;
	color: var(--gold);
	margin: 0 0 1rem;
}

#main article p.section-eyebrow {
	margin-bottom: 1rem;
	line-height: 1.6;
}

/* Section titles: serif, no gradient, no underline box */
h1.major, h2.major, h3.major, h4.major, h5.major, h6.major,
#main article h2.major,
.section-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.05;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text);
	-webkit-text-fill-color: var(--text);
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
	animation: none;
	border: 0;
	width: auto;
	padding: 0;
	margin: 0 0 2.5rem;
}

#main article h3.section-title {
	margin-top: 0;
}

/* Awards title sits inside the Projects article */
#awards + h2.major {
	margin-top: 0;
}

#awards {
	height: 0;
	margin-top: clamp(4rem, 8vw, 7rem);
}

#awards + h2.major::before {
	content: none;
}

@media screen and (max-width: 736px) {
	#main article {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	h2.major,
	#main article h2.major,
	.section-title {
		font-size: clamp(2.25rem, 10vw, 2.75rem);
		margin-bottom: 1.75rem;
	}
}

/* ---- B2: story + timeline --------------------------------------------- */

.story-header {
	display: flex;
	align-items: flex-start;
	gap: clamp(2rem, 4vw, 3.5rem);
	margin: 0 0 3rem;
}

.story-portrait {
	flex: 0 0 200px;
	width: 200px;
}

.story-portrait img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	filter: grayscale(1) contrast(1.05);
	transition: filter .3s var(--ease), border-color .3s var(--ease);
}

.story-portrait img:hover {
	filter: grayscale(0) contrast(1);
	border-color: var(--line-strong);
}

.story-intro {
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.65;
	font-weight: 300;
	color: var(--text-muted);
	text-align: left;
	max-width: 62ch;
	margin: 0;
	flex: 1 1 420px;
	min-width: 0;
}

@media screen and (max-width: 736px) {
	.story-header {
		flex-direction: column;
		align-items: center;
		text-align: left;
	}

	.story-portrait {
		flex: 0 0 auto;
		width: 140px;
	}
}

#main article .story-intro p {
	margin: 0;
	line-height: inherit;
}

.story-intro strong {
	color: var(--text);
}

.story-timeline {
	margin: 2rem 0 0;
	padding: 0;
}

.timeline-track {
	gap: 1.25rem;
	padding: .5rem 0 1.5rem;
	scrollbar-color: var(--line-strong) transparent;
}

.timeline-track::-webkit-scrollbar-thumb {
	background: var(--line-strong);
	border-radius: 0;
}

.timeline-track::-webkit-scrollbar-track {
	background: transparent;
}

.timeline-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 1.5rem;
	transition: border-color .25s var(--ease), transform .25s var(--ease), height .4s var(--ease);
}

.timeline-card:hover {
	background: var(--surface);
	border-color: var(--line-strong);
	box-shadow: none;
	transform: translateY(-2px);
}

.timeline-card.timeline-current {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
}

.timeline-card.timeline-current:hover {
	border-color: var(--line-strong);
	border-top-color: var(--gold);
}

.timeline-education,
.timeline-education:hover {
	background: var(--surface);
	border-color: var(--line);
}

.timeline-card.collapsed,
.timeline-card.collapsed:hover,
.timeline-card.expanded {
	box-shadow: none;
}

.timeline-card.collapsed:hover,
.timeline-card.expanded {
	border-color: var(--line-strong);
}

.timeline-card.timeline-current.collapsed:hover,
.timeline-card.timeline-current.expanded {
	border-top-color: var(--gold);
}

.timeline-year {
	font-family: var(--font-body);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-shadow: none;
	margin-bottom: 1rem;
}

.timeline-current .timeline-year {
	color: var(--gold);
}

.company-icon {
	color: var(--text-dim);
	font-size: 1.25rem;
	margin-bottom: .75rem;
}

.timeline-company h4 {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--text);
	margin: 0 0 .25rem;
}

.timeline-company h5 {
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 400;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--text-muted);
	margin: 0;
}

.timeline-description p,
#main article .timeline-description p {
	font-size: .875rem;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 0;
}

.skill-tag {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 400;
	padding: .25rem .6rem;
	background: transparent;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	color: var(--text-muted);
}

.timeline-highlight {
	border-top: 1px solid var(--line);
}

.timeline-highlight strong {
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--text-dim);
}

.timeline-highlight li {
	font-size: .8125rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.expand-indicator {
	color: var(--text-dim);
}

.timeline-card:hover .expand-indicator {
	color: var(--gold);
	transform: none;
}

/* Arrows: square 40px, black + hairline, gold on hover */
.timeline-nav {
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 1rem;
	border-radius: var(--radius);
	background: var(--bg) !important;
	border: 1px solid var(--line-strong);
	color: var(--text);
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.timeline-nav:hover {
	background: var(--bg) !important;
	border-color: var(--gold);
	color: var(--gold-soft);
	box-shadow: none;
	transform: translateY(-50%);
}

.timeline-nav:active {
	transform: translateY(-50%);
}

@media screen and (max-width: 736px) {
	.timeline-nav {
		width: 40px;
		height: 40px;
	}

	.timeline-card {
		padding: 1.25rem;
	}
}

/* ---- B3: core expertise ------------------------------------------------ */

.core-expertise {
	margin: clamp(4rem, 8vw, 7rem) 0 0;
}

.core-expertise h3,
#main article .core-expertise h3 {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
	text-align: left;
	color: var(--text);
	-webkit-text-fill-color: var(--text);
	background: none;
	margin: 0 0 2rem;
}

.expertise-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin: 0;
	background: var(--line);
	border: 1px solid var(--line);
}

.expertise-item {
	background: var(--bg);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 2rem;
	text-align: left;
	transition: background-color .25s var(--ease);
}

.expertise-item:hover {
	background: var(--surface);
	border: 0;
	box-shadow: none;
	transform: none;
}

.expertise-icon {
	color: var(--gold);
	margin-bottom: 1.25rem;
}

.expertise-icon svg {
	width: 28px;
	height: 28px;
	stroke: var(--gold);
	stroke-width: 1.5;
	filter: none;
}

.expertise-item h4,
#main article .expertise-item h4 {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--text);
	margin: 0 0 .75rem;
}

.expertise-item p,
#main article .expertise-item p {
	font-size: .9375rem;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 0;
}

@media screen and (max-width: 900px) {
	.expertise-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 560px) {
	.expertise-grid {
		grid-template-columns: 1fr;
	}

	.expertise-item {
		padding: 1.5rem;
	}
}

/* ---- Beyond work: 4-col hairline grid, same technique as Core Expertise */

.beyond-work-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin: 0;
	background: var(--line);
	border: 1px solid var(--line);
}

.beyond-work-item {
	background: var(--bg);
	padding: 2rem;
	text-align: left;
}

.beyond-work-item .expertise-icon {
	color: var(--gold);
	font-size: 1.5rem;
}

.beyond-work-item h4 {
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text);
	margin: 1rem 0 .5rem;
}

.beyond-work-item p {
	font-size: .875rem;
	color: var(--text-muted);
	margin: 0;
}

@media screen and (max-width: 900px) {
	.beyond-work-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 560px) {
	.beyond-work-grid {
		grid-template-columns: 1fr;
	}

	.beyond-work-item {
		padding: 1.5rem;
	}
}

/* ---- Project categories: collapsible groups to cut scroll length ------- */

.projects-category {
	border-bottom: 1px solid var(--line);
}

.projects-category-header {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 1rem;
	padding: 1.5rem 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-body);
	color: var(--text);
}

.projects-category-header:hover {
	background: none;
	box-shadow: none;
	transform: none;
}

.category-icon {
	color: var(--gold);
	font-size: 1rem;
	flex: 0 0 auto;
}

.category-title {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-weight: 400;
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal;
	line-height: 1.2;
}

@media screen and (max-width: 480px) {
	.category-title {
		font-size: 1.125rem;
	}

	.category-count {
		display: none;
	}
}

.category-count {
	font-size: .8125rem;
	color: var(--text-dim);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: .15rem .65rem;
	flex: 0 0 auto;
}

.category-chevron {
	color: var(--text-muted);
	font-size: .875rem;
	flex: 0 0 auto;
	transition: transform .3s var(--ease), color .3s var(--ease);
}

.projects-category.expanded .category-chevron {
	transform: rotate(180deg);
	color: var(--gold);
}

.projects-category-header:hover .category-title {
	color: var(--gold-soft);
}

.projects-category-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s var(--ease);
}

.projects-category.expanded .projects-category-body {
	max-height: 6000px;
}

.projects-category-body .project-expander-item:first-child {
	border-top: 0;
}

/* ---- C1: projects accordion + timeline arrow row ----------------------- */

/* Arrows move out of the track: control row top-right of the timeline */
.story-timeline {
	padding-top: 3.5rem;
}

.timeline-nav-left,
.timeline-nav-right {
	top: 0;
	transform: none;
}

.timeline-nav-left {
	left: auto;
	right: 3rem;
}

.timeline-nav-right {
	right: 0;
}

.timeline-nav:hover,
.timeline-nav:active {
	transform: none;
}

/* Collapsed cards: let the role title wrap instead of being clipped */
.timeline-card.collapsed {
	height: auto;
	min-height: 140px;
	padding-bottom: 2.75rem;
}

.timeline-company h4 {
	font-size: 1.25rem;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
}

@media screen and (max-width: 980px) {
	.timeline-nav-left {
		left: auto;
		right: 3rem;
	}

	.timeline-nav-right {
		right: 0;
	}
}

@media screen and (max-width: 736px) {
	.timeline-nav-left {
		left: auto;
		right: 3rem;
	}

	.timeline-nav-right {
		right: 0;
	}
}

/* Projects: hairline rows */
.projects-expander-container {
	max-width: none;
	margin: 0;
	border-top: 1px solid var(--line);
}

.project-expander-item {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	margin: 0;
	box-shadow: none;
	overflow: visible;
}

.project-expander-item:hover {
	border-color: var(--line);
	box-shadow: none;
}

.project-expander-header {
	padding: 1.5rem 0;
	gap: 1.5rem;
}

.project-expander-header h3,
#main article .project-expander-header h3 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text);
	margin: 0;
	transition: color .2s var(--ease);
}

.project-expander-header h3 i {
	color: var(--text-dim);
	font-size: .9rem;
	margin-right: .75rem;
	width: 1.1rem;
	text-align: center;
}

.project-expander-item:hover .project-expander-header h3,
.project-expander-item.expanded .project-expander-header h3 {
	color: var(--gold-soft);
}

.expander-icon {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	font-size: 0;
	color: var(--text-muted);
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .3s var(--ease), color .2s var(--ease);
}

.project-expander-item:hover .expander-icon {
	color: var(--text);
}

.project-expander-item.expanded .expander-icon {
	color: var(--gold);
	transform: rotate(225deg) translate(-2px, -2px);
}

.project-panel {
	padding: .5rem 0 2.5rem;
}

.project-panel-row {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.project-panel-text {
	flex: 1 1 280px;
	max-width: 70ch;
	min-width: 0;
}

.project-panel-media {
	flex: 0 0 250px;
	max-width: 100%;
}

.project-panel-media img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--line);
}

#main article .project-panel p,
.project-panel li {
	font-size: .9375rem;
	line-height: 1.65;
	color: var(--text-muted);
}

.project-panel strong {
	color: var(--text);
	font-weight: 500;
}

.project-panel ul {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

.project-panel li {
	margin-bottom: .4rem;
}

.project-stack {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1.25rem;
}

.project-stack-label {
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--text-dim);
	margin-right: .5rem;
}

.project-panel .button {
	margin-top: .5rem;
}

@media screen and (max-width: 736px) {
	.project-expander-header {
		padding: 1.25rem 0;
	}

	.project-expander-header h3,
	#main article .project-expander-header h3 {
		font-size: 1.25rem;
	}

	.project-panel-media {
		flex-basis: 100%;
	}
}

#main article .story-intro p + p {
	margin-top: 1em;
}

/* ---- C2: awards + contact ---------------------------------------------- */

a:hover {
	text-shadow: none;
}

.community-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	align-items: stretch;
	margin: 0 0 clamp(4rem, 8vw, 7rem);
}

.award-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.award-card:hover {
	border-color: var(--line-strong);
	box-shadow: none;
	transform: translateY(-2px);
}

.award-card h4,
#main article .award-card h4 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text);
	margin: 0 0 1rem;
}

.award-card h4 i {
	color: var(--gold);
	font-size: .9rem;
	margin-right: .6rem;
}

#main article .award-card p {
	font-size: .9375rem;
	line-height: 1.65;
	color: var(--text-muted);
	margin: 0 0 1.25rem;
}

.award-card img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	margin-top: auto;
}

.text-link {
	margin-top: auto;
	font-size: .875rem;
	color: var(--text);
	border-bottom: 1px solid var(--line-strong);
}

.text-link:hover {
	color: var(--gold-soft);
	border-bottom-color: var(--gold);
}

.award-card img + .text-link {
	margin-top: 1.25rem;
}

/* Contact: flat, left-aligned */
.contact-section {
	text-align: left;
	margin: 0;
	padding: clamp(4rem, 8vw, 7rem) 0 0;
	background: none;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
}

.contact-section .section-title {
	margin-bottom: 1.5rem;
}

.contact-name {
	font-size: 1.125rem;
	color: var(--text);
	margin: 0 0 .5rem;
}

#main article .contact-section p.contact-links {
	margin: 0 0 2rem;
	color: var(--text-dim);
}

.contact-links a {
	color: var(--text);
	border-bottom: 1px solid var(--line-strong);
}

.contact-links a:hover {
	color: var(--gold-soft);
	border-bottom-color: var(--gold);
}

.contact-links span {
	margin: 0 .5rem;
}

.contact-cv {
	margin: 0 0 2rem;
}

.button.primary,
.contact-cv .button.primary {
	background-color: transparent !important;
	background: transparent;
	border: 1px solid var(--gold);
	box-shadow: none;
	color: var(--gold-soft) !important;
	border-radius: var(--radius);
	font-size: .75rem;
	letter-spacing: .16em;
	min-height: 44px;
	line-height: 44px;
	height: auto;
	padding: 0 1.75rem;
	display: inline-block;
}

.button.primary:hover {
	background-color: var(--gold) !important;
	background: var(--gold);
	border-color: var(--gold);
	box-shadow: none;
	color: #0a0a0a !important;
	transform: none;
}

.button.primary:before {
	margin-right: .6rem;
}

.contact-section .icons {
	display: flex;
	justify-content: flex-start;
	gap: .25rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.contact-section .icons li {
	padding: 0;
}

.contact-section .icons a.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
	color: var(--text-muted);
	font-size: 20px;
	filter: none;
	transition: color .2s var(--ease);
}

.contact-section .icons a.icon:hover {
	color: var(--gold-soft);
	transform: none;
	filter: none;
}

.contact-section .icons a.icon:before {
	font-size: 20px;
	line-height: 1;
}

.contact-section .icons a.icon:hover { background: none; box-shadow: none; }
