/*
	Justin L. Ferrara portfolio layer.
	Built as scoped overrides on the clean Pixelarity Spectral CSS baseline.
*/

@font-face {
	font-display: block;
	font-family: "Portfolio Icons";
	font-style: normal;
	font-weight: 900;
	src: url("../webfonts/portfolio-solid.woff2") format("woff2");
}

@font-face {
	font-display: block;
	font-family: "Portfolio Brands";
	font-style: normal;
	font-weight: 400;
	src: url("../webfonts/portfolio-brands.woff2") format("woff2");
}

.icon::before,
input[type="checkbox"] + label::before,
input[type="radio"] + label::before {
	font-family: "Portfolio Icons" !important;
}

.icon.brands::before {
	font-family: "Portfolio Brands" !important;
}

.fa-book-open::before { content: "\f518"; }
.fa-briefcase::before { content: "\f0b1"; }
.fa-bullseye::before { content: "\f140"; }
.fa-calendar-alt::before { content: "\f073"; }
.fa-chart-bar::before { content: "\f080"; }
.fa-chart-line::before { content: "\f201"; }
.fa-check-double::before { content: "\f560"; }
.fa-clock::before { content: "\f017"; }
.fa-cogs::before { content: "\f085"; }
.fa-columns::before { content: "\f0db"; }
.fa-comments::before { content: "\f086"; }
.fa-compass::before { content: "\f14e"; }
.fa-database::before { content: "\f1c0"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-exclamation-triangle::before { content: "\f071"; }
.fa-file-alt::before { content: "\f15c"; }
.fa-file-code::before { content: "\f1c9"; }
.fa-file-csv::before { content: "\f6dd"; }
.fa-file-excel::before { content: "\f1c3"; }
.fa-file-export::before { content: "\f56e"; }
.fa-folder-open::before { content: "\f07c"; }
.fa-laptop-code::before { content: "\f5fc"; }
.fa-layer-group::before { content: "\f5fd"; }
.fa-linkedin::before { content: "\f08c"; }
.fa-lock::before { content: "\f023"; }
.fa-map-marker-alt::before { content: "\f3c5"; }
.fa-not-equal::before { content: "\f53e"; }
.fa-paperclip::before { content: "\f0c6"; }
.fa-paper-plane::before { content: "\f1d8"; }
.fa-print::before { content: "\f02f"; }
.fa-puzzle-piece::before { content: "\f12e"; }
.fa-qrcode::before { content: "\f029"; }
.fa-random::before { content: "\f074"; }
.fa-server::before { content: "\f233"; }
.fa-shield-alt::before { content: "\f3ed"; }
.fa-sitemap::before { content: "\f0e8"; }
.fa-tools::before { content: "\f7d9"; }
.fa-universal-access::before { content: "\f29a"; }
.fa-user-cog::before { content: "\f4fe"; }
.fa-users::before { content: "\f0c0"; }
.fa-user-shield::before { content: "\f505"; }
.fa-weight-hanging::before { content: "\f5cd"; }

:root {
	--page: #090b14;
	--surface: #111525;
	--surface-raised: #171a2b;
	--surface-indigo: #211936;
	--surface-plum: #2b1a45;
	--text: #b3bdd1;
	--heading: #f7f8fc;
	--muted: #8f9bb4;
	--border: #2a3150;
	--violet: #7c3aed;
	--violet-hover: #6d28d9;
	--berry: #be3a75;
	--berry-light: #f08ab8;
	--cyan: #4cc9f0;
	--focus-ring: #4cc9f0;
	--shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.28);
	--hero-image: url("../../images/banner-dark-1600.jpg");
}

@supports (background-image: image-set(url("../../images/banner-dark-1600.avif") type("image/avif"))) {
	:root {
		--hero-image: image-set(
			url("../../images/banner-dark-1600.avif") type("image/avif"),
			url("../../images/banner-dark-1600.webp") type("image/webp")
		);
	}
}

html,
body {
	background: var(--page);
}

body {
	color: var(--text);
}

#page-wrapper {
	background-color: var(--page);
}

a {
	color: inherit;
}

/* Accessibility foundations */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

:where(main, section, article, [id]):target {
	scroll-margin-top: 5.5rem;
}

.case-section-nav ~ .wrapper[id]:target,
.case-section-nav ~ .wrapper :where(section, article, [id]):target {
	scroll-margin-top: 7.5rem;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	border-radius: 2px;
	outline: 3px solid var(--focus-ring) !important;
	outline-offset: 3px;
}

summary {
	cursor: pointer;
	line-height: 1.5;
	min-height: 44px;
	padding-block: 0.55em;
}

.skip-link {
	background: var(--heading);
	border: solid 2px var(--page);
	border-radius: 3px;
	color: var(--page);
	font-size: 0.8em;
	font-weight: 800;
	left: 0.75rem;
	letter-spacing: 0.08em;
	padding: 0.7rem 1rem;
	position: fixed;
	top: 0.75rem;
	transform: translateY(-200%);
	transition: transform 0.15s ease;
	z-index: 100000;
}

.skip-link:focus,
.skip-link:focus-visible {
	transform: translateY(0);
}

/* Preserve accessible text in icon-only controls. */

.icon > .label {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	display: block !important;
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* JavaScript enhances the primary menu; the noscript stylesheet reveals this. */

#header .noscript-navigation {
	display: none !important;
}

html.menu-fallback #header #nav {
	display: none;
}

html.menu-fallback #header .noscript-navigation {
	display: block !important;
}

strong,
b,
h1,
h2,
h3,
h4,
h5,
h6,
label {
	color: var(--heading);
}

