/* Review fixes — loaded after the theme so these values win. */

/* 1. Homepage split hero. The section grows with the content.
   Do not lock it to the viewport — that left a void under the card. */
body.home .section.started {
	height: auto;
	min-height: 0;
	overflow: visible;
	padding: 0;
}
body.home.hero-themed .section.started .centrize {
	display: block !important;
	height: auto !important;
	padding: 0;
}
body.home .section.started .vertical-center {
	display: block !important;
}
body.home .section.started .started-content.started-chat {
	display: block;
	height: auto;
	padding: 108px 0 0;
}
body.home .hero-chat-wrap {
	width: min(1200px, calc(100% - 48px));
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}
body.home .hero-cta-wrap,
body.home #hero-cta-wrap {
	opacity: 1 !important;
	transform: none !important;
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	max-width: none;
}
body.home #chat-bubble-assistant {
	display: block;
	width: 100%;
	max-width: none;
	min-height: 0;
	max-height: none;
	overflow: visible;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 22px 22px;
}

/* 2. Hire-me hero */
body.home p.hero-eyebrow {
	margin: 0 0 12px;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.66);
}
body.home p.hero-eyebrow .place {
	white-space: nowrap;
}
body.home.hero-themed .hero-role {
	margin: 0;
	font-size: clamp(34px, 4.2vw, 56px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.5px;
	color: #ffffff;
}
body.home .hero-role strong {
	color: #4bffa5;
	font-weight: 700;
}
body.home .hero-tagline {
	margin: 18px 0 0;
	max-width: 640px;
	font-size: 16.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}
body.home .hero-tagline strong {
	color: #fff;
	font-weight: 500;
}
body.home .hero-copy {
	padding-top: 20px;
	max-width: 720px;
}
.hire-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
.hire-chips li {
	font-size: 13px;
	font-weight: 500;
	color: #f0f0f5;
	border: 1px solid rgba(75, 255, 165, 0.35);
	background: rgba(75, 255, 165, 0.08);
	border-radius: 999px;
	padding: 6px 11px;
}
body.home .hero-cta.hero-cta-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	width: auto;
	min-width: 280px;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 14px;
	background: #4bffa5;
	color: #071a10;
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 10px 28px -12px rgba(75, 255, 165, 0.7);
}
body.home a.hero-cta.hero-cta-primary,
body.home a.hero-cta.hero-cta-primary:hover {
	color: #071a10;
}
body.home .hero-text-link,
body.home a.hero-text-link:hover {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	align-self: flex-start;
	gap: 6px;
	min-height: 44px;
	color: #4bffa5;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
}
body.home .hero-proof,
body.home .hero-availability {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.66);
}
body.home .hero-proof strong {
	color: #f0f0f5;
	font-weight: 500;
}

body.home .hero-top {
	display: block;
	padding-bottom: 32px;
}

body.home .hero-band {
	margin-top: 8px;
	padding: 36px 0 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	gap: 36px;
	align-items: stretch;
}
body.home .hero-band .hero-chat,
body.home .hero-band .chat-row {
	display: block;
	margin: 0;
	min-width: 0;
}
body.home .chat-bubble.assistant.thinking-done .meta-mode {
	color: rgba(75, 255, 165, 0.85);
}
body.home #chat-bubble-assistant p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.55;
	color: #f0f0f5;
}
body.home #chat-bubble-assistant p:last-child {
	margin-bottom: 0;
}
body.home .trust-split {
	margin: 0;
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	column-gap: 14px;
	row-gap: 14px;
	align-content: center;
	min-width: 0;
}
body.home .trust-split p {
	display: contents;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}
body.home .trust-split .trusted-label {
	display: block;
	margin: 0;
	padding-top: 2px;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 11px !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.66) !important;
}
body.home .trust-split .trust-val {
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	line-height: 1.5;
}
body.home .trust-split .trust-val a {
	color: #4bffa5;
	white-space: nowrap;
}
body.home .trust-split .trust-val a:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
	color: #4bffa5;
}
body.home .trust-split .trust-val a:is(:hover, :focus, :focus-visible) {
	color: #d9ffe9;
}
/* The value column is ~300px beside the chat bubble. Keep "Android open beta"
   on its own line so the phrase stays together. Under 900px the row is full
   width and the separator stays inline. */
@media (min-width: 900px) {
	body.home .trust-split .trust-val .trust-more {
		display: block;
		position: relative;
	}
	body.home .trust-split .trust-val .trust-sep {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}

@media (max-width: 899px) {
	body.home .section.started .started-content.started-chat {
		padding-top: 88px;
	}
	body.home .hero-chat-wrap {
		width: calc(100% - 32px);
	}
	body.home .hero-copy {
		padding-top: 0;
	}
	body.home.hero-themed .hero-role {
		font-size: 34px;
	}
	body.home .hero-top {
		padding-bottom: 16px;
	}
	body.home .hero-cta.hero-cta-primary {
		width: 100%;
		align-self: stretch;
	}
	body.home .hero-band {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-top: 28px;
	}
	body.home .trust-split {
		grid-template-columns: 1fr;
		row-gap: 2px;
		align-content: start;
	}
	body.home .trust-split p {
		display: flex;
		flex-direction: column;
		gap: 2px;
		margin: 0 0 10px;
	}
	body.home .trust-split .trusted-label {
		padding-top: 0;
	}
}

/* 3. Project cards */
.portfolio-kicker {
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
	margin: 0 0 6px;
}
.portfolio-heading {
	font-size: clamp(28px, 4vw, 34px);
	font-weight: 700;
	margin: 0 0 24px;
	color: #fff;
}
.case-card {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	background: #0e0e14;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 22px;
	padding: 28px;
}
.case-shots {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-width: 0;
	gap: 12px;
}
.case-shots figure {
	margin: 0;
	width: 100%;
}
.case-shots img {
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1600 / 1000;
	object-fit: contain;
	border-radius: 16px;
	display: block;
	flex: none;
}
.case-shots figcaption {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.62);
	margin-top: 8px;
	text-align: center;
}
.case-kicker {
	display: block;
	margin-top: 8px;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}
