:root {
	--bg: #071b18;
	--panel: #102c25;
	--panel2: #0c241e;
	--accent: #a2c960;
	--text: #f6f8f5;
	--muted: #c0cec6;
	--line: rgba(162, 201, 96, .22)
}

* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.7 Arial, Helvetica, sans-serif
}

a {
	color: inherit
}

.wrap {
	width: min(1120px, calc(100% - 48px));
	margin: auto
}

.site-header {
	min-height: 76px;
	padding: 16px max(24px, calc((100vw - 1120px)/2));
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	background: #071b18
}

.brand,
.site-footer a {
	font-weight: 800;
	letter-spacing: .09em;
	text-decoration: none;
	font-size: 1.08rem
}

.brand span,
.site-footer a span {
	color: var(--accent)
}

.site-header nav {
	display: flex;
	gap: 25px;
	flex-wrap: wrap
}

.site-header nav a {
	font-size: .85rem;
	text-decoration: none;
	color: #d5e1d9
}

.site-header nav a:hover {
	color: var(--accent)
}

/* Hero layout: image and copy occupy separate rows, so copy never obscures the face. */
.hero {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 0;
    height: auto;
    overflow: hidden;
    background: #071b18;
}

.hero-image {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(230px, 49svh, 480px);
    flex: none;
    background: url('/images/software-hero.webp') center 17% / cover no-repeat;
}

/* No overlay is necessary on the photograph because text is below it. */
.hero-shade {
    display: none;
}

.hero-content {
    padding-top: 18px;
    padding-bottom: 24px;
}

.eyebrow {
	color: var(--accent);
	font-size: .76rem;
	letter-spacing: .27em;
	font-weight: 800;
	margin: 0 0 8px
}

.hero h1 {
	font-size: clamp(2.05rem, 4vw, 3.7rem);
	line-height: 1.04;
	letter-spacing: -.035em;
	max-width: 800px;
	margin: 0 0 12px
}

.hero h1 em {
	font-style: normal;
	color: var(--accent)
}

.hero-lede {
	font-size: clamp(.96rem, 1.25vw, 1.12rem);
	max-width: 640px;
	margin: 0 0 16px;
	color: #f3f5f1;
	text-shadow: 0 1px 5px #000;
	line-height: 1.38
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	padding: 13px 22px;
	background: var(--accent);
	color: #10241b;
	text-decoration: none;
	font-weight: 800;
	border: 1px solid var(--accent);
	border-radius: 7px;
	line-height: 1.4
}

.button:hover {
	background: #b6db79
}

.button:focus-visible,
a:focus-visible {
	outline: 3px solid white;
	outline-offset: 4px
}

.section {
	padding-top: 95px;
	padding-bottom: 95px
}

.section.intro {
	padding-top: 35px;
	padding-bottom: 65px
}

.section h2 {
	font-size: clamp(2rem, 3.6vw, 3.5rem);
	line-height: 1.13;
	letter-spacing: -.025em;
	margin: 0 0 28px
}

.intro {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 65px
}

.prose {
	color: var(--muted);
	font-size: 1.06rem
}

.prose p:first-child {
	margin-top: 0
}

.band {
	background: linear-gradient(145deg, #0d2b23, #091d19)
}

.timeline {
	border-left: 2px solid var(--line);
	margin: 40px 0 0 12px
}

.timeline-item {
	position: relative;
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 35px;
	padding: 0 0 40px 32px
}

.timeline-item:before {
	content: '';
	position: absolute;
	left: -8px;
	top: 7px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--accent)
}

.period,
.card-kicker {
	font-weight: 800;
	font-size: .85rem;
	letter-spacing: .08em;
	color: var(--accent);
	margin: 3px 0
}

.timeline-item h3 {
	font-size: 1.35rem;
	margin: 0 0 12px;
	line-height: 1.3
}