body.landing #page-wrapper {
	background-color: var(--page);
	background-image: linear-gradient(135deg, rgba(9, 11, 20, 0.9), rgba(43, 26, 69, 0.74)), var(--hero-image);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}

#header {
	background: rgba(17, 21, 37, 0.97);
}

#header.alt {
	background: transparent;
}

/* The brand is intentionally not a page heading. Match the former header h1. */

#header .site-title {
	color: var(--heading);
	font-size: 1em;
	font-weight: 800;
	height: inherit;
	left: 1.25em;
	letter-spacing: 0.225em;
	line-height: inherit;
	margin: 0 0 1em;
	position: absolute;
	text-transform: uppercase;
	top: 0;
	transition: opacity 0.2s ease;
}

#header .site-title a {
	border: 0;
	color: inherit;
	display: block;
	height: inherit;
	line-height: inherit;
	text-decoration: none;
}

#header.alt .site-title {
	opacity: 0;
	pointer-events: none;
}

/* Native dialog menu. */

body.menu-open,
body:has(#menu[open]) {
	overflow: hidden;
}

#header nav > ul > li > button.menuToggle {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	display: block;
	font-family: inherit;
	font-size: 0.8em;
	font-weight: 400;
	height: 3.75em;
	letter-spacing: 0.225em;
	line-height: 3.75em;
	max-width: none;
	min-height: 44px;
	min-width: 44px;
	overflow: visible;
	padding: 0 1.5em;
	position: relative;
	text-transform: uppercase;
	white-space: nowrap;
}

#header nav > ul > li > button.menuToggle::after {
	background-image: url("images/bars.svg");
	background-position: right center;
	background-repeat: no-repeat;
	content: '';
	display: inline-block;
	height: 3.75em;
	vertical-align: top;
	width: 2em;
}

#header nav > ul > li > button.menuToggle:hover,
#header nav > ul > li > button.menuToggle:focus-visible {
	background-color: rgba(255, 255, 255, 0.08);
}

#menu {
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	background: var(--surface-indigo);
	color: var(--heading);
	height: 100vh;
	height: 100dvh;
	inset: 0 0 0 auto;
	margin: 0 0 0 auto;
	max-height: 100vh;
	max-height: 100dvh;
	max-width: min(80vw, 20em);
	overflow: hidden;
	padding: 0;
	position: fixed;
	line-height: 1.65em;
	text-align: left;
	transform: none;
	width: min(80vw, 20em);
}

#menu:not([open]) {
	display: none;
}

#menu[open] {
	display: block;
	transform: none;
}

#menu::backdrop {
	background: rgba(9, 11, 20, 0.72);
}

#menu .menu-panel {
	-webkit-overflow-scrolling: touch;
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 3.5em 2em 2em;
}

/* Undo the fixed header's broad nav positioning inside the top-layer dialog. */

#menu nav {
	height: auto;
	line-height: inherit;
	position: static;
	width: auto;
}

#menu nav > ul {
	white-space: normal;
}

#menu nav > ul > li {
	border-top-color: rgba(255, 255, 255, 0.12);
	display: block;
	margin: 0.5em 0 0;
	padding: 0.5em 0 0;
}

#menu nav > ul > li > a {
	align-items: center;
	display: flex;
	min-height: 44px;
	padding: 0.45em 0;
}

#menu nav > ul > li > a:hover,
#menu nav > ul > li > a:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: var(--heading);
}

#menu a[aria-current="page"] {
	border-left: solid 0.25rem currentColor;
	font-weight: 800;
	padding-left: 0.75em;
	text-decoration: underline;
	text-decoration-thickness: 0.14em;
	text-underline-offset: 0.35em;
}

#menu .menu-close {
	background-color: transparent;
	background-image: url("images/close.svg");
	background-position: center;
	background-repeat: no-repeat;
	border: 0;
	box-shadow: none;
	font-size: 0;
	font-family: inherit;
	height: 44px;
	line-height: 1;
	max-width: none;
	min-height: 44px;
	min-width: 44px;
	overflow: visible;
	padding: 0;
	position: absolute;
	right: 0.45em;
	top: 0.45em;
	width: 44px;
	z-index: 1;
}

/* Suppress the obsolete empty close link if the template script inserts it. */

#menu > a.close {
	display: none;
}

#footer {
	background: var(--surface);
	color: var(--muted);
}

#footer .icons a:hover,
#footer .icons a:focus-visible,
#footer .copyright a:hover {
	color: var(--cyan);
}

#footer .copyright a:focus-visible {
	color: var(--cyan);
}

#footer .icons a,
#footer .copyright a {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
	background-color: var(--violet);
	color: var(--heading) !important;
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover,
input[type="submit"].primary:focus-visible,
input[type="reset"].primary:focus-visible,
input[type="button"].primary:focus-visible,
button.primary:focus-visible,
.button.primary:focus-visible {
	background-color: var(--violet-hover) !important;
}

.button.disabled,
.button:disabled,
button:disabled {
	cursor: not-allowed;
	opacity: 0.62;
}

.wrapper {
	background-color: var(--surface);
	color: var(--text);
}

.wrapper.style1 {
	background-color: var(--surface-plum);
	color: #d9dced;
}

.wrapper.style2 {
	background-color: var(--surface);
}

.wrapper.style3 {
	background-color: var(--surface-indigo);
	color: #d9dced;
}

.wrapper.style4 {
	background-color: transparent;
	color: #d9dced;
}

.wrapper.style5 {
	background-color: var(--surface);
	color: var(--text);
}

/* Override the light-theme descendant colors retained by the template. */