.case-kicker .os-name {
	text-transform: none;
}
.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: fit-content;
	max-width: 100%;
	margin-top: 10px;
	min-height: 30px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(75, 255, 165, 0.1);
	border: 1px solid rgba(75, 255, 165, 0.35);
	color: #4bffa5;
	font-size: 13px;
	font-weight: 500;
}
.status-pill i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4bffa5;
	display: inline-block;
}
.case-card h2,
.case-row h3 {
	color: #fff;
	margin: 0;
}
.case-card h2 { font-size: clamp(26px, 3vw, 32px); }
.case-one {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.72);
	margin: 6px 0 0;
	line-height: 1.45;
	max-width: 560px;
}
.case-dl {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 12px 18px;
	margin: 22px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.case-dl dt {
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
	padding-top: 3px;
}
.case-dl dd {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.5;
	color: #f0f0f5;
}
.case-dl .tag {
	display: inline-block;
	font-size: 13px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	padding: 3px 10px;
	margin: 0 6px 6px 0;
	color: rgba(255, 255, 255, 0.72);
}
.case-card > div {
	min-width: 0;
}
.case-links {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	flex-wrap: wrap;
	align-items: center;
}
.case-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 46px;
	padding: 10px 18px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	white-space: normal;
}
.case-links a.primary {
	background: #4bffa5;
	color: #071a10;
}
.case-links a.secondary {
	border: 1px solid rgba(75, 255, 165, 0.45);
	color: #4bffa5;
	background: transparent;
}
.case-links a.textish {
	color: #4bffa5;
	padding: 0 6px;
	background: transparent;
}
.case-rows {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.case-row {
	background: #0e0e14;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	padding: 18px 20px;
	min-width: 0;
}
.case-card .mark,
.case-row .mark {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(75, 255, 165, 0.1);
	border: 1px solid rgba(75, 255, 165, 0.3);
	display: grid;
	place-items: center;
	color: #4bffa5;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 13px;
	margin-bottom: 10px;
}
#rogue-river-labs .mark {
	background: rgba(255, 159, 67, 0.12);
	border-color: rgba(255, 159, 67, 0.4);
	color: #FF9F43;
}
.case-row h3 { font-size: 18px; margin: 0; }
.case-row p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.72);
	margin: 8px 0 0;
	line-height: 1.45;
}
.case-row a.row-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #4bffa5;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
}
.security-note {
	margin-top: 22px;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
}
.security-note h3 {
	margin: 0 0 6px;
	font-size: 18px;
	color: #fff;
}
.security-note p {
	margin: 0 0 10px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.5;
}
.security-note ul {
	margin: 0;
	padding-left: 1.25em;
	list-style-position: outside;
}
.security-note li {
	margin: 8px 0;
	display: list-item;
}
.security-note a {
	display: inline;
	color: #4bffa5;
	line-height: 1.45;
}
@media (max-width: 900px) {
	.case-card { grid-template-columns: 1fr; padding: 18px; }
	.case-rows { grid-template-columns: 1fr; }
	.case-dl { grid-template-columns: 1fr; gap: 4px 0; }
	.case-dl dt { padding-top: 10px; }
}

/* 5. Focus, skip link, menu button, logo target */
.skip {
	position: absolute;
	left: 12px;
	top: 8px;
	z-index: 10000;
	transform: translateY(-150%);
	background: #4bffa5;
	color: #071a10;
	padding: 10px 14px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}
.skip:focus,
.skip:focus-visible {
	transform: none;
}
:focus-visible {
	outline: 2px solid #4bffa5 !important;
	outline-offset: 3px;
	border-radius: 6px;
}
.thought-toggle:focus-visible {
	outline: 2px solid #4bffa5 !important;
	outline-offset: 3px;
}
button.menu-btn {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: inherit;
	cursor: pointer;
	position: relative;
	flex: none;
}
body.hero-themed .header .logo a {
	min-height: 44px;
}
.header-touch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 22px;
	background: #4bffa5;
	color: #071a10 !important;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	flex: none;
}
@media (min-width: 1200px) {
	body.hero-themed .section.works {
		padding-left: max(48px, calc((100% - 1100px) / 2));
		padding-right: max(48px, calc((100% - 1100px) / 2));
	}
	body.hero-themed .header .head-top {
		display: flex;
		align-items: center;
		gap: 32px;
	}
	body.hero-themed .header .logo {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		flex: none;
	}
	body.hero-themed .header .top-menu {
		position: static;
		margin-left: auto;
		margin-right: 0;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex: 0 1 auto;
		min-width: 0;
		gap: 18px;
	}
	body.hero-themed .header .header-touch {
		position: static;
		margin: 0;
		flex: none;
	}
	body.hero-themed .header .menu-btn {
		display: none;
	}
}
@media (max-width: 1199px) {
	body.hero-themed .header {
		top: 0;
		padding: 8px 16px;
	}
	body.hero-themed .header .head-top {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 56px;
	}
	body.hero-themed .header .logo {
		position: relative;
		top: auto;
		transform: none;
		float: none;
		width: auto;
		max-width: calc(100% - 168px);
		overflow: visible;
	}
	body.hero-themed .header-touch {
		margin-left: auto;
		position: relative;
		z-index: 45;
	}
	body.hero-themed .header button.menu-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px !important;
		min-width: 44px !important;
		max-width: 44px;
		height: 44px !important;
		margin: 0 !important;
		float: none !important;
		transform: none !important;
	}
	body.hero-themed .header .top-menu {
		position: absolute;
		width: 0;
		height: 0;
		margin: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
	}
	body.hero-themed .header.active .top-menu {
		position: fixed;
		top: 0;
		right: 0;
		width: min(320px, 85vw);
		height: 100vh;
		padding: 100px 32px 40px;
		overflow-y: auto;
		opacity: 1;
		visibility: visible;
	}
}

/* 6. Contact: form sits with the intro, not a locked screen below it */
.section.started.section-title {
	height: auto;
	min-height: 0;
	overflow: visible;
}
.section.started.section-title .centrize {
	display: block !important;
	height: auto !important;
}
.section.started.section-title .vertical-center {
	display: block !important;
}
.section.started.section-title .started-content.started-chat {
	height: auto;
	display: block;
	padding: 108px 8px 12px;
}
.contact-prompt {
	margin: 8px 0 0;
	max-width: 640px;
	font-size: 16.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
}
.contact-form-block {
	margin-top: 22px;
	max-width: 720px;
}
.contact-secondary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}
.contact-secondary a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #4bffa5;
	font-weight: 500;
	text-decoration: none;
}
body.hero-themed .service-item .text a,
body.hero-themed .about-contact-strip a,
.post-back,
.post-footer-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