.timeline-item h3 span {
	display: block;
	font-size: .92rem;
	font-weight: 400;
	color: var(--muted);
	margin-top: 5px
}

.timeline-item p:last-child {
	color: var(--muted);
	margin: 0
}

.fine-print {
	font-size: .8rem;
	color: #aabbb1
}

.cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 36px
}

.card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 32px
}

.card-icon {
	font-size: 2rem;
	color: var(--accent)
}

.card h3 {
	font-size: 1.4rem;
	margin: 5px 0
}

.card p:last-child {
	color: var(--muted);
	margin-bottom: 0
}

.skill-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px
}

.skill-groups>div {
	border-top: 2px solid var(--accent);
	padding-top: 15px
}

.skill-groups h3 {
	margin: 0 0 12px
}

.skill-groups p {
	color: var(--muted);
	margin: 0
}

.education-copy {
	max-width: 850px
}

.journal-band {
	background: #143a2e
}

.journal-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 55px
}

.journal-content>div {
	max-width: 700px
}

.journal-content p:last-child {
	color: #d3e0d7
}

.button-outline {
	background: transparent;
	color: #e9f5dd;
	white-space: nowrap
}

.button-outline:hover {
	color: #10241b
}

.site-footer {
	padding: 35px 0;
	border-top: 1px solid var(--line)
}

.site-footer .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px
}

.site-footer p {
	color: var(--muted);
	font-size: .85rem
}

/* Tablet and smaller desktop layouts */

@media(max-width:850px) {
	.intro {
		grid-template-columns: 1fr;
		gap: 18px
	}


	.timeline-item {
		grid-template-columns: 1fr;
		gap: 5px
	}

	.skill-groups {
		grid-template-columns: 1fr
	}

	.journal-content {
		flex-direction: column;
		align-items: start;
		gap: 20px
	}
}

/* Phone layouts */

@media(max-width:600px) {
	.wrap {
		width: min(100% - 32px, 1120px)
	}

	.site-header {
		padding: 18px 16px;
		align-items: start;
		flex-direction: column;
		gap: 8px
	}

	.site-header nav {
		gap: 18px
	}

    .hero-image {
        height: clamp(185px, 30svh, 310px);
        background-position: 42% 24%;
    }

    .hero-content {
        padding-top: 13px;
        padding-bottom: 18px;
    }

	.hero .eyebrow {
		font-size: .66rem;
		letter-spacing: .16em;
		margin-bottom: 7px;
	}

	.hero .button {
		padding: 10px 16px;
		font-size: .92rem;
	}

	.hero h1 {
		font-size: clamp(1.8rem, 7.1vw, 2.8rem);
		margin-bottom: 9px
	}

	.hero-lede {
		font-size: clamp(.84rem, 3.5vw, 1rem);
		line-height: 1.32;
		margin-bottom: 12px
	}

	.section {
		padding-top: 65px;
		padding-bottom: 65px
	}

	.section.intro {
		padding-top: 25px;
		padding-bottom: 45px
	}

	.cards {
		grid-template-columns: 1fr
	}

	.card {
		padding: 25px
	}

	.site-footer .wrap {
		flex-direction: column;
		align-items: start
	}

	.button-outline {
		white-space: normal
	}
}

@media(prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto
	}
}
/* Technology tags used across all skill categories */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    background: rgba(162, 201, 96, 0.12);
    border: 1px solid rgba(162, 201, 96, 0.45);
    border-radius: 9px;
    color: #c8e5a0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tech-tag:hover {
    background: rgba(162, 201, 96, 0.22);
    border-color: #a2c960;
}


/* Short landscape phones: keep the image short and leave room for the CTA. */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-image { height: clamp(200px, 27svh, 180px); }
    .hero-content { padding-top: 9px; padding-bottom: 13px; }
    .hero h1 { font-size: clamp(1.65rem, 4vw, 2.35rem); }
    .hero-lede { font-size: .88rem; line-height: 1.25; }
}