.wrapper.style5 strong,
.wrapper.style5 b,
.wrapper.style5 h1,
.wrapper.style5 h2,
.wrapper.style5 h3,
.wrapper.style5 h4,
.wrapper.style5 h5,
.wrapper.style5 h6,
.wrapper.style5 label {
	color: var(--heading);
}

.wrapper.style5 header.major p {
	color: var(--text);
}

.wrapper.style5 .resume-metrics strong,
.wrapper.style5 .case-card-metric,
.wrapper.style5 .case-card-metric strong {
	color: var(--berry-light);
}

.wrapper.style1 h2,
.wrapper.style1 h3,
.wrapper.style1 h4,
.wrapper.style3 h2,
.wrapper.style3 h3,
.wrapper.style3 h4,
.wrapper.style4 h2,
.wrapper.style4 h3,
.wrapper.style5 h2,
.wrapper.style5 h3,
.wrapper.style5 h4 {
	color: var(--heading);
}

.wrapper.style1 header p,
.wrapper.style3 header p,
.wrapper.style4 header p,
.wrapper.style5 header p {
	color: var(--text);
}

.wrapper.style1 header.major h2,
.wrapper.style3 header.major h2,
.wrapper.style5 header.major h2 {
	border-color: var(--border);
}

.wrapper.style1 .button,
.wrapper.style3 .button,
.wrapper.style4 .button,
.wrapper.style5 .button {
	box-shadow: inset 0 0 0 2px var(--border);
	color: var(--heading);
}

.wrapper.style1 .button:hover,
.wrapper.style3 .button:hover,
.wrapper.style4 .button:hover,
.wrapper.style5 .button:hover,
.wrapper.style1 .button:focus-visible,
.wrapper.style3 .button:focus-visible,
.wrapper.style4 .button:focus-visible,
.wrapper.style5 .button:focus-visible {
	background-color: rgba(255, 255, 255, 0.08);
}

.wrapper.style1 .button.primary,
.wrapper.style3 .button.primary,
.wrapper.style4 .button.primary,
.wrapper.style5 .button.primary {
	box-shadow: none;
}

.icon.style1 {
	color: var(--cyan);
}

.icon.style2 {
	color: #a78bfa;
}

.icon.style3 {
	color: var(--berry-light);
}

.section-kicker,
.project-type,
.skill-level,
.case-eyebrow,
.contact-eyebrow,
.journey-overline,
.resume-overline,
.resume-kicker {
	color: var(--berry-light);
	font-size: 0.7em;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin-bottom: 1em;
	text-transform: uppercase;
}

#banner .overline {
	color: var(--cyan);
	font-size: 0.72em;
	font-weight: 800;
	letter-spacing: 0.15em;
	margin-bottom: 1.4em;
	text-transform: uppercase;
}

/* Preserve the template's hero treatment after promoting its heading to h1. */

#banner h1 {
	display: inline-block;
	font-size: 1.75em;
	opacity: 1;
	padding: 0.35em 1em;
	position: relative;
	transform: scale(1);
	transition: transform 0.5s ease, opacity 0.5s ease;
	z-index: 1;
}

#banner h1::before,
#banner h1::after {
	background: #fff;
	content: '';
	display: block;
	height: 2px;
	position: absolute;
	transition: width 0.85s ease 0.25s;
	width: 100%;
}

#banner h1::before {
	left: 0;
	top: 0;
}

#banner h1::after {
	bottom: 0;
	right: 0;
}

body.is-preload #banner h1 {
	opacity: 0;
	transform: scale(0.95);
}

body.is-preload #banner h1::before,
body.is-preload #banner h1::after {
	width: 0;
}

#banner .actions {
	margin-top: 2em;
}

.proof-grid {
	background: rgba(9, 11, 20, 0.3);
	border: solid 1px rgba(255, 255, 255, 0.12);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 3em 0 0;
	padding-left: 0;
}

.proof-grid > li {
	border-bottom: solid 1px rgba(255, 255, 255, 0.12);
	border-left: solid 1px rgba(255, 255, 255, 0.12);
	padding: 1.7em 1em;
}

.proof-grid > li:nth-child(3n + 1) {
	border-left: 0;
}

.proof-grid strong,
.proof-grid span {
	display: block;
}

.proof-grid strong {
	color: var(--heading);
	font-size: 2em;
	line-height: 1.15;
}

.proof-grid span {
	color: var(--text);
	font-size: 0.68em;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-top: 0.65em;
	text-transform: uppercase;
}

.project-intro {
	background-image: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(190, 58, 117, 0.08));
	padding-bottom: 2.5em;
}

.spotlight .project-visual {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 25em;
	padding: 4em;
	position: relative;
	text-align: center;
}

.spotlight .project-visual strong {
	color: var(--heading);
	font-size: 3.2em;
	line-height: 1;
}

.spotlight .project-visual > span:last-child {
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-top: 1.2em;
	text-transform: uppercase;
}

.spotlight .project-visual .project-index {
	color: var(--berry-light);
	font-size: 0.75em;
	font-weight: 800;
	left: 2em;
	letter-spacing: 0.2em;
	position: absolute;
	top: 2em;
}

#projects .spotlight:nth-of-type(1) .project-visual {
	background: linear-gradient(135deg, var(--surface-plum), var(--surface-raised));
	background-size: cover;
	background-position: center center;
}

#projects .spotlight:nth-of-type(2) .project-visual {
	background: linear-gradient(135deg, var(--surface-indigo), var(--surface));
}

#projects .spotlight:nth-of-type(3) .project-visual {
	background: linear-gradient(135deg, #351936, var(--surface-raised));
}