/* 7. Muted text contrast and 12px floor */
.hero-tagline-meta,
.blog-card-date,
.blog-card-read,
.archive-list .cat,
body.hero-themed .adr-meta,
.trusted-label,
.post-read,
.post-date {
	color: rgba(255, 255, 255, 0.62) !important;
	font-size: 12px !important;
}
.cred-label,
.exp-meta,
.assistant-meta,
.contact-pill strong,
.archive-count {
	font-size: 12px !important;
}

/* 8. Headings, tap targets */
h2.title_inner {
	margin: 0;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 600;
	color: #fff;
}
.post-title {
	font-size: clamp(30px, 4vw, 40px);
	line-height: 1.2;
}
.project-case-study summary,
.project-archive summary {
	min-height: 44px;
	display: flex;
	align-items: center;
}
.archive-list li a,
.archive-list li .archive-title {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 12px 0;
	box-sizing: border-box;
}
.case-links a,
.header-touch,
button.menu-btn,
.home .hero-cta.hero-cta-primary,
.home .hero-text-link {
	box-sizing: border-box;
}

/* Compact menu icon. The 44px button stays the tap target; the bars are 23×2px with 6px gaps. */
body.hero-themed .header .menu-btn:before,
body.hero-themed .header .menu-btn:after,
body.hero-themed .header .menu-btn span {
	width: 23px;
	height: 2px;
	left: calc(50% - 11.5px);
	right: auto;
	margin: 0;
	border-radius: 2px;
	transform-origin: center center;
}
body.hero-themed .header .menu-btn:before {
	top: 13px;
	bottom: auto;
}
body.hero-themed .header .menu-btn span {
	top: 21px;
	margin-top: 0;
}
body.hero-themed .header .menu-btn:after {
	top: 29px;
	bottom: auto;
}
body.hero-themed .header.active .menu-btn:before {
	opacity: 0;
}
body.hero-themed .header.active .menu-btn span {
	transform: rotate(45deg);
}
body.hero-themed .header.active .menu-btn:after {
	top: 29px !important;
	bottom: auto !important;
	transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 1199px) {
	body.hero-themed .header.active {
		height: auto;
		overflow: visible;
		padding: 8px 16px;
	}
	body.hero-themed .header.active .menu-btn {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
	}
	body.hero-themed .header.active {
		background: #0c1016;
	}
	body.hero-themed .header .menu-btn,
	body.hero-themed .header .logo,
	body.hero-themed .header-touch {
		position: relative;
		z-index: 50;
	}
	body.hero-themed .header.active .top-menu {
		top: 72px;
		height: calc(100vh - 72px);
		padding: 12px 24px 28px;
		background: #0c1016;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
	body.hero-themed .header.active .top-menu-social {
		justify-content: flex-start;
		margin-top: 16px;
		padding-top: 16px;
	}
	body.hero-themed .top-menu-social-link,
	body.hero-themed .top-menu-social-link:hover,
	body.hero-themed .top-menu-social-link:focus,
	body.hero-themed .top-menu-social-link:active {
		text-decoration: none;
	}
}

/* Project-card shots. Same rounded frame as the homepage selected-work images. */
.case-row .case-media {
	margin: 0 0 14px;
	padding: 0;
}
.case-row .case-media img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1600 / 1000;
	object-fit: contain;
	flex: none;
	border-radius: 16px;
}

/* Link icons. Inline strokes so iOS does not swap the arrow for an emoji. */
svg.ico {
	width: 0.9em;
	height: 0.9em;
	display: inline-block;
	vertical-align: -0.125em;
	flex: none;
	margin-left: 0.28em;
}
.hero-cta .arrow svg.ico,
.cta-arrow svg.ico,
.blog-card-arrow svg.ico {
	margin-left: 0;
}
.cta-arrow {
	display: inline-flex;
	align-items: center;
}
.blog-card-arrow {
	display: inline-flex;
	align-items: center;
}

/* Open mobile menu: one padding, alignment, and line-height in every state. */
@media (max-width: 1199px) {
	body.hero-themed .header.active .top-menu ul li a,
	body.hero-themed .header.active .top-menu ul li a:hover,
	body.hero-themed .header.active .top-menu ul li a:focus,
	body.hero-themed .header.active .top-menu ul li a:active,
	body.hero-themed .header.active .top-menu ul li.current-menu-item > a,
	body.hero-themed .header.active .top-menu ul li.current-menu-item a {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		text-align: left;
		text-indent: 0;
		line-height: 1.2;
		min-height: 52px;
		padding: 16px 18px;
		transform: none;
	}
	body.hero-themed .header.active .top-menu .mask-lnk,
	body.hero-themed .header.active .top-menu a:hover .mask-lnk,
	body.hero-themed .header.active .top-menu a:focus .mask-lnk,
	body.hero-themed .header.active .top-menu a:active .mask-lnk,
	body.hero-themed .header.active .top-menu li.current-menu-item a .mask-lnk {
		position: static;
		left: auto;
		top: auto;
		width: auto;
		display: inline;
		transform: none;
		opacity: 1;
	}
	body.hero-themed .header.active .top-menu .mask-lnk.mask-lnk-hover {
		display: none !important;
	}
}

/* 8/10. Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* Blog tags, series links, and in-post links */
.post-tags,
.blog-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.post-meta .post-tags {
	flex-basis: 100%;
}
.post-tag,
.blog-card-tag {
	font-size: 0.68rem;
	line-height: 1.4;
	color: rgba(255,255,255,0.78);
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 20px;
	padding: 2px 8px;
}
.blog-card-tags {
	margin: 0 0 12px;
}
.post-body a {
	color: #4bffa5;
}
.post-series-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: 28px;
}
.post-series-nav a {
	color: #4bffa5;
}

/* Homepage chrome: drop the leftover logo dot, put GitHub and LinkedIn
   in the header, and replace the vertical "Connect With Me" rail with
   a compact footer row. Other pages keep their header spacing and rail. */
body.hero-themed .header .logo a::before {
	content: none;
	display: none;
	width: 0;
	height: 0;
	box-shadow: none;
}
.header-social {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: none;
}
.header-icon {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.82);
}
.header-icon .icon {
	font-size: 18px;
	line-height: 1;
	color: inherit;
}
body.hero-themed a.header-icon,
body.hero-themed a.header-icon:hover,
body.hero-themed a.header-icon:focus-visible {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}
body.hero-themed a.header-icon:hover,
body.hero-themed a.header-icon:focus-visible {
	color: #4bffa5;
}
@media (min-width: 1200px) {
	body.home.hero-themed .header {
		height: 72px;
		padding: 0;
	}
	body.home.hero-themed .header .head-top {
		width: min(1200px, calc(100% - 48px));
		height: 72px;
		margin: 0 auto;
		gap: 22px;
	}
	body.home .header .top-menu ul li {
		margin-left: 22px;
	}
	body.home .header .top-menu ul li:first-child {
		margin-left: 0;
	}
	body.home .header .top-menu ul li a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font-size: 14px;
		font-weight: 400;
		line-height: 1;
		opacity: 1;
		color: rgba(255, 255, 255, 0.78);
	}
	body.home .header .top-menu ul li a:hover,
	body.home .header .top-menu ul li.current-menu-item a {
		color: #4bffa5;
		font-weight: 500;
	}
}
@media (max-width: 1199px) {
	body.home .header-social {
		display: none;
	}
	body.home.hero-themed .header {
		top: 0;
		min-height: 60px;
		height: auto;
		padding: 0 16px;
	}
	body.home.hero-themed .header .head-top {
		min-height: 60px;
	}
}

/* Homepage footer sits under the about band instead of as a fixed rail. */
body.home .footer {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	width: 100%;
	height: auto;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 22px max(24px, calc((100% - 1200px) / 2)) 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: transparent;
	box-sizing: border-box;
}
body.home .footer .copy {
	position: static;
	float: none;
	display: block;
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.66);
}
body.home .footer .follow-label {
	display: none;
}
body.home.hero-themed .footer .soc-box {
	position: static;
	float: none;
	display: block;
	width: auto;
	right: auto;
	left: auto;
	top: auto;
	bottom: auto;
	text-align: right;
}
body.home .footer .soc {
	display: flex;
	align-items: center;
	gap: 4px;
}
body.home .footer .soc a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}
body.home .footer .soc a .icon,
body.home .footer .soc a:hover .icon {
	font-size: 18px;
	color: inherit;
}
body.home .footer .soc a:hover {
	color: #4bffa5;
}
@media (max-width: 899px) {
	body.home .footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 22px 16px 32px;
	}
	body.home .footer .soc-box,
	body.home.hero-themed .footer .soc-box {
		text-align: left;
	}
}

/* The loading mark is a 1px bar pinned to the horizontal center
   (basic.css: .preloader .spinner { left: 50%; width: 1px }). The preloader
   has no background, so the bar stays on top of the mobile header until
   window load, which is the line beside "Anthony Smith" at 390px. Hide it
   at the mobile-header breakpoint. The desktop loading bar stays. */
@media (max-width: 1199px) {
	.preloader .spinner {
		display: none !important;
	}
}

/* Blog code: sideways scroll, system monospace, Highlight.js colors.
   Inline code keeps the green pill; only pre>code is recolored. */
.post-body pre {
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: pre;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
}
.post-body pre code {
	display: block;
	white-space: pre;
	overflow-wrap: normal;
	word-wrap: normal;
	word-break: normal;
	overflow: visible;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #e6edf3;
	background: transparent;
	padding: 0;
}
.post-body p code,
.post-body li code,
.post-body .post-callout code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.post-body pre[data-language] {
	position: relative;
	padding-top: 2rem;
}
.post-body pre[data-language]::before {
	content: attr(data-language);
	position: absolute;
	top: 9px;
	right: 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: lowercase;
	color: rgba(230, 237, 243, 0.7);
	pointer-events: none;
}
.post-body pre code.hljs {
	background: transparent;
	padding: 0;
}
.post-body pre .hljs-comment,
.post-body pre .hljs-quote {
	color: #b7c5d6;
	font-style: italic;
}
.post-body pre .hljs-keyword,
.post-body pre .hljs-selector-tag,
.post-body pre .hljs-literal,
.post-body pre .hljs-section,
.post-body pre .hljs-name,
.post-body pre .hljs-tag {
	color: #4bffa5;
}
.post-body pre .hljs-string,
.post-body pre .hljs-doctag,
.post-body pre .hljs-regexp {
	color: #ffd7a8;
}
.post-body pre .hljs-number,
.post-body pre .hljs-symbol,
.post-body pre .hljs-bullet {
	color: #f3b6d0;
}
.post-body pre .hljs-title,
.post-body pre .hljs-title.function_,
.post-body pre .hljs-title.class_,
.post-body pre .hljs-function {
	color: #9fd4ff;
}
.post-body pre .hljs-type,
.post-body pre .hljs-built_in,
.post-body pre .hljs-class {
	color: #d2c4ff;
}
.post-body pre .hljs-attr,
.post-body pre .hljs-attribute,
.post-body pre .hljs-variable,
.post-body pre .hljs-template-variable,
.post-body pre .hljs-params,
.post-body pre .hljs-punctuation,
.post-body pre .hljs-operator {
	color: #e6edf3;
}
.post-body pre .hljs-meta,
.post-body pre .hljs-meta .hljs-keyword {
	color: #7ee0c0;
}
@media (max-width: 600px) {
	.post-body pre {
		padding: 12px;
		margin: 18px 0;
	}
	.post-body pre[data-language] {
		padding-top: 28px;
	}
	.post-body pre[data-language]::before {
		top: 8px;
		right: 10px;
		font-size: 10px;
	}
	.post-body pre code,
	.post-body pre code.hljs {
		font-size: 13px;
		line-height: 1.45;
	}
}

/* Filled mint controls keep a dark label in every state. The generic
   themed link hover was turning .case-links a.primary (and its icon)
   the same green as the fill. Hover and press only shift the fill. */