#projects .spotlight:nth-of-type(4) .project-visual {
	background: linear-gradient(135deg, #192744, var(--surface));
}

.project-tools,
.resume-tags,
.timeline-skills,
.contact-signals {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55em;
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.project-tools li,
.resume-tags li,
.timeline-skills li {
	background: rgba(76, 201, 240, 0.08);
	border: solid 1px rgba(76, 201, 240, 0.22);
	border-radius: 3px;
	font-size: 0.7em;
	letter-spacing: 0.06em;
	padding: 0.35em 0.7em;
	text-transform: uppercase;
}

.journey-features li:last-child {
	width: 100%;
}

.capability-row {
	align-items: stretch;
}

.capability-row > div {
	display: flex;
}

.capability-box {
	background: var(--surface-raised);
	border-color: var(--border);
	border-top: solid 4px var(--violet);
	box-shadow: var(--shadow);
	margin-bottom: 0;
	text-align: left;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.capability-box:hover,
.capability-box:focus-within {
	box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.38);
	transform: translateY(-0.25em);
}

.capability-row > div:nth-child(2) .capability-box {
	border-top-color: var(--berry);
}

.capability-row > div:nth-child(3) .capability-box {
	border-top-color: var(--cyan);
}

.capability-icon {
	color: var(--cyan);
	display: block;
	font-size: 1.6em;
	margin-bottom: 1em;
}

.resume-callout {
	max-width: 50em;
}

.resume-callout header p {
	margin-left: auto;
	margin-right: auto;
	max-width: 45em;
}

/* Shared interior-page heroes */

.resume-hero,
.journey-hero,
.contact-hero,
.project-hub-hero,
.case-hero {
	background-color: var(--page);
	background-image: linear-gradient(135deg, rgba(9, 11, 20, 0.92), rgba(43, 26, 69, 0.76)), var(--hero-image);
	background-position: center;
	background-size: cover;
	padding: 9em 0 6em;
}

.case-hero h1 {
	line-height: 1.2;
}

.case-hero h1 span {
	display: block;
}

.case-hero h1 span + span {
	margin-top: 0.35em;
}

.resume-hero,
.journey-hero,
.project-hub-hero,
.case-hero {
	text-align: center;
}

.contact-hero .inner,
.case-hero .inner,
.project-hub-hero .inner,
.journey-hero .inner {
	position: relative;
	display: inline-block;
}

.contact-hero .inner {
	max-width: 62em;
}

.contact-deck,
.case-deck {
	color: var(--text);
	font-size: 1.12em;
	max-width: 52em;
}

.contact-signals {
	margin-top: 2em;
}

.contact-signals li {
	border-left: solid 1px rgba(255, 255, 255, 0.18);
	padding-left: 1em;
}

.contact-signals li:first-child {
	border-left: 0;
	padding-left: 0;
}

.contact-signals .icon {
	color: var(--cyan);
	margin-right: 0.55em;
}

/* Contact structure and deliberate placeholders */

.contact-layout {
	display: grid;
	gap: 2em;
	grid-template-columns: minmax(0, 1.35fr) minmax(18em, 0.8fr);
}

.contact-primary {
	grid-row: span 2;
}

.contact-feature,
.contact-method,
.schedule-card,
.qr-card {
	background: var(--surface-raised);
	border: solid 1px var(--border);
	border-radius: 4px;
	box-shadow: var(--shadow);
}

.contact-feature {
	align-items: center;
	display: flex;
	gap: 1.4em;
	margin: 2em 0 1.2em;
	padding: 1.5em;
	text-decoration: none;
}

.contact-feature:hover,
.contact-method:hover,
.contact-feature:focus-visible,
.contact-method:focus-visible {
	border-color: var(--cyan);
}

.contact-feature-icon {
	color: var(--cyan);
	font-size: 2em;
}

.contact-feature-copy,
.contact-feature-copy small,
.contact-feature-copy strong,
.contact-feature-copy > span {
	display: block;
}

.contact-feature-copy small,
.contact-method small {
	color: var(--muted);
	font-size: 0.7em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-feature-copy strong {
	font-size: 1.1em;
	margin: 0.2em 0;
}

.contact-method-grid {
	display: grid;
	gap: 1em;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-method {
	display: block;
	padding: 1.25em;
	text-decoration: none;
}

.contact-method .icon {
	color: var(--berry-light);
	font-size: 1.25em;
	margin-bottom: 0.8em;
}

.contact-method strong {
	display: block;
	font-size: 0.88em;
	margin-top: 0.35em;
}

.schedule-card,
.qr-card {
	padding: 1.7em;
}

.schedule-card-head {
	align-items: flex-start;
	display: flex;
	gap: 1em;
	justify-content: space-between;
}

.status-pill {
	background: rgba(190, 58, 117, 0.14);
	border: solid 1px rgba(240, 138, 184, 0.38);
	border-radius: 999px;
	color: var(--berry-light);
	font-size: 0.62em;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0.35em 0.7em;
	text-transform: uppercase;
}

.status-pill-cyan {
	background: rgba(76, 201, 240, 0.1);
	border-color: rgba(76, 201, 240, 0.35);
	color: var(--cyan);
}

.schedule-link-preview {
	align-items: center;
	background: rgba(124, 58, 237, 0.09);
	border: dashed 1px rgba(167, 139, 250, 0.45);
	display: flex;
	gap: 1em;
	margin: 1.4em 0;
	padding: 1em;
}

.schedule-link-preview .icon {
	color: #a78bfa;
	font-size: 1.5em;
}

.schedule-link-preview small,
.schedule-link-preview strong {
	display: block;
}

.qr-card-layout {
	display: grid;
	gap: 1.5em;
	grid-template-columns: minmax(0, 1fr) 11em;
}

.qr-note {
	color: var(--muted);
	font-size: 0.85em;
}

.qr-placeholder {
	align-items: center;
	background: repeating-linear-gradient(45deg, rgba(76, 201, 240, 0.035), rgba(76, 201, 240, 0.035) 8px, transparent 8px, transparent 16px);
	border: dashed 2px rgba(76, 201, 240, 0.42);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 11em;
	padding: 1em;
	position: relative;
	text-align: center;
}

.qr-placeholder .icon {
	color: var(--cyan);
	font-size: 2.2em;
	margin-bottom: 0.5em;
}

.qr-placeholder strong,
.qr-placeholder small {
	display: block;
}

.qr-placeholder small {
	color: var(--muted);
	font-size: 0.65em;
}

.qr-corner {
	border-color: var(--cyan);
	border-style: solid;
	height: 1.2em;
	position: absolute;
	width: 1.2em;
}

.qr-corner-one {
	border-width: 2px 0 0 2px;
	left: 0.55em;
	top: 0.55em;
}

.qr-corner-two {
	border-width: 2px 2px 0 0;
	right: 0.55em;
	top: 0.55em;
}

.qr-corner-three {
	border-width: 0 2px 2px 0;
	bottom: 0.55em;
	right: 0.55em;
}

.contact-location-grid {
	align-items: center;
	display: grid;
	gap: 4em;
	grid-template-columns: minmax(0, 1fr) minmax(20em, 0.8fr);
}

.location-icon {
	color: var(--berry-light);
	font-size: 2em;
	margin-bottom: 0.8em;
}

.location-facts {
	margin: 0;
}

.location-facts div {
	border-top: solid 1px rgba(255, 255, 255, 0.12);
	padding: 1em 0;
}

.location-facts dt {
	color: var(--muted);
	font-size: 0.65em;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.location-facts dd {
	color: var(--heading);
	margin: 0.25em 0 0;
}

/* Résumé */

.resume-document {
	background: var(--surface-raised);
	border: solid 1px var(--border);
	box-shadow: var(--shadow);
	padding: 3em;
}

.resume-masthead {
	align-items: flex-start;
	border-bottom: solid 2px var(--violet);
	display: flex;
	gap: 3em;
	justify-content: space-between;
	padding-bottom: 2em;
}

.resume-contact {
	list-style: none;
	margin: 0;
	min-width: 18em;
	padding: 0;
}

.resume-contact li {
	font-size: 0.82em;
	margin-bottom: 0.5em;
}

.resume-contact .icon {
	color: var(--cyan);
	margin-right: 0.65em;
}

.resume-actions {
	justify-content: flex-end;
	margin: 2em 0;
}

.resume-section {
	margin-bottom: 2em;
}

.resume-section > h3 {
	border-bottom: solid 1px var(--border);
	padding-bottom: 0.6em;
}

.resume-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 2em 0;
	padding-left: 0;
}

.resume-metrics > li {
	background: rgba(124, 58, 237, 0.08);
	border: solid 1px var(--border);
	padding: 1.2em;
	text-align: center;
}

.resume-metrics strong,
.resume-metrics span {
	display: block;
}

.resume-metrics strong {
	color: var(--berry-light);
	font-size: 1.8em;
}

.resume-metrics span {
	color: var(--muted);
	font-size: 0.66em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.resume-layout {
	display: grid;
	gap: 3em;
	grid-template-columns: minmax(0, 1.8fr) minmax(16em, 0.75fr);
}

.resume-sidebar {
	border-left: solid 1px var(--border);
	padding-left: 2em;
}

.resume-role {
	border-bottom: solid 1px var(--border);
	margin-bottom: 1.8em;
	padding-bottom: 1.2em;
}

.resume-role > header {
	display: flex;
	gap: 1em;
	justify-content: space-between;
	margin-bottom: 0.8em;
}

.resume-role h4,
.resume-role header p {
	margin-bottom: 0.2em;
}

.resume-date {
	color: var(--berry-light) !important;
	font-size: 0.78em;
	white-space: nowrap;
}

.resume-skill-list {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.resume-skill-list li {
	border-bottom: solid 1px var(--border);
	padding: 0.45em 0;
}

/* Career journey */

.journey-intro {
	max-width: 52em;
}

.career-timeline {
	list-style: none;
	margin: 4em auto 0;
	max-width: 64em;
	padding-left: 0;
	position: relative;
}

.career-timeline::before {
	background: linear-gradient(var(--violet), var(--berry), var(--cyan));
	content: '';
	left: 1.35em;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2px;
}

.timeline-entry {
	display: grid;
	gap: 2em;
	grid-template-columns: 3em minmax(0, 1fr);
	margin-bottom: 2.5em;
	position: relative;
}

.timeline-marker {
	background: var(--surface);
	border: solid 3px var(--violet);
	border-radius: 50%;
	height: 1.5em;
	margin: 0.2em auto 0;
	position: relative;
	width: 1.5em;
	z-index: 1;
}

.timeline-entry > article {
	background: var(--surface-raised);
	border: solid 1px var(--border);
	box-shadow: var(--shadow);
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 1.8em;
}

.timeline-details {
	border-top: solid 1px var(--border);
	margin-top: 1.2em;
	padding-top: 1em;
}

.timeline-details summary {
	align-content: center;
	color: var(--heading);
	cursor: pointer;
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.08em;
	min-height: 44px;
	padding: 0.65em 0;
	text-transform: uppercase;
}

.timeline-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8em;
	justify-content: space-between;
}

.timeline-badge {
	background: rgba(124, 58, 237, 0.12);
	border: solid 1px rgba(167, 139, 250, 0.35);
	border-radius: 999px;
	color: #c4b5fd;
	font-size: 0.62em;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0.35em 0.75em;
	text-transform: uppercase;
}

.journey-cta {
	align-items: center;
	background: var(--surface-indigo);
	border-color: var(--border);
	display: flex;
	gap: 2em;
	justify-content: space-between;
	margin-top: 3em;
}

.journey-cta h3,
.journey-cta p {
	margin-bottom: 0.35em;
}

/* Project hub and case studies */

.case-card-grid {
	display: grid;
	gap: 1.5em;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-card {
	background: var(--surface-raised);
	border: solid 1px var(--border);
	border-top: solid 4px var(--violet);
	box-shadow: var(--shadow);
	display: block;
	padding: 2em;
	position: relative;
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.case-card:hover,
.case-card:focus-within {
	border-color: var(--cyan);
	transform: translateY(-0.25em);
}

.case-card-berry {
	border-top-color: var(--berry);
}

.case-card-cyan {
	border-top-color: var(--cyan);
}

.case-card-indigo {
	border-top-color: #8b7bd8;
}

.case-card-number {
	color: var(--muted);
	font-size: 0.7em;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.case-card-metric {
	color: var(--berry-light);
	font-size: 0.78em;
	font-weight: 700;
}

.project-principles .features li,
.contact-features li {
	border-color: var(--border);
}

.case-hero-violet {
	background-image: linear-gradient(135deg, rgba(9, 11, 20, 0.94), rgba(124, 58, 237, 0.52)), var(--hero-image);
}

.case-hero-indigo {
	background-image: linear-gradient(135deg, rgba(9, 11, 20, 0.94), rgba(33, 25, 54, 0.84)), var(--hero-image);
}

.case-hero-berry {
	background-image: linear-gradient(135deg, rgba(9, 11, 20, 0.94), rgba(190, 58, 117, 0.42)), var(--hero-image);
}

.case-hero-cyan {
	background-image: linear-gradient(135deg, rgba(9, 11, 20, 0.94), rgba(25, 39, 68, 0.84)), var(--hero-image);
}

.breadcrumb {
	font-size: 0.7em;
	letter-spacing: 0.1em;
	margin-bottom: 2em;
	text-transform: uppercase;
}

.breadcrumb span {
	color: var(--muted);
	margin-left: 0.7em;
}

.breadcrumb [aria-current="page"] {
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 0.14em;
	text-underline-offset: 0.35em;
}

.case-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 2.5em auto 0;
	max-width: 58em;
	padding: 0;
}

.case-facts li {
	background: rgba(9, 11, 20, 0.42);
	border: solid 1px rgba(255, 255, 255, 0.14);
	padding: 1.1em;
}

.case-facts span,
.case-facts strong {
	display: block;
}

.case-facts span {
	color: var(--muted);
	font-size: 0.64em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.case-section-nav {
	background: var(--surface-raised);
	border-bottom: solid 1px var(--border);
	border-top: solid 1px var(--border);
	position: sticky;
	top: 3em;
	z-index: 10;
}

.case-section-nav .inner {
	display: flex;
	overflow-x: auto;
	padding-bottom: 0;
	padding-top: 0;
}

.case-section-nav a {
	border: 0;
	font-size: 0.68em;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 1.15em;
	text-transform: uppercase;
	white-space: nowrap;
}

.case-section-nav a:hover,
.case-section-nav a:focus-visible {
	background: rgba(124, 58, 237, 0.12);
	color: var(--heading);
}

.case-section-nav a[aria-current="location"] {
	box-shadow: inset 0 -0.25rem 0 currentColor;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 0.14em;
	text-underline-offset: 0.35em;
}

.case-inner {
	max-width: 66em;
}

.case-copy-grid,
.tools-validation-grid {
	display: grid;
	gap: 2em;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.constraint-grid {
	display: grid;
	gap: 1em;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.constraint-card {
	background: var(--surface-raised);
	border-color: var(--border);
	margin: 0;
	padding: 1.4em;
}

.constraint-card .icon {
	color: var(--cyan);
	font-size: 1.4em;
}

.process-list,
.learning-list,
.check-list {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.process-list {
	display: grid;
	gap: 1em;
}

.process-list li {
	background: var(--surface-raised);
	border: solid 1px var(--border);
	display: grid;
	gap: 1.2em;
	grid-template-columns: 3em minmax(0, 1fr);
	padding: 1.3em;
}

.process-list li > span {
	color: var(--berry-light);
	font-size: 1.2em;
	font-weight: 800;
}

.decision-stack {
	display: grid;
	gap: 1em;
}

.decision-card,
.outcome-card,
.additional-context {
	background: rgba(9, 11, 20, 0.3);
	border: solid 1px var(--border);
	padding: 1.5em;
}

.decision-label,
.outcome-label {
	color: var(--berry-light);
	font-size: 0.64em;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 0.35em;
	text-transform: uppercase;
}

.check-list li,
.learning-list li {
	border-bottom: solid 1px var(--border);
	padding: 0.7em 0 0.7em 1.5em;
	position: relative;
}

.check-list li::before,
.learning-list li::before {
	color: var(--cyan);
	content: '\2713';
	left: 0;
	position: absolute;
}

.impact-grid {
	display: grid;
	gap: 1em;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-grid > div {
	background: var(--surface-raised);
	border: solid 1px var(--border);
	padding: 1.3em;
	text-align: center;
}

.impact-grid strong,
.impact-grid span,
.outcome-card strong {
	display: block;
}

.impact-grid strong {
	color: var(--berry-light);
	font-size: 1.55em;
}

.impact-grid span {
	color: var(--muted);
	font-size: 0.68em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.case-pagination {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-pagination a {
	background: var(--surface-raised);
	border: solid 1px var(--border);
	display: block;
	padding: 2em;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.case-pagination a:hover,
.case-pagination a:focus-visible {
	background: var(--surface-indigo);
}

.case-pagination a.next {
	text-align: right;
}

.case-pagination span,
.case-pagination strong {
	display: block;
}

.case-pagination span {
	color: var(--muted);
	font-size: 0.68em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media screen and (max-width: 980px) {
	#main > header,
	body.landing #page-wrapper {
		background-attachment: scroll;
	}

	.contact-layout,
	.contact-location-grid,
	.resume-layout {
		grid-template-columns: 1fr;
	}

	.contact-primary {
		grid-row: auto;
	}

	.resume-sidebar {
		border-left: 0;
		border-top: solid 1px var(--border);
		padding-left: 0;
		padding-top: 2em;
	}

	.constraint-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 736px) {
	:root {
		--hero-image: url("../../images/banner-dark-1600.jpg");
	}

	@supports (background-image: image-set(url("../../images/banner-dark-800.avif") type("image/avif"))) {
		:root {
			--hero-image: image-set(
				url("../../images/banner-dark-800.avif") type("image/avif"),
				url("../../images/banner-dark-800.webp") type("image/webp")
			);
		}
	}

	#header .site-title a {
		font-size: 0.8em;
		max-width: calc(100vw - 6.5em);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	#header nav > ul > li > button.menuToggle {
		padding: 0 1.5em;
	}

	#header nav > ul > li > button.menuToggle span {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	#menu .menu-panel {
		padding: 3.5em 1.5em 1.5em;
	}

	#banner h1 {
		font-size: 1.25em;
	}

	.resume-hero,
	.journey-hero,
	.contact-hero,
	.project-hub-hero,
	.case-hero {
		padding: 7em 0 4em;
	}

	.proof-grid,
	.resume-metrics,
	.case-card-grid,
	.case-facts,
	.case-copy-grid,
	.tools-validation-grid,
	.constraint-grid,
	.impact-grid,
	.case-pagination,
	.contact-method-grid,
	.qr-card-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact-layout > *,
	.contact-feature-copy,
	.contact-method,
	.schedule-card,
	.qr-card {
		min-width: 0;
	}

	.contact-feature-copy strong,
	.contact-method strong {
		overflow-wrap: anywhere;
	}

	.proof-grid > li,
	.proof-grid > li:nth-child(3n + 1) {
		border-left: 0;
	}

	.spotlight .project-visual {
		min-height: 16em;
		padding: 3em 1.5em;
	}

	/*
	Removed by Justin F

	.contact-signals,
	.resume-masthead,
	.resume-role > header,
	.timeline-meta,
	.journey-cta {
		display: block;
	}
	*/

	.journey-cta .button {
		margin-top: 1em;
	}

	.contact-signals li {
		border-left: 0;
		margin-bottom: 0.5em;
		padding-left: 0;
	}

	.resume-document {
		padding: 1.5em;
	}

	.resume-contact {
		margin-top: 1.5em;
		min-width: 0;
	}

	.resume-date {
		white-space: normal;
	}

	.case-section-nav {
		top: 2.75em;
	}

	.case-section-nav .inner {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		overflow-x: visible;
	}

	.case-section-nav a {
		line-height: 1.35;
		padding: 0.8em 0.35em;
		text-align: center;
		white-space: normal;
	}

	.case-pagination a.next {
		text-align: left;
	}
}

@media screen and (max-width: 480px) {
	.career-timeline::before {
		left: 0.7em;
	}

	.timeline-entry {
		gap: 0.75em;
		grid-template-columns: 1.5em minmax(0, 1fr);
	}

	.timeline-entry > article {
		padding: 1.2em;
	}

	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	button:not(.menuToggle):not(.menu-close),
	.button {
		height: auto;
		line-height: 1.4;
		max-width: 100%;
		min-height: 44px;
		overflow: visible;
		overflow-wrap: anywhere;
		padding: 0.85em 1em;
		text-overflow: clip;
		white-space: normal;
	}
}

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

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

	.capability-box:hover,
	.capability-box:focus-within,
	.case-card:hover,
	.case-card:focus-within {
		transform: none;
	}

	.skip-link {
		transition: none;
	}
}

@media (forced-colors: active) {
	:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
		outline: 3px solid Highlight !important;
	}

	#menu {
		border-left: solid 1px CanvasText;
		forced-color-adjust: auto;
	}

	#menu::backdrop {
		background: Canvas;
		opacity: 0.75;
	}

	#menu .menu-close {
		background-image: none;
		box-shadow: inset 0 0 0 1px ButtonText;
		color: ButtonText;
		font-size: 0.7em;
		width: auto;
	}

	#menu a[aria-current="page"],
	.case-section-nav a[aria-current="location"] {
		border-color: currentColor;
	}
}

/* Phase 3: sanitized evidence visuals and branded error state */

.contact-method-static {
	cursor: default;
}

.evidence-section {
	border-bottom: solid 1px var(--border);
	border-top: solid 1px var(--border);
}

.evidence-layout {
	display: grid;
	gap: 1.5em;
	grid-template-columns: minmax(0, 1.35fr) minmax(18em, 0.65fr);
}

.evidence-panel,
.case-example,
.code-example {
	background: var(--surface-raised);
	border: solid 1px var(--border);
	box-shadow: var(--shadow);
	margin: 0;
	min-width: 0;
	padding: 1.5em;
}

.evidence-panel h3,
.case-example h3,
.code-example h3 {
	margin-bottom: 0.65em;
}

.diagram-summary {
	color: var(--muted);
	font-size: 0.92em;
}

.evidence-panel figcaption,
.sample-notice {
	color: var(--muted);
	font-size: 0.78em;
	line-height: 1.55;
	margin: 1.2em 0 0;
}

.example-label {
	color: var(--cyan);
	font-size: 0.68em;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 0.5em;
	text-transform: uppercase;
}

.case-example dl {
	margin: 0;
}

.case-example dl > div {
	border-top: solid 1px var(--border);
	padding: 0.85em 0;
}

.case-example dt {
	color: var(--berry-light);
	font-size: 0.72em;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.case-example dd {
	margin: 0.25em 0 0;
}

.workflow-diagram {
	align-items: stretch;
	display: flex;
	gap: 0.55em;
	justify-content: space-between;
	margin-top: 1.2em;
}

.workflow-node {
	background: rgba(124, 58, 237, 0.12);
	border: solid 1px rgba(158, 124, 255, 0.45);
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	justify-content: center;
	min-height: 8.25em;
	min-width: 0;
	padding: 1em;
}

.workflow-node > span {
	color: var(--cyan);
	font-size: 0.7em;
	font-weight: 800;
}

.workflow-node strong,
.workflow-node small {
	display: block;
}

.workflow-node small {
	color: var(--muted);
	font-size: 0.7em;
	line-height: 1.4;
	margin-top: 0.4em;
}

.workflow-node-review {
	background: rgba(0, 184, 217, 0.1);
	border-color: rgba(0, 184, 217, 0.5);
}

.workflow-arrow {
	align-self: center;
	color: var(--berry-light);
	font-size: 1.25em;
	font-weight: 800;
}

.schema-diagram {
	display: grid;
	gap: 0.65em;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1.2em;
}

.schema-diagram > div {
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(0, 184, 217, 0.08));
	border: solid 1px var(--border);
	padding: 1em;
}

.schema-diagram strong,
.schema-diagram span {
	display: block;
}

.schema-diagram span {
	color: var(--muted);
	font-size: 0.75em;
	margin-top: 0.3em;
}

.code-example pre {
	background: #080a12;
	border: solid 1px var(--border);
	font-size: 0.78em;
	line-height: 1.6;
	margin: 1em 0;
	overflow-x: auto;
	padding: 1.1em;
	white-space: pre;
}

.code-example code {
	color: #dce4f5;
	overflow-x: visible;
}

.ui-wireframe {
	background: #0c101c;
	border: solid 1px #3a4569;
	border-radius: 6px;
	overflow: hidden;
}

.wireframe-bar {
	align-items: center;
	background: #202943;
	display: grid;
	gap: 0.75em;
	grid-template-columns: auto 1fr minmax(9em, 0.7fr);
	padding: 0.8em;
}

.wireframe-bar > span {
	background: var(--cyan);
	border-radius: 50%;
	height: 0.8em;
	width: 0.8em;
}

.wireframe-bar small {
	background: #111525;
	border: solid 1px #3a4569;
	border-radius: 3px;
	color: var(--muted);
	padding: 0.45em 0.7em;
}

.wireframe-body {
	display: grid;
	gap: 0.8em;
	grid-template-columns: minmax(6.5em, 0.5fr) minmax(12em, 1.5fr) minmax(7em, 0.6fr);
	padding: 0.8em;
}

.wireframe-navigation,
.wireframe-settings,
.wireframe-card {
	background: #151a2a;
	border: solid 1px #2f3858;
	padding: 0.8em;
}

.wireframe-navigation span,
.wireframe-settings span {
	border-bottom: solid 1px #2f3858;
	display: block;
	font-size: 0.7em;
	padding: 0.5em 0;
}

.wireframe-card p {
	font-size: 0.78em;
	line-height: 1.5;
	margin: 0.6em 0 1em;
}

.wireframe-card > span {
	background: var(--violet);
	border-radius: 3px;
	color: #ffffff;
	display: inline-block;
	font-size: 0.68em;
	font-weight: 800;
	padding: 0.45em 0.8em;
}

.not-found-nav {
	display: flex;
	gap: 1.5em;
	height: 3em;
	line-height: 3em;
	padding-right: 1.5em;
}

.not-found-nav a {
	font-size: 0.72em;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.not-found-hero {
	align-items: center;
	display: flex;
	min-height: calc(100vh - 12em);
	text-align: center;
}

.not-found-hero .inner {
	max-width: 46em;
}

.not-found-hero h1 {
	font-size: clamp(2.25em, 7vw, 4.6em);
	letter-spacing: -0.025em;
	line-height: 1.05;
	text-transform: none;
}

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

@media screen and (max-width: 736px) {
	.workflow-diagram,
	.workflow-diagram-four {
		align-items: stretch;
		flex-direction: column;
	}

	.workflow-node {
		min-height: 0;
	}

	.workflow-arrow {
		align-self: center;
		transform: rotate(90deg);
	}

	.schema-diagram,
	.wireframe-body {
		grid-template-columns: 1fr;
	}

	.wireframe-bar {
		grid-template-columns: auto 1fr;
	}

	.wireframe-bar small {
		grid-column: 1 / -1;
	}

	.not-found-nav {
		gap: 0.8em;
		padding-right: 0.75em;
	}

	.not-found-nav a {
		font-size: 0.62em;
	}
}