button,
body.hero-themed :is(
	a.header-touch,
	a.hero-cta,
	.case-links a,
	a.btn,
	button.btn,
	button[type="submit"],
	.filter-menu a,
	a.skip,
	.case-row a.row-link
) {
	-webkit-tap-highlight-color: transparent;
}
body.hero-themed :is(
	a.header-touch,
	a.hero-cta:not(.outline),
	.case-links a.primary,
	a.btn,
	button.btn,
	button[type="submit"],
	.filter-menu a,
	a.skip
) {
	transition-property: background-color, border-color, box-shadow, transform;
	transition-duration: 0.2s;
	transition-timing-function: ease;
}
body.hero-themed :is(
	a.header-touch,
	a.hero-cta:not(.outline),
	.case-links a.primary,
	a.btn,
	button.btn,
	button[type="submit"],
	.filter-menu a,
	a.skip
):is(:link, :visited, :hover, :focus, :focus-visible, :active),
body.hero-themed :is(button.btn, button[type="submit"], a.btn):is(:hover, :focus, :focus-visible, :active),
body.hero-themed :is(button.btn, button[type="submit"], a.btn) .lnk,
body.hero-themed .case-links a.primary:is(:link, :visited, :hover, :focus, :focus-visible, :active) svg {
	color: #071a10 !important;
}
body.hero-themed :is(
	a.header-touch,
	a.hero-cta:not(.outline),
	.case-links a.primary,
	a.btn,
	button.btn,
	button[type="submit"],
	.filter-menu a
):is(:hover, :focus-visible) {
	background-color: #3eea98 !important;
}
body.hero-themed :is(
	a.header-touch,
	a.hero-cta:not(.outline),
	.case-links a.primary,
	a.btn,
	button.btn,
	button[type="submit"],
	.filter-menu a
):active {
	background-color: #2bdc8c !important;
}
body.hero-themed :is(
	a.header-touch,
	a.hero-cta:not(.outline),
	.case-links a.primary,
	a.btn,
	button.btn,
	button[type="submit"],
	.filter-menu a,
	a.skip
):focus-visible {
	outline: 2px solid #f4fff9 !important;
	outline-offset: 3px;
}

/* Outlined buttons stay mint on a transparent or lightly tinted ground. */
body.hero-themed :is(.case-links a.secondary, a.hero-cta.outline):is(:link, :visited, :hover, :focus, :focus-visible, :active),
body.hero-themed :is(.case-links a.secondary, a.hero-cta.outline):is(:link, :visited, :hover, :focus, :focus-visible, :active) svg {
	color: #4bffa5 !important;
}
body.hero-themed :is(.case-links a.secondary, a.hero-cta.outline):is(:hover, :focus, :focus-visible) {
	background-color: rgba(75, 255, 165, 0.1);
	border-color: #4bffa5;
}
body.hero-themed :is(.case-links a.secondary, a.hero-cta.outline):active {
	background-color: rgba(75, 255, 165, 0.18);
	border-color: #4bffa5;
}
body.hero-themed :is(.case-links a.secondary, a.hero-cta.outline, .case-links a.textish, .case-row a.row-link):focus-visible {
	outline: 2px solid #4bffa5 !important;
	outline-offset: 3px;
}
body.hero-themed :is(.case-links a.textish, .case-row a.row-link):is(:link, :visited, :hover, :focus, :focus-visible, :active),
body.hero-themed :is(.case-links a.textish, .case-row a.row-link):is(:link, :visited, :hover, :focus, :focus-visible, :active) svg {
	color: #4bffa5 !important;
	background-color: transparent;
}

/* Shared by the portfolio and about pages. The homepage keeps its own hero. */
body.portfolio,
body.about {
	--portfolio-section-gap: 80px;
	--portfolio-card-gap: 24px;
	--portfolio-hero-gap: 64px;
	--portfolio-page-end: 72px;
}
body.portfolio .section.started.layout-creative,
body.about .section.started.layout-creative {
	margin: 0;
	padding: 0;
	height: auto !important;
}
body.portfolio .section.started .centrize,
body.about .section.started .centrize {
	display: block !important;
	height: auto !important;
	padding: 0;
}
body.portfolio .section.started .vertical-center,
body.portfolio .section.started .started-content.started-chat,
body.about .section.started .vertical-center,
body.about .section.started .started-content.started-chat {
	display: block !important;
	height: auto;
}
body.portfolio .hero-chat-wrap,
body.about .hero-chat-wrap {
	width: min(1100px, calc(100% - 60px));
	max-width: 1100px;
	margin: 0 auto;
	padding: 166px 0 48px;
}
body.portfolio .hero-name,
body.portfolio .hero-role,
body.portfolio .portfolio-support,
body.about .hero-name,
body.about .hero-role {
	margin-left: 0;
	margin-right: 0;
}
body.portfolio .hero-role {
	margin-bottom: 10px;
}
body.portfolio .portfolio-support {
	margin: 0 0 22px;
	max-width: 40em;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.72);
}
body.portfolio .hero-chat-wrap .chat-row:last-child,
body.about .hero-chat-wrap .chat-row:last-child {
	margin-bottom: 0;
}
body.portfolio .section.started + .section,
body.about .section.started + .section {
	margin-top: 0;
}
body.portfolio .section.works {
	padding: var(--portfolio-hero-gap) 0 var(--portfolio-page-end);
}
body.portfolio .section.works .content,
body.about .section > .content {
	width: min(1100px, calc(100% - 60px));
	max-width: 1100px;
	margin: 0 auto;
}
body.portfolio .project-cards {
	display: flex;
	flex-direction: column;
	gap: var(--portfolio-section-gap);
	margin: 0;
}
body.portfolio .case-card {
	align-items: start;
}
body.portfolio .case-shots {
	justify-content: flex-start;
	align-self: start;
}
body.portfolio .case-shots img,
body.portfolio .case-row .case-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 1600 / 1000;
	object-fit: contain;
	flex: none;
}
body.portfolio .case-rows {
	align-items: stretch;
	margin-top: 0;
	gap: var(--portfolio-card-gap);
}
body.portfolio .case-row {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 100%;
}
body.portfolio .case-row .case-media {
	flex: none;
}
body.portfolio .case-row .row-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 12px;
	margin-top: auto;
	padding-top: 4px;
}
body.portfolio .security-note,
body.portfolio .project-ctas {
	margin-top: 0;
}
body.portfolio .project-ctas {
	gap: var(--portfolio-card-gap);
}
body.portfolio .project-archive {
	margin-top: var(--portfolio-section-gap);
}
/* Below 1200px the footer is in the document, directly after Early work.
   The section's bottom padding would land after that footer, so the gap
   sits on the archive instead. */
@media (max-width: 1199px) {
	body.portfolio .project-archive {
		margin-bottom: var(--portfolio-page-end);
	}
	body.portfolio .section.works {
		padding-bottom: 0;
	}
}
@media (min-width: 641px) {
	body.portfolio .hero-chat-wrap,
	body.about .hero-chat-wrap {
		padding-top: 174px;
	}
}
@media (min-width: 721px) {
	body.portfolio .hero-chat-wrap,
	body.about .hero-chat-wrap {
		width: min(1100px, calc(100% - 100px));
		padding-top: 194px;
		padding-bottom: 72px;
	}
	body.portfolio .section.works .content,
	body.about .section > .content {
		width: min(1100px, calc(100% - 100px));
	}
}
@media (min-width: 769px) {
	body.portfolio .hero-chat-wrap,
	body.about .hero-chat-wrap {
		padding-top: 224px;
	}
}
@media (min-width: 1200px) {
	body.portfolio .hero-chat-wrap,
	body.about .hero-chat-wrap,
	body.portfolio .section.works .content,
	body.about .section > .content {
		width: min(1100px, calc(100% - 96px));
	}
	body.portfolio .hero-chat-wrap,
	body.about .hero-chat-wrap {
		/* Header is 145px. 250px puts the eyebrow ~104px under the nav. */
		padding-top: 250px;
	}
	body.portfolio,
	body.about {
		--portfolio-hero-gap: 88px;
		--portfolio-page-end: 112px;
	}
	body.portfolio .section.works {
		padding-left: 0;
		padding-right: 0;
	}
	body.portfolio .case-card {
		padding: 40px;
	}
	body.portfolio .case-row {
		padding: 36px 32px;
	}
	body.portfolio .project-cta-card {
		padding: 36px 28px !important;
	}
}
@media (max-width: 720px) {
	body.portfolio,
	body.about {
		--portfolio-section-gap: 64px;
	}
	body.portfolio .case-card,
	body.portfolio .case-row {
		padding: 24px 20px;
	}
}
@media (min-width: 721px) and (max-width: 1199px) {
	body.portfolio .case-card {
		padding: 32px;
	}
	body.portfolio .case-row {
		padding: 32px 28px;
	}
}

/* About page. Same column, rhythm, and padding as the portfolio page. */
body.about .hero-cta-wrap {
	padding-left: 0;
}
body.about .section.started .hero-role {
	margin-bottom: 8px;
}
body.about .about-role {
	margin: 0 0 28px;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 500;
	line-height: 1.3;
	color: #4bffa5;
}

/* Homepage "What I do" and FAQ. Same column, card, and gap rhythm as the
   portfolio and about pages, on the home hero's 1200px measure. */
body.home .section.home-panel {
	padding: 64px 0 0;
	margin: 0;
}
body.home .section.what-i-do {
	margin-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
body.home .section.home-faq {
	padding-bottom: 72px;
}
body.home .home-panel-inner {
	width: min(1200px, calc(100% - 48px));
	max-width: 1200px;
	margin: 0 auto;
}
body.home .home-panel h2 {
	margin: 0 0 24px;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.4px;
	color: #fff;
}
body.home .home-panel h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-top: 14px;
	border-radius: 2px;
	background: #4bffa5;
}
body.home .do-list,
body.home .faq-list {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.home .do-list {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}
body.home .faq-list {
	grid-template-columns: 1fr;
}
body.home .do-list > li,
body.home .faq-list > li {
	margin: 0;
	min-width: 0;
	padding: 24px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
}
body.home .do-list > li {
	grid-column: span 2;
}
body.home .do-list > li:nth-child(n + 4) {
	grid-column: span 3;
}
body.home .do-list h3,
body.home .faq-list h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}
body.home .faq-list > li {
	border-left: 3px solid #4bffa5;
}
body.home .do-list p,
body.home .faq-list p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}
body.home .do-list p.do-index {
	margin: 0 0 10px;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: #4bffa5;
}
body.home .do-list a,
body.home .faq-list a {
	color: #4bffa5;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body.home .do-list a:is(:link, :visited, :hover, :focus, :focus-visible, :active),
body.home .faq-list a:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
	color: #4bffa5;
}
body.home .do-list a:is(:hover, :focus-visible),
body.home .faq-list a:is(:hover, :focus-visible) {
	color: #d9ffe9;
}
body.home .do-list a:focus-visible,
body.home .faq-list a:focus-visible,
body.home .work-card a:focus-visible {
	outline: 2px solid #4bffa5;
	outline-offset: 3px;
	border-radius: 2px;
}

body.home .work-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}
body.home .work-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 20px 20px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
}
body.home .work-card .mark {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(75, 255, 165, 0.1);
	border: 1px solid rgba(75, 255, 165, 0.3);
	display: grid;
	place-items: center;
	color: #4bffa5;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 13px;
	margin: 0 0 12px;
}
body.home .work-card h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}
body.home .work-status {
	margin: 6px 0 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.48);
	text-transform: none;
	letter-spacing: normal;
}
body.home .work-status a {
	color: rgba(255, 255, 255, 0.52);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
body.home .work-status a:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
	color: rgba(255, 255, 255, 0.62);
}
body.home #home-castlog .work-status a {
	color: #4bffa5;
	text-decoration: none;
}
body.home #home-castlog .work-status a:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
	color: #4bffa5;
}
body.home #home-castlog .work-status a:is(:hover, :focus-visible) {
	color: #d9ffe9;
}
body.home .work-deck {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}
body.home .work-media {
	margin: 14px 0 0;
	padding: 0;
}
body.home .work-media img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1600 / 1000;
	object-fit: contain;
	border-radius: 14px;
}
body.home .work-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #4bffa5;
	text-decoration: none;
}
body.home .work-link:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
	color: #4bffa5;
}
body.home .work-link:is(:hover, :focus-visible) {
	color: #d9ffe9;
}
@media (max-width: 1024px) {
	body.home .do-list,
	body.home .work-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body.home .do-list > li,
	body.home .do-list > li:nth-child(n) {
		grid-column: auto;
	}
}
@media (max-width: 899px) {
	body.home .home-panel-inner {
		width: calc(100% - 32px);
	}
}
@media (max-width: 720px) {
	body.home .section.home-panel {
		padding-top: 48px;
	}
	body.home .section.home-faq {
		padding-bottom: 48px;
	}
	body.home .do-list > li,
	body.home .faq-list > li,
	body.home .faq-list details {
		padding: 20px;
	}
}
@media (max-width: 599px) {
	body.home .do-list,
	body.home .work-grid {
		grid-template-columns: 1fr;
	}
}
body.about .section:not(.started) {
	padding: var(--portfolio-section-gap) 0 0;
}
body.about .section.started + .section {
	padding-top: var(--portfolio-hero-gap);
}
body.about #section-skills {
	padding-bottom: var(--portfolio-page-end);
}
body.about .section .title {
	margin: 0 0 var(--portfolio-card-gap);
}
body.about .section .content-box {
	margin-right: 0;
}
body.about .section.about > .content {
	display: flex;
	flex-direction: column;
	gap: var(--portfolio-card-gap);
}
body.about .about-tldr,
body.about .about-stats,
body.about .tech-stack-strip,
body.about .about-now,
body.about .about-contact-strip {
	margin: 0;
}
body.about .about-stats,
body.about .credentials-grid {
	align-items: stretch;
	gap: var(--portfolio-card-gap);
}
body.about .about-stat,
body.about .cred-card {
	height: 100%;
}
body.about .exp-timeline {
	display: flex;
	flex-direction: column;
	gap: var(--portfolio-card-gap);
}
body.about .exp-item {
	margin: 0;
}
body.about .service-items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--portfolio-card-gap);
	margin: 0;
	font-size: 16px;
	text-align: left;
}
body.about .service-items .service-col {
	display: flex;
	width: auto;
	margin: 0;
	min-width: 0;
}
body.about .service-items .service-col .content-box {
	margin: 0;
}
body.about .service-item {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}
body.about #section-ai-systems .skills-groups {
	margin-top: var(--portfolio-card-gap);
}
body.about .adr-list {
	max-width: none;
	gap: var(--portfolio-card-gap);
}
body.about .about-tldr,
body.about .about-stat,
body.about .about-now,
body.about .skills-groups,
body.about .service-item {
	padding: 32px;
}
body.about .cred-card,
body.about .exp-body,
body.about .adr {
	padding: 32px 28px;
}
@media (min-width: 1200px) {
	body.about .about-tldr,
	body.about .about-stat,
	body.about .about-now,
	body.about .skills-groups,
	body.about .service-item {
		padding: 40px;
	}
	body.about .cred-card,
	body.about .exp-body,
	body.about .adr {
		padding: 36px 32px;
	}
}
@media (max-width: 900px) {
	body.about .service-items {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 720px) {
	body.about .about-tldr,
	body.about .about-stat,
	body.about .about-now,
	body.about .skills-groups,
	body.about .service-item,
	body.about .cred-card,
	body.about .exp-body,
	body.about .adr {
		padding: 24px 20px;
	}
}

/* Field Notes: byline, summary, and author box. The hero keeps its
   intrinsic ratio so the image does not shift the article when it loads. */
.post-byline {
	margin: -4px 0 18px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.8);
}
.post-byline time {
	color: rgba(255, 255, 255, 0.62);
}
.post-tldr {
	margin: 0 0 28px;
	padding: 12px 16px;
	border-left: 3px solid #4bffa5;
	background: rgba(75, 255, 165, 0.07);
	border-radius: 0 8px 8px 0;
	color: rgba(255, 255, 255, 0.86);
	line-height: 1.6;
	font-size: 0.98rem;
}
.post-author {
	margin-top: 48px;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
}
.post-author p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.65;
	font-size: 0.95rem;
}
.post-author a {
	color: #4bffa5;
	text-decoration: none;
}
.post-author a:hover {
	text-decoration: underline;
}
.post-hero-img {
	height: auto;
	background: #111;
}

/* Resume links: hidden until html[data-resume-ready="true"]. */
html:not([data-resume-ready="true"]) .resume-link,
html:not([data-resume-ready="true"]) .resume-ready-copy {
	display: none !important;
}
html[data-resume-ready="true"] .resume-pending-copy {
	display: none !important;
}

/* In-page anchors clear the sticky header. */
body.home .section.home-panel,
body.home #selected-work,
body.home #what-i-do,
body.home #faq,
body.home #next,
body.home #callcatch-demo {
	scroll-margin-top: 88px;
}
@media (max-width: 1199px) {
	body.home .section.home-panel,
	body.home #selected-work,
	body.home #what-i-do,
	body.home #faq,
	body.home #next,
	body.home #callcatch-demo {
		scroll-margin-top: 76px;
	}
}

/* Compact mono receipt strip under the hero (replaces the anthony.ai bubble). */
body.home .hero-receipt {
	margin: 0;
	padding: 18px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: grid;
	gap: 10px;
}
body.home .hero-receipt p {
	display: grid;
	grid-template-columns: minmax(9.5em, 140px) minmax(0, 1fr);
	column-gap: 16px;
	row-gap: 2px;
	align-items: baseline;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}
body.home .hero-receipt .receipt-label,
body.home .mono-label {
	margin: 0;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: #4bffa5;
	white-space: nowrap;
}
body.home .hero-receipt .receipt-val {
	color: rgba(255, 255, 255, 0.78);
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.55;
}
body.home .hero-receipt .receipt-val a {
	color: #4bffa5;
	text-decoration: none;
	text-underline-offset: 2px;
}
body.home .hero-receipt .receipt-val a:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
	color: #4bffa5;
}
body.home .hero-receipt .receipt-val a:is(:hover, :focus-visible) {
	color: #d9ffe9;
	text-decoration: underline;
}
body.home .hero-receipt .receipt-val a:focus-visible {
	outline: 2px solid #4bffa5;
	outline-offset: 3px;
	border-radius: 2px;
}
@media (max-width: 599px) {
	body.home .hero-receipt p {
		grid-template-columns: 1fr;
		gap: 2px;
		margin: 0 0 8px;
	}
}

/* Work card outcome + arch + consistent action buttons */
body.home .work-arch {
	margin: 8px 0 0;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62);
}
body.home .work-arch span {
	color: #4bffa5;
}
body.home .work-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}
body.home .work-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid rgba(75, 255, 165, 0.35);
	background: rgba(75, 255, 165, 0.1);
	color: #4bffa5;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}
body.home .work-btn:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
	color: #4bffa5;
	text-decoration: none;
}
body.home .work-btn:is(:hover, :focus-visible) {
	background: rgba(75, 255, 165, 0.18);
	color: #d9ffe9;
}
body.home .work-btn:focus-visible {
	outline: 2px solid #4bffa5;
	outline-offset: 3px;
}
body.home .work-btn-ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.82);
}
body.home .work-btn-ghost:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
	color: rgba(255, 255, 255, 0.82);
}
body.home .work-btn-ghost:is(:hover, :focus-visible) {
	border-color: rgba(75, 255, 165, 0.4);
	color: #4bffa5;
}

/* Brighten CastLog device shot so it matches Nutrilogix on the dark card. */
body.home #home-castlog .work-media {
	background:
		radial-gradient(ellipse at 50% 42%, rgba(75, 255, 165, 0.22), transparent 68%),
		linear-gradient(180deg, #1c2a24 0%, #141c1a 100%);
	border-radius: 14px;
	padding: 6px;
}
body.home #home-castlog .work-media img {
	filter: brightness(1.2) contrast(1.04) saturate(1.06);
	background: transparent;
}
body.home #home-nutrilogix .work-media,
body.home #home-callcatch .work-media {
	background: radial-gradient(ellipse at 50% 42%, rgba(75, 255, 165, 0.08), transparent 70%);
	border-radius: 14px;
}
@media (prefers-reduced-motion: reduce) {
	body.home #home-castlog .work-media img {
		filter: brightness(1.16) contrast(1.02);
	}
}

/* FAQ accordions */
body.home .faq-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
}
body.home .faq-list details {
	margin: 0;
	padding: 4px 20px 12px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 3px solid #4bffa5;
}
body.home .faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	margin: 0;
	padding: 8px 0;
	cursor: pointer;
	list-style: none;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}
body.home .faq-list summary::-webkit-details-marker {
	display: none;
}
body.home .faq-list summary::after {
	content: "+";
	flex: none;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 18px;
	font-weight: 500;
	color: #4bffa5;
	line-height: 1;
}
body.home .faq-list details[open] summary::after {
	content: "−";
}
body.home .faq-list summary:focus-visible {
	outline: 2px solid #4bffa5;
	outline-offset: 3px;
	border-radius: 2px;
}
body.home .faq-list details p {
	margin: 0 0 8px;
	padding-bottom: 4px;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}
body.home .faq-list details a {
	color: #4bffa5;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body.home .faq-list details a:is(:hover, :focus-visible) {
	color: #d9ffe9;
}
body.home .faq-list details a:focus-visible {
	outline: 2px solid #4bffa5;
	outline-offset: 3px;
	border-radius: 2px;
}

/* Closing CTA */
body.home .home-next {
	padding-bottom: 24px;
}
body.home .home-next .mono-label {
	margin: 0 0 10px;
}
body.home .home-next h2 {
	margin: 0 0 10px;
	max-width: 18em;
}
body.home .next-lede {
	margin: 0 0 20px;
	max-width: 38em;
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}
body.home .next-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
}
body.home .home-next .hero-cta.hero-cta-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 14px;
	background: #4bffa5;
	color: #071a10;
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
	box-shadow: 0 10px 28px -12px rgba(75, 255, 165, 0.7);
}
body.home .home-next a.hero-cta.hero-cta-primary,
body.home .home-next a.hero-cta.hero-cta-primary:hover {
	color: #071a10;
}
body.home .home-next .hero-text-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #4bffa5;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
}
body.home .home-next .hero-cta:focus-visible,
body.home .home-next .hero-text-link:focus-visible {
	outline: 2px solid #4bffa5;
	outline-offset: 3px;
}

/* Footer email + resume */
body.home .footer {
	flex-wrap: wrap;
	row-gap: 10px;
}
body.home .footer-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	min-width: 0;
}
body.home .footer-meta .copy {
	display: inline;
	width: auto;
	flex: none;
}
body.home .footer-links {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0;
}
body.home .footer-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #4bffa5;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
body.home .footer-links a:is(:hover, :focus-visible) {
	color: #d9ffe9;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.home .footer-links a:focus-visible {
	outline: 2px solid #4bffa5;
	outline-offset: 3px;
	border-radius: 2px;
}
@media (max-width: 899px) {
	body.home .footer-meta {
		width: 100%;
	}
	body.home .footer-links {
		margin: 0;
	}
}

/* CallCatch demo fragment: visually hidden, still a valid in-page target. */
body.home .callcatch-demo-anchor {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Keep FAQ / cards / closing CTA clear of floating buttons on tablet+.
   On phones the CallCatch bubble may overlap — match the hero content
   width (same as .hero-chat-wrap / Email CTA) instead of reserving space. */
body.home .section.home-faq {
	padding-bottom: 96px;
}
body.home .home-next {
	padding-bottom: 48px;
}
body.home .footer {
	padding: 22px 132px 40px max(24px, calc((100% - 1200px) / 2));
}
@media (max-width: 1024px) {
	body.home .home-panel-inner {
		width: calc(100% - 24px - 80px);
		margin-left: 16px;
		margin-right: 88px;
	}
}
@media (max-width: 899px) {
	body.home .footer {
		padding: 22px 88px 40px 16px;
	}
}
@media (max-width: 767px) {
	body.home .home-panel-inner {
		width: calc(100% - 32px);
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}
	body.home .footer {
		padding: 22px 16px 96px;
	}
	body.home .section.home-faq {
		padding-bottom: 120px;
	}
	body.home .footer-meta {
		flex-wrap: nowrap;
		gap: 10px;
	}
	body.home .footer .copy {
		white-space: nowrap;
	}
	body.home .footer-links a {
		white-space: nowrap;
		min-height: 0;
		padding: 8px 0;
	}
	body.home .next-cta .hero-cta.hero-cta-primary {
		width: 100%;
	}
}


/* Terminal logo mark, left of the name. Same SVG/colors as the existing favicon. */
body.hero-themed .header .logo {
	overflow: visible;
}
body.hero-themed .header .logo a {
	gap: 10px;
}
body.hero-themed .header .logo .logo-mark {
	width: 30px;
	height: 30px;
	flex: none;
	display: block;
	border-radius: 8px;
	/* Keep the mark's own mint-on-dark colors. layout.css inverts
	   .header .logo img when a page background is enabled. */
	filter: none;
}

/* The logo used to swap to "Download CV" on hover via hover-masks-logo.
   That hover text is gone, and the new mark should stay put with the name. */
body.hero-themed .header .logo.hover-masks-logo .mask-lnk,
body.hero-themed .header .logo.hover-masks-logo a:hover .mask-lnk,
body.hero-themed .header .logo.hover-masks-logo a:focus .mask-lnk {
	transform: none;
	opacity: 1;
}
