/*
Theme Name: Opes
Theme URI: https://opes.dev
Author: Opes
Author URI: https://github.com/opesoid
Description: Personal site theme for Opes.dev. A child theme of Twenty Twenty-Five in the Pixel Depth style: dark gridded background, Jersey pixel fonts, yellow and orange accents, faint borders and hard black shadows.
Template: twentytwentyfive
Version: 1.9.10
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: opes
*/

/* Fonts: Jersey 10 and Jersey 15 by The Soft Type Project, SIL Open Font License 1.1 (assets/fonts/OFL.txt). */

html {
	scrollbar-gutter: stable;
}

body {
	min-height: 100vh;
	background-attachment: fixed;
	text-shadow: 1px 1px 0 var(--wp--preset--color--shadow);
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group:has(> main) {
	flex: 1 0 auto;
}

h1, h2,
.wp-block-site-title {
	text-shadow: 3px 3px 0 var(--wp--preset--color--shadow);
}

h3, h4, h5, h6 {
	text-shadow: 2px 2px 0 var(--wp--preset--color--shadow);
}

p, li, blockquote, dd {
	line-height: 1.35;
}

*:focus,
*:focus-visible {
	outline: none;
}

a:focus-visible {
	color: var(--wp--preset--color--accent-orange);
	text-decoration: underline;
}

.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible {
	text-decoration: none;
}

/* Header */
.opes-header {
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: rgba(17, 17, 17, 0.6);
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation__submenu-icon,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--accent-orange);
}

.wp-block-navigation__responsive-container.is-menu-open {
	text-shadow: 2px 2px 0 var(--wp--preset--color--shadow);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	font-size: var(--wp--preset--font-size--x-large);
	gap: 0.75rem;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:focus,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible {
	outline: none;
	box-shadow: none;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Footer */
.opes-footer {
	border-top: 1px solid var(--wp--preset--color--border);
	margin-block-start: var(--wp--preset--spacing--70);
}

.opes-footer a {
	text-decoration: none;
}

/* Hero */
.opes-hero {
	text-align: center;
	padding-block: clamp(2.5rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
}

.opes-hero .has-hero-font-size {
	line-height: 0.95;
	letter-spacing: 0.02em;
}

.opes-hero .opes-tagline {
	font-size: var(--wp--preset--font-size--large);
	max-width: 40ch;
	margin-inline: auto;
}

.opes-hero .opes-tagline em {
	font-style: normal;
	color: var(--opes-text);
}

/* Home page */
.opes-home-hero {
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
	text-align: center;
}

.opes-home-hero > * {
	margin-block: 0;
}

.opes-home-title.opes-home-title {
	font-family: var(--wp--preset--font-family--jersey-15);
	font-size: clamp(2.75rem, 7vw, 4.5rem);
	line-height: 1;
	color: var(--opes-text);
}

.opes-home-title::after {
	content: none;
	display: none;
}

.opes-home-intro {
	margin-top: var(--wp--preset--spacing--20) !important;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
	color: var(--wp--preset--color--contrast);
}

.opes-home-buttons {
	gap: 0.9rem;
	margin-top: var(--wp--preset--spacing--30) !important;
}

.opes-home-buttons .wp-block-button__link {
	padding: 0.5rem 1.4rem;
	font-size: var(--wp--preset--font-size--large);
	border: 1px solid var(--opes-border);
	border-radius: 4px;
	box-shadow: none;
	transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.opes-home-buttons .wp-block-button__link:active {
	transform: none;
	box-shadow: none;
}

.opes-btn-solid > .wp-block-button__link {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--accent-yellow);
}

.opes-btn-solid > .wp-block-button__link:hover,
.opes-btn-solid > .wp-block-button__link:focus-visible {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--accent-orange);
	border-color: var(--wp--preset--color--accent-orange);
}

.opes-btn-ghost > .wp-block-button__link {
	color: var(--opes-text);
	background: var(--wp--preset--color--base-deep);
}

.opes-btn-ghost > .wp-block-button__link:hover,
.opes-btn-ghost > .wp-block-button__link:focus-visible {
	color: var(--opes-yellow);
	border-color: var(--opes-yellow);
}

.opes-feature-chips.opes-feature-chips {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--30);
}

@media (max-width: 781px) {
	.opes-feature-chips.opes-feature-chips {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.opes-feature-chips > .opes-feature-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0.7rem 0.8rem;
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base-deep);
	border: 1px solid #2c2c2c;
	border-radius: 6px;
	line-height: 1.2;
	text-align: center;
}

.opes-feature-chip::before {
	content: "";
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	background: var(--opes-muted);
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.opes-icon-code::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%2216 18 22 12 16 6%22/%3E%3Cpolyline points=%228 6 2 12 8 18%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%2216 18 22 12 16 6%22/%3E%3Cpolyline points=%228 6 2 12 8 18%22/%3E%3C/svg%3E");
}

.opes-icon-home::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z%22/%3E%3Cpolyline points=%229 22 9 12 15 12 15 22%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z%22/%3E%3Cpolyline points=%229 22 9 12 15 12 15 22%22/%3E%3C/svg%3E");
}

.opes-icon-server::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%222%22 width=%2220%22 height=%228%22 rx=%222%22 ry=%222%22/%3E%3Crect x=%222%22 y=%2214%22 width=%2220%22 height=%228%22 rx=%222%22 ry=%222%22/%3E%3Cline x1=%226%22 y1=%226%22 x2=%226.01%22 y2=%226%22/%3E%3Cline x1=%226%22 y1=%2218%22 x2=%226.01%22 y2=%2218%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%222%22 width=%2220%22 height=%228%22 rx=%222%22 ry=%222%22/%3E%3Crect x=%222%22 y=%2214%22 width=%2220%22 height=%228%22 rx=%222%22 ry=%222%22/%3E%3Cline x1=%226%22 y1=%226%22 x2=%226.01%22 y2=%226%22/%3E%3Cline x1=%226%22 y1=%2218%22 x2=%226.01%22 y2=%2218%22/%3E%3C/svg%3E");
}

.opes-icon-cloud::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z%22/%3E%3C/svg%3E");
}

.opes-home-section {
	margin-top: var(--wp--preset--spacing--50) !important;
}

.opes-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: var(--wp--preset--spacing--20);
}

.opes-section-head > * {
	margin: 0;
}

.opes-home-heading.opes-home-heading {
	margin-block: 0 var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--jersey-15);
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--opes-text);
	margin: 0;
}

.opes-see-all a,
.opes-see-all a:visited {
	color: var(--opes-muted);
	text-decoration: none;
}

.opes-see-all a:hover,
.opes-see-all a:focus-visible {
	color: var(--opes-yellow);
	text-decoration: underline;
}

.opes-project-tile.opes-home-feature {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	align-items: stretch;
	gap: 0.75rem;
	padding: 0.65rem 0.65rem 0.85rem;
}

.opes-home-feature .opes-project-media {
	margin: 0;
}

.opes-home-feature-body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding-block: 0.25rem 0.1rem;
}

.opes-home-feature-body > * {
	margin-block: 0;
}

@media (max-width: 781px) {
	.opes-project-tile.opes-home-feature {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.5rem;
	}
}

@media (max-width: 600px) {
	.opes-terminal.opes-404-terminal {
		font-size: 0.8rem;
		white-space: pre-wrap;
		overflow-wrap: anywhere;
		overflow-x: visible;
	}
}

.opes-section-head:has(+ .opes-home-posts) .opes-see-all {
	flex: 0 0 auto;
	white-space: nowrap;
}

.opes-home-post-grid.opes-home-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
	margin: 0;
	padding: 0;
	list-style: none;
}

.opes-home-post-grid.opes-home-post-grid > li {
	min-width: 0;
	margin: 0;
}

@media (max-width: 781px) {
	.opes-home-post-grid.opes-home-post-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.opes-home-post {
	position: relative;
	display: flex;
	flex-direction: column;
}

.opes-home-post > * {
	margin: 0;
}

.opes-home-post:focus-within {
	border-color: var(--opes-border-strong);
}

.opes-home-post.opes-tile {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.65rem 0.65rem 0.85rem;
}

.opes-home-post-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	background-color: var(--opes-surface);
	background-image: none;
	border-bottom: 0;
}

.opes-home-post-media > * {
	margin: 0;
}

.opes-home-post .opes-home-post-media .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	height: 100%;
	margin: 0;
	border-bottom: 0;
}

.opes-home-post .opes-home-post-media .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.opes-date-badge {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 1;
	min-width: 2.75rem;
	padding: 0.3rem 0.45rem 0.25rem;
	text-align: center;
	line-height: 1.05;
	background: var(--wp--preset--color--base-deep);
	border: 1px solid var(--opes-border);
	border-radius: 4px;
	box-shadow: 2px 2px 0 var(--wp--preset--color--shadow);
}

.opes-date-badge > * {
	margin: 0;
	color: var(--wp--preset--color--contrast);
}

.opes-date-badge .opes-date-month {
	font-size: var(--wp--preset--font-size--small);
	color: var(--opes-muted);
}

.opes-date-badge .opes-date-day {
	font-size: var(--wp--preset--font-size--large);
}

.opes-home-post-body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.15rem 0.25rem 0.1rem;
}

.opes-home-post .opes-home-post-title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.2;
}

.opes-home-post-title a,
.opes-home-post-title a:visited {
	color: var(--opes-text);
	text-decoration: none;
}

.opes-home-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 6px;
	cursor: pointer;
}

.opes-home-post:hover .opes-home-post-title a,
.opes-home-post-title a:focus-visible {
	color: var(--wp--preset--color--accent-orange);
}

.opes-home-post .opes-home-post-excerpt {
	margin: 0;
}

.opes-home-post-excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
	overflow: hidden;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.opes-home-post-excerpt .wp-block-post-excerpt__more-text {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.opes-home-post,
	.opes-home-post:hover {
		transition: none;
		transform: none;
	}
}

/* About page */
.opes-about-intro.opes-about-intro {
	align-items: center;
	margin-top: 0;
}

.opes-about-avatar {
	margin: 0;
}

.opes-about-avatar img {
	display: block;
	width: 100%;
	max-width: 300px;
	height: auto;
	image-rendering: auto;
}

.opes-about-text > * {
	margin-block: 0;
}

.opes-about-title.opes-about-title {
	margin-bottom: var(--wp--preset--spacing--20);
	font-size: clamp(2.25rem, 5vw, 3rem);
}

.opes-about-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
	color: var(--wp--preset--color--contrast);
}

.opes-about-meta.opes-about-meta {
	margin-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--muted);
}

@media (max-width: 781px) {
	.opes-about-avatar img {
		max-width: 240px;
		margin-inline: auto;
	}
}

.opes-icon-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.opes-icon-grid > .opes-icon-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	margin: 0;
	padding: 1.4rem 1rem 1.2rem;
	background: var(--wp--preset--color--base-deep);
	border: 1px solid var(--opes-border);
	border-radius: 6px;
	text-align: center;
}

.opes-icon-tile > p {
	margin: 0;
}

.opes-icon-tile-icon {
	line-height: 0;
	color: var(--opes-muted);
}

.opes-svg-icon {
	display: inline-block;
	width: 64px;
	height: 64px;
}

.opes-icon-tile-label {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.25;
	color: var(--wp--preset--color--contrast);
}

.opes-stack-grid > .opes-icon-tile {
	flex: 0 0 calc((100% - 3rem) / 4);
}

.opes-hobby-grid > .opes-icon-tile {
	flex: 1 1 0;
	padding-block: 1rem;
}

.opes-hobby-grid .opes-svg-icon {
	width: 40px;
	height: 40px;
}

@media (max-width: 600px) {
	.opes-stack-grid > .opes-icon-tile {
		flex-basis: calc((100% - 1rem) / 2);
	}

	.opes-svg-icon {
		width: 44px;
		height: 44px;
	}

	.opes-hobby-grid > .opes-icon-tile {
		flex-basis: 100%;
	}
}

.opes-timeline.opes-timeline {
	position: relative;
	margin: 0;
	padding: 0 0 0 1.75rem;
	list-style: none;
}

.opes-timeline::before {
	content: "";
	position: absolute;
	top: 0.75em;
	bottom: 0.75em;
	left: 5px;
	width: 2px;
	background: var(--opes-border-strong);
}

.opes-timeline > li {
	position: relative;
	margin: 0;
	padding: 0.5rem 0;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--contrast);
	line-height: 1.5;
}

.opes-timeline > li::before {
	content: "";
	position: absolute;
	top: calc(0.5rem + 0.75em - 6px);
	left: calc(-1.75rem);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--opes-border-strong);
}

.opes-about-cta.opes-about-cta {
	margin-top: var(--wp--preset--spacing--50) !important;
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--base-deep);
	border: 1px solid var(--opes-border);
	border-radius: 6px;
}

.opes-about-cta > * {
	margin-block: 0;
}

.opes-about-cta-title.opes-about-cta-title {
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--contrast);
}

.opes-about-cta .opes-home-buttons {
	margin-top: var(--wp--preset--spacing--20) !important;
}

.wp-block-navigation .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
	min-width: 190px;
	padding: 0.4rem 0;
	color: var(--opes-muted);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content {
	padding: 0.45rem 1rem;
}

.wp-block-navigation .wp-block-navigation-submenu__toggle,
.wp-block-navigation .wp-block-navigation-submenu__toggle:focus,
.wp-block-navigation .wp-block-navigation-submenu__toggle:focus-visible {
	color: inherit;
	outline: none;
	box-shadow: none;
}

.wp-block-navigation .has-child:hover > .wp-block-navigation-item__content,
.wp-block-navigation .has-child:hover > .wp-block-navigation-submenu__toggle {
	color: var(--wp--preset--color--accent-orange);
}

.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
	min-width: 0;
	padding: 0.5rem 0 0;
	align-items: flex-end;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content {
	padding: 0;
	font-size: var(--wp--preset--font-size--large);
}

.opes-home-intro-cols .opes-home-buttons.opes-home-buttons {
	margin-top: var(--wp--preset--spacing--30) !important;
}

.opes-home-intro-cols .opes-home-title.opes-home-title {
	text-align: left;
}

.opes-home-meta.opes-home-meta {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

.opes-home-meta-line {
	margin: 0;
	padding-block: 0.75rem;
	font-family: var(--opes-body, inherit);
	font-size: 1rem;
	line-height: 1.55;
	border-bottom: 1px solid var(--opes-border, var(--wp--preset--color--border));
}

.opes-home-meta-line:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.opes-home-meta-line:first-child {
	padding-top: 0;
}

.opes-home-meta-label {
	display: inline-block;
	min-width: 3.75rem;
	color: var(--opes-muted, var(--wp--preset--color--muted));
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-inline-end: 0.5rem;
	vertical-align: baseline;
}

.opes-home-meta-value {
	color: var(--opes-text, var(--wp--preset--color--contrast));
}

.opes-home-chip-grid .opes-svg-icon {
	width: 40px;
	height: 40px;
}

@media (max-width: 781px) {
	.opes-home-intro-cols .opes-about-text {
		text-align: center;
	}

	.opes-home-intro-cols .opes-home-title.opes-home-title {
		text-align: center;
	}

	.opes-home-intro-cols .opes-home-buttons.opes-home-buttons {
		justify-content: center;
	}
}


/* Cards and meta text */
.is-style-card h3 a,
.is-style-card h2 a {
	text-decoration: none;
}

.opes-meta {
	color: var(--wp--preset--color--accent-orange);
	font-size: var(--wp--preset--font-size--small);
}

.opes-section-title {
	margin-block-start: var(--wp--preset--spacing--70) !important;
}

/* Blog list: tiled grid */
.opes-post-list .wp-block-post-template {
	gap: var(--wp--preset--spacing--40);
}

.opes-tile {
	height: 100%;
	background: var(--wp--preset--color--panel);
	border: 1px solid var(--opes-border);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.opes-tile:hover {
	border-color: var(--opes-border-strong);
	transform: translateY(-2px);
}

.opes-tile .wp-block-post-featured-image {
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.opes-tile .wp-block-post-featured-image img {
	display: block;
	width: 100%;
}

.opes-tile-body {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
}

.opes-tile-body > * {
	margin-block: 0 0.5rem;
}

.opes-post-list .wp-block-post-title a {
	text-decoration: none;
	color: var(--opes-text);
}

.opes-tile .wp-block-post-excerpt__excerpt {
	color: var(--wp--preset--color--muted);
}

/* Skills definition-style list */
.opes-skills strong {
	color: var(--opes-text);
	font-weight: 400;
}

/* Buttons: pixel look, square, hard shadow */
.wp-block-button.is-style-outline > .wp-block-button__link {
	padding: 0.6rem 1.4rem;
}

.wp-block-button__link,
.wp-element-button {
	box-shadow: 3px 3px 0 var(--wp--preset--color--shadow);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.wp-block-button__link:active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--wp--preset--color--shadow);
}

::selection {
	background: var(--wp--preset--color--accent-yellow);
	color: var(--wp--preset--color--base-deep);
	text-shadow: none;
}

/* Contact page */
.opes-contact-intro {
	margin-block: 0 var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--contrast);
	text-align: center;
}

.opes-contact.opes-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	align-items: start;
	gap: var(--wp--preset--spacing--30);
	max-width: 940px;
	margin-inline: auto;
}

@media (max-width: 781px) {
	.opes-contact.opes-contact {
		grid-template-columns: minmax(0, 1fr);
	}
}

.opes-contact > * {
	margin-block: 0;
}

.opes-panel {
	background: var(--wp--preset--color--panel);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 4px 4px 0 var(--wp--preset--color--shadow);
	padding: var(--wp--preset--spacing--40);
}

.opes-contact-card {
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--panel);
	border: 1px solid var(--opes-border);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.opes-contact-info h2 {
	margin-block: 0 var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--jersey-15);
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--opes-text);
	text-align: center;
}

.opes-info-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.opes-info-row {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding-block: 0.85rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.opes-info-row:last-child {
	border-bottom: 0;
}

.opes-info-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--opes-muted);
	border: 1px solid var(--opes-border);
	border-radius: 6px;
}

.opes-info-icon svg {
	display: block;
}

.opes-info-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}

.opes-info-label {
	color: var(--opes-muted);
}

.opes-info-value {
	color: var(--wp--preset--color--contrast);
	word-break: break-word;
}

.opes-contact-info a,
.opes-contact-info a:visited {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.opes-contact-info a:hover,
.opes-contact-info a:focus-visible {
	color: var(--wp--preset--color--accent-orange);
	text-decoration: underline;
}

.opes-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0 0;
	padding: 0.3rem 0.7rem;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base-deep);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 6px;
}

.opes-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d9534f;
}

.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible {
	text-decoration: none;
}

.opes-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
}

.opes-form > * {
	grid-column: 1 / -1;
}

.opes-form > .opes-field-name,
.opes-form > .opes-field-email {
	grid-column: auto;
}

@media (max-width: 600px) {
	.opes-form > .opes-field-name,
	.opes-form > .opes-field-email {
		grid-column: 1 / -1;
	}
}

.opes-field {
	display: grid;
	gap: 0.35rem;
}

.opes-field label {
	color: var(--opes-muted);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1;
}

.opes-field .opes-req {
	color: var(--opes-yellow);
}

.opes-field input,
.opes-field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.6rem 0.75rem;
	background: var(--wp--preset--color--base-deep);
	color: var(--wp--preset--color--contrast);
	border: 1px solid #2c2c2c;
	border-radius: 4px;
	font-family: var(--wp--preset--font-family--jersey-10);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.3;
	text-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.opes-field textarea {
	min-height: 9rem;
	resize: vertical;
}

.opes-field input:focus,
.opes-field textarea:focus,
.opes-field input:focus-visible,
.opes-field textarea:focus-visible {
	outline: none;
	background: #1a1a1a;
	border-color: var(--opes-border-strong);
	box-shadow: none;
}

.opes-field [aria-invalid="true"] {
	border-color: var(--wp--preset--color--accent-orange);
}

.opes-field-error {
	color: var(--wp--preset--color--accent-orange);
	font-size: var(--wp--preset--font-size--small);
	margin: 0;
}

.opes-field-captcha input {
	max-width: 8rem;
}

.opes-counter {
	justify-self: end;
	margin: -0.1rem 0 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.opes-counter.is-near-limit {
	color: var(--wp--preset--color--accent-orange);
}

.opes-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.opes-form .opes-send {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.55rem 1rem;
	cursor: pointer;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--accent-yellow);
	border: 1px solid var(--wp--preset--color--accent-yellow);
	border-radius: 4px;
	box-shadow: none;
	transition: background-color 0.15s, border-color 0.15s;
}

.opes-form .opes-send:hover,
.opes-form .opes-send:focus,
.opes-form .opes-send:focus-visible {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--accent-orange);
	border-color: var(--wp--preset--color--accent-orange);
}

.opes-form .opes-send:active {
	transform: translateY(1px);
}

.opes-send-icon {
	flex: 0 0 auto;
}

.opes-reply-note {
	margin: 0;
	text-align: center;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.opes-notice {
	margin-block-end: var(--wp--preset--spacing--30);
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--base-deep);
	border: 1px solid var(--opes-border);
	color: var(--wp--preset--color--contrast);
}

.opes-notice.is-error {
	border-color: var(--wp--preset--color--accent-orange);
}

.opes-notice p,
.opes-notice ul {
	margin: 0;
}

.opes-notice ul {
	padding-left: 1.25rem;
	margin-top: 0.35rem;
}

/* Projects */
.opes-projects-intro {
	margin-block: 0 var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--contrast);
	text-align: center;
}

.opes-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-block: 0 var(--wp--preset--spacing--40);
}

.opes-pill {
	padding: 0.2rem 0.8rem;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base-deep);
	border: 1px solid var(--opes-border);
	border-radius: 6px;
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}

.opes-pill:hover {
	color: var(--wp--preset--color--accent-orange);
	border-color: var(--wp--preset--color--accent-orange);
}

.opes-pill:focus,
.opes-pill:focus-visible {
	outline: none;
}

.opes-pill:focus-visible {
	background: #1a1a1a;
	border-color: var(--opes-border-strong);
}

.opes-pill[aria-pressed="true"] {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--accent-yellow);
	border-color: var(--opes-border);
}

.opes-pill[aria-pressed="true"]:hover,
.opes-pill[aria-pressed="true"]:focus-visible {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--accent-orange);
	border-color: var(--wp--preset--color--accent-orange);
}

.opes-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.opes-project-grid.opes-project-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
}

@media (max-width: 1024px) {
	.opes-project-grid.opes-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.opes-project-grid.opes-project-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.opes-project-tile {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.65rem 0.65rem 0.85rem;
	background: var(--wp--preset--color--panel);
	border: 1px solid var(--opes-border);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.opes-project-tile {
	position: relative;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.opes-project-tile.opes-project-tile:hover {
	border-color: var(--opes-border-strong);
	transform: translateY(-2px);
}

.opes-project-tile a {
	position: relative;
	z-index: 2;
}

.opes-project-tile .opes-project-links a:first-child {
	position: static;
}

.opes-project-tile .opes-project-links a:first-child::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 6px;
	cursor: pointer;
}

.opes-project-tile[hidden] {
	display: none;
}

.opes-project-tile.is-featured {
	border-color: var(--opes-border);
}

.opes-project-tile > * {
	margin-block: 0;
}

.opes-project-media {
	position: relative;
	margin: 0 0 0.25rem;
}

.opes-project-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: top center;
	border-radius: 4px;
}

.opes-project-tile.is-featured .opes-project-media::after {
	content: "FEATURED";
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
	padding: 0.1rem 0.45rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.03em;
	color: var(--opes-yellow);
	background: var(--opes-bg-deep);
	border: 1px solid var(--opes-yellow);
	border-radius: 4px;
}

.opes-project-tile .opes-project-title {
	padding-inline: 0.25rem;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.1;
}

.opes-project-title,
.opes-project-title a,
.opes-project-title a:visited {
	color: var(--opes-text);
	text-decoration: none;
}

.opes-project-title a:hover,
.opes-project-title a:focus-visible {
	color: var(--opes-yellow);
	text-decoration: underline;
}

.opes-project-desc {
	padding-inline: 0.25rem;
	color: var(--wp--preset--color--contrast);
	line-height: 1.25;
	flex: 1 0 auto;
}

.opes-project-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-top: auto;
	padding: 0.35rem 0.25rem 0;
}

.opes-project-footer > * {
	margin-block: 0;
}

.opes-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.opes-chips > .opes-chip {
	margin: 0;
	padding: 0.1rem 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.3;
	color: var(--wp--preset--color--contrast);
	background: #333333;
	border-radius: 4px;
}

.opes-project-links {
	display: flex;
	gap: 1rem;
	margin: 0;
}

.opes-project-links a,
.opes-project-links a:visited {
	color: var(--opes-muted);
	text-decoration: none;
}

.opes-project-links a:hover,
.opes-project-links a:focus-visible {
	color: var(--wp--preset--color--accent-orange);
	text-decoration: underline;
}

/* Project detail */
.opes-project-icon img {
	display: block;
	width: 80px;
	height: 80px;
	image-rendering: auto;
}

.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible {
	text-decoration: none;
}

.opes-project-buttons {
	gap: 0.75rem;
	align-items: center;
}

.opes-btn-primary > .wp-block-button__link {
	color: var(--opes-text);
	border-color: var(--opes-border);
}

.opes-btn-primary > .wp-block-button__link:hover,
.opes-btn-primary > .wp-block-button__link:focus,
.opes-btn-primary > .wp-block-button__link:focus-visible {
	color: var(--wp--preset--color--accent-yellow);
	border-color: var(--wp--preset--color--accent-yellow);
}

.wp-block-button.is-style-outline.opes-btn-small > .wp-block-button__link {
	font-size: var(--wp--preset--font-size--medium);
	padding: 0.45rem 0.9rem;
}

.opes-project-buttons.opes-project-buttons .wp-block-button > .wp-block-button__link,
.opes-project-tile.opes-project-tile .wp-block-button > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 2.5rem;
	padding: calc(0.45rem + 1px) calc(0.9rem + 1px);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.2;
	border-width: 1px;
	border-style: solid;
}

.opes-project-detail .opes-project-icon {
	margin-inline: auto;
}

.opes-project-detail h2 {
	color: var(--opes-text);
	font-size: var(--wp--preset--font-size--x-large);
	margin-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--20);
}

.opes-project-detail .opes-notice {
	border: 0;
	border-left: 4px solid var(--opes-border-strong);
	border-radius: 0;
}

.opes-project-detail .opes-notice a {
	color: var(--opes-text);
}

.opes-project-detail .opes-notice a:hover,
.opes-project-detail .opes-notice a:focus-visible {
	color: var(--wp--preset--color--accent-orange);
}

.page-id-8 .wp-block-navigation a.wp-block-navigation-item__content[href$="/projects/"],
.parent-pageid-8 .wp-block-navigation a.wp-block-navigation-item__content[href$="/projects/"] {
	color: var(--wp--preset--color--accent-orange);
}

/* Project README */
.opes-readme .wp-block-code {
	overflow-x: auto;
	font-size: 0.8rem;
	line-height: 1.45;
}

.opes-readme .wp-block-code code {
	display: block;
	white-space: pre;
	overflow-wrap: normal;
	word-break: normal;
}

.opes-readme :not(pre) > code {
	padding: 0.05em 0.35em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.85em;
	background: var(--wp--preset--color--base-deep);
	border: 1px solid var(--wp--preset--color--border);
}

.opes-readme li > ul {
	margin-top: 0.35rem;
}

/* Post author */
.wp-block-avatar img {
	border-radius: 0;
}

.wp-block-avatar img {
	display: block;
}

.opes-byline {
	gap: 0.6rem;
	margin-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--small);
}

.opes-byline > * {
	margin: 0;
}

.opes-byline .wp-block-post-author-name {
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
}

.opes-byline .wp-block-post-date {
	color: var(--wp--preset--color--accent-orange);
}

.opes-byline .wp-block-post-date::before {
	content: "·";
	margin-right: 0.6rem;
	color: var(--wp--preset--color--muted);
}

.opes-author-card {
	gap: var(--wp--preset--spacing--40);
	margin-block-start: var(--wp--preset--spacing--60);
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--panel);
	border: 1px solid var(--opes-border);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.opes-author-card .wp-block-avatar {
	flex-shrink: 0;
	margin: 0;
}

.opes-author-card-body > * {
	margin-block: 0 0.35rem;
}

.opes-author-card-label {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.opes-author-card-name {
	color: var(--opes-text);
	font-family: var(--wp--preset--font-family--jersey-15);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1;
}

.opes-author-card .wp-block-post-author-biography {
	margin-bottom: 0;
	color: var(--wp--preset--color--contrast);
}

.opes-tile-meta {
	gap: 0.4rem;
}

.opes-tile-meta > * {
	margin: 0;
}

.opes-tile-meta .wp-block-post-author-name {
	color: var(--wp--preset--color--contrast);
}

.opes-tile-meta .wp-block-post-date::before {
	content: "·";
	margin-right: 0.4rem;
	color: var(--wp--preset--color--muted);
}

@media (max-width: 480px) {
	.opes-author-card {
		flex-wrap: wrap;
	}
}

.opes-project-buttons .wp-block-button > .wp-block-button__link {
	border-color: var(--opes-border);
	border-radius: 4px;
	box-shadow: none;
}

.opes-project-buttons .wp-block-button > .wp-block-button__link:active {
	transform: none;
	box-shadow: none;
}

.opes-chips > .opes-chip.opes-chip-status {
	color: var(--wp--preset--color--accent-orange);
	background: var(--wp--preset--color--base-deep);
	border: 1px solid var(--opes-border);
}

@media (min-width: 782px) {
	.opes-home-feature-body {
		justify-content: center;
	}

	.opes-home-feature .opes-project-desc {
		flex: 0 0 auto;
	}

	.opes-home-feature .opes-project-footer {
		margin-top: 0.75rem;
	}
}

.opes-see-all a,
.opes-project-links a,
.opes-footer a,
.opes-back-link a,
.opes-info-value a,
.opes-tile-meta a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
}

.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link {
	position: relative;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link:hover,
.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link:focus-within {
	border-color: var(--opes-border-strong);
	transform: translateY(-2px);
}

.opes-icon-tile-link .opes-icon-tile-label a,
.opes-icon-tile-link .opes-icon-tile-label a:visited {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.opes-icon-tile-link .opes-icon-tile-label a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 6px;
	cursor: pointer;
}

.opes-icon-tile-link:hover .opes-icon-tile-label a,
.opes-icon-tile-link .opes-icon-tile-label a:focus-visible {
	color: var(--wp--preset--color--accent-orange);
}

.opes-404 {
	text-align: center;
}

.opes-404 > * {
	margin-inline: auto;
}

.opes-404 .opes-404-code {
	margin-block: 0;
	font-family: var(--wp--preset--font-family--jersey-10);
	font-size: clamp(6rem, 22vw, 11rem);
	line-height: 0.9;
	color: var(--opes-text);
}

.opes-404 .opes-404-title {
	margin-block: var(--wp--preset--spacing--20) 0;
}

.opes-404 .opes-404-text {
	max-width: 32rem;
	color: var(--wp--preset--color--muted);
}

.opes-404 .opes-terminal.opes-404-terminal {
	max-width: 26rem;
	text-align: left;
	border-color: var(--opes-border);
}

.opes-404 .opes-404-buttons {
	margin-top: var(--wp--preset--spacing--40) !important;
}

.opes-404 .opes-404-buttons .wp-block-button__link {
	min-width: 7.5rem;
}

@media (prefers-reduced-motion: reduce) {
	.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link,
	.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link:hover {
		transition: none;
		transform: none;
	}
}

:root {
	--opes-bg: var(--wp--preset--color--base-deep);
	--opes-bg-deep: #0a0a0b;
	--opes-panel: var(--wp--preset--color--panel);
	--opes-panel-hi: var(--wp--custom--opes--panel-hi);
	--opes-surface: var(--wp--custom--opes--surface);
	--opes-text: var(--wp--custom--opes--text);
	--opes-muted: var(--wp--preset--color--muted);
	--opes-yellow: var(--wp--preset--color--accent-yellow);
	--opes-orange: var(--wp--preset--color--accent-orange);
	--opes-border: var(--wp--preset--color--border);
	--opes-border-strong: var(--wp--custom--opes--border-strong);
	--opes-tint: var(--wp--custom--opes--tint);
	--opes-radius: var(--wp--custom--opes--radius);
	--opes-shadow: var(--wp--custom--opes--shadow-card);
	--opes-shadow-lift: var(--wp--custom--opes--shadow-lift);
	--opes-shadow-hard: var(--wp--custom--opes--shadow-hard);
	--opes-lift: var(--wp--custom--opes--lift);
	--opes-ease: var(--wp--custom--opes--ease);
	--opes-speed: var(--wp--custom--opes--speed);
	--opes-display: var(--wp--preset--font-family--jersey-15);
	--opes-body: var(--wp--preset--font-family--jersey-10);
	--opes-grid: var(--wp--custom--opes--grid);
}

@view-transition {
	navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.18s;
}

.opes-header {
	view-transition-name: opes-header;
}

body {
	color: var(--opes-text);
	background-color: var(--opes-bg);
	background-image:
		radial-gradient(1200px 600px at 78% -10%, rgba(236, 236, 238, 0.04), transparent 60%),
		linear-gradient(var(--opes-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--opes-grid) 1px, transparent 1px);
	background-size: auto, 24px 24px, 24px 24px;
	background-attachment: fixed;
}

h1, h2, h3,
.wp-block-post-title {
	color: var(--opes-text);
}

.wp-block-post-title a,
.wp-block-post-title a:visited {
	color: inherit;
}

main h1.wp-block-post-title,
main > h1.wp-block-heading,
main .wp-block-query-title,
.opes-home-title.opes-home-title,
.opes-about-title.opes-about-title,
.opes-404 .opes-404-code {
	text-shadow: 5px 5px 0 #000;
}

main > h1.wp-block-post-title.has-text-align-center,
main > h1.wp-block-heading.has-text-align-center:not(.opes-404-title),
main > .wp-block-query-title.has-text-align-center {
	font-size: clamp(3.25rem, 7vw, 6rem);
	line-height: 1;
	margin-bottom: var(--wp--preset--spacing--30);
}

main > h1.wp-block-post-title.has-text-align-center::after,
main > h1.wp-block-heading.has-text-align-center:not(.opes-404-title)::after,
main > .wp-block-query-title.has-text-align-center::after {
	content: "";
	display: block;
	width: 72px;
	height: 6px;
	margin: 18px auto 0;
	background: var(--opes-border-strong);
	box-shadow: var(--opes-shadow-hard);
}

.opes-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(14, 14, 16, 0.94);
	border-bottom: 1px solid var(--opes-border);
}

.opes-header:has(.is-menu-open) {
	view-transition-name: none;
}

.admin-bar .opes-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.opes-header .wp-block-site-title a {
	color: var(--opes-text);
	text-shadow: 3px 3px 0 #000;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 0.7rem;
	color: var(--opes-muted);
	border: 1px solid transparent;
	border-radius: var(--opes-radius);
	transition: color var(--opes-speed), border-color var(--opes-speed), background-color var(--opes-speed);
}

.opes-header .wp-block-navigation {
	--navigation-layout-gap: 0.25rem;
	gap: 0.25rem;
}

.opes-header .wp-block-navigation .wp-block-navigation__container {
	gap: 0.25rem;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible {
	color: var(--opes-yellow);
	border-color: transparent;
	background: transparent;
	text-decoration: none;
	outline: none;
	box-shadow: none;
}

.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content[aria-current="page"],
.page-id-8 .wp-block-navigation a.wp-block-navigation-item__content[href$="/projects/"],
.parent-pageid-8 .wp-block-navigation a.wp-block-navigation-item__content[href$="/projects/"] {
	color: var(--opes-yellow);
	border-color: transparent;
	background: transparent;
	text-decoration: none;
}

.opes-header .wp-block-navigation .has-child > .wp-block-navigation-item__content.wp-block-navigation-item__content {
	padding-right: 1.6rem;
}

.opes-header .wp-block-navigation .has-child > .wp-block-navigation-submenu__toggle {
	position: absolute;
	right: 0.55rem;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

.opes-header .wp-block-navigation .has-child:hover > .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var(--opes-yellow);
}

.wp-block-navigation .has-child > .wp-block-navigation-submenu__toggle,
.wp-block-navigation .wp-block-navigation__submenu-icon {
	color: var(--opes-muted);
}

.wp-block-navigation .current-menu-ancestor > .wp-block-navigation__submenu-icon {
	color: var(--opes-yellow);
}

.wp-block-navigation .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
	background: var(--opes-panel) !important;
	border: 1px solid var(--opes-border) !important;
	box-shadow: var(--opes-shadow);
}

.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--opes-bg) !important;
	background-image:
		linear-gradient(var(--opes-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--opes-grid) 1px, transparent 1px) !important;
	background-size: 24px 24px !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
	padding: 0.25rem 0.75rem;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--opes-yellow);
}

.opes-footer {
	margin-block-start: clamp(4rem, 8vw, 6rem);
	color: var(--opes-muted);
	background: rgba(0, 0, 0, 0.35);
	border-top: 1px solid var(--opes-border);
}

.opes-footer a,
.opes-footer a:visited {
	color: var(--opes-muted);
	transition: color var(--opes-speed);
}

.opes-footer a:hover,
.opes-footer a:focus-visible {
	color: var(--opes-yellow);
}

.opes-tile,
.opes-project-tile,
.opes-icon-grid > .opes-icon-tile,
.opes-panel,
.opes-contact-card,
.opes-about-cta.opes-about-cta,
.opes-author-card,
.opes-home-meta.opes-home-meta,
.is-style-card {
	background: var(--opes-surface);
	border: 1px solid var(--opes-border);
	border-radius: var(--opes-radius);
	box-shadow: var(--opes-shadow);
	transition: transform var(--opes-speed) var(--opes-ease), border-color var(--opes-speed), box-shadow var(--opes-speed);
}

.opes-tile:hover,
.opes-tile:focus-within,
.opes-project-tile.opes-project-tile:hover,
.opes-project-tile:focus-within,
.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link:hover,
.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link:focus-within {
	transform: var(--opes-lift);
	border-color: var(--opes-border-strong);
	box-shadow: var(--opes-shadow-lift);
}

.opes-home-buttons .wp-block-button__link,
.opes-project-buttons .wp-block-button > .wp-block-button__link,
.opes-project-tile.opes-project-tile .wp-block-button > .wp-block-button__link,
.opes-404 .opes-404-buttons .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 1.4rem;
	font-family: var(--opes-display);
	font-size: 1.5rem;
	letter-spacing: 0.03em;
	border-radius: var(--opes-radius);
	transition: transform var(--opes-speed) var(--opes-ease), box-shadow var(--opes-speed), color var(--opes-speed), background-color var(--opes-speed), border-color var(--opes-speed);
}

.opes-btn-solid > .wp-block-button__link,
.opes-btn-primary > .wp-block-button__link {
	color: #111;
	background: var(--opes-yellow);
	border: 1px solid var(--opes-yellow);
	box-shadow: var(--opes-shadow-hard);
	text-shadow: none;
}

.opes-btn-solid > .wp-block-button__link:hover,
.opes-btn-solid > .wp-block-button__link:focus-visible,
.opes-btn-primary > .wp-block-button__link:hover,
.opes-btn-primary > .wp-block-button__link:focus-visible {
	color: #111;
	background: var(--opes-yellow);
	border-color: var(--opes-yellow);
	transform: var(--opes-lift);
	box-shadow: 6px 6px 0 #000;
}

.opes-btn-ghost > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link,
.opes-project-buttons .wp-block-button:not(.opes-btn-primary):not(.opes-btn-solid) > .wp-block-button__link {
	color: var(--opes-text);
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--opes-border);
	box-shadow: none;
}

.opes-btn-ghost > .wp-block-button__link:hover,
.opes-btn-ghost > .wp-block-button__link:focus-visible,
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible,
.opes-project-buttons .wp-block-button:not(.opes-btn-primary):not(.opes-btn-solid) > .wp-block-button__link:hover,
.opes-project-buttons .wp-block-button:not(.opes-btn-primary):not(.opes-btn-solid) > .wp-block-button__link:focus-visible {
	color: var(--opes-yellow);
	background: var(--opes-tint);
	border-color: var(--opes-border-strong);
}

.opes-home-intro-cols {
	padding-top: clamp(1.5rem, 5vw, 4rem);
}

.opes-home-intro-cols .opes-about-avatar-col {
	flex-basis: 30% !important;
	width: 30%;
	max-width: none;
}

.opes-about-avatar-col .opes-about-avatar {
	position: relative;
	isolation: isolate;
	padding: 18px;
	background: var(--opes-panel);
	border: 1px solid var(--opes-border);
	box-shadow: 8px 8px 0 #000;
}

.opes-about-avatar-col .opes-about-avatar::before {
	content: "";
	position: absolute;
	inset: -60px;
	z-index: -1;
	background: radial-gradient(circle, rgba(236, 236, 238, 0.06), transparent 65%);
	pointer-events: none;
}

.opes-project-media img,
.opes-project-icon img {
	image-rendering: pixelated;
}

.opes-about-avatar img {
	max-width: 100%;
}

h1.opes-home-title.opes-home-title {
	font-size: clamp(3.5rem, 8vw, 6.5rem);
	line-height: 1;
	color: var(--opes-text);
}

.opes-home-intro-cols .opes-about-lead,
.opes-home-intro-cols p:not(.opes-about-meta) {
	color: var(--opes-muted);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h1.opes-about-title.opes-about-title:not(.opes-home-title) {
	font-size: clamp(3rem, 6vw, 5.5rem);
	color: var(--opes-text);
}

.opes-about-lead {
	color: var(--opes-muted);
}

.opes-about-meta.opes-about-meta {
	color: var(--opes-muted);
}

.opes-terminal.opes-404-terminal {
	position: relative;
	margin-block: var(--wp--preset--spacing--40) 0;
	padding: calc(2.4rem + 1.1rem) 1.5rem 1.25rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 1.5rem;
	line-height: 1.55;
	color: var(--opes-text);
	background: var(--opes-bg-deep);
	border: 1px solid var(--opes-border);
	border-radius: var(--opes-radius);
	box-shadow: 6px 6px 0 #000;
	white-space: pre;
	overflow-x: auto;
	text-shadow: none;
}

.opes-terminal.opes-404-terminal::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2.4rem;
	border-bottom: 1px solid var(--opes-border);
	border-radius: 0;
	background:
		radial-gradient(circle 5.5px at 20px 50%, #ff5f57 95%, transparent 100%),
		radial-gradient(circle 5.5px at 40px 50%, #febc2e 95%, transparent 100%),
		radial-gradient(circle 5.5px at 60px 50%, #28c840 95%, transparent 100%),
		var(--opes-panel);
}

.opes-terminal.opes-404-terminal .opes-prompt {
	color: var(--opes-muted);
}

.opes-terminal.opes-404-terminal::after {
	content: none;
	display: none;
}

.opes-home-heading.opes-home-heading {
	font-size: clamp(2rem, 3.4vw, 2.6rem);
	color: var(--opes-text);
}

.opes-see-all a,
.opes-see-all a:visited {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	color: var(--opes-muted);
}

.opes-see-all a:hover,
.opes-see-all a:focus-visible {
	color: var(--opes-yellow);
	text-decoration: underline;
	text-underline-offset: 5px;
}

.opes-icon-tile-icon {
	display: inline-grid;
	place-items: center;
	width: 72px;
	height: 72px;
	color: var(--opes-muted);
	background: var(--opes-tint);
	border: 1px solid var(--opes-border);
	box-shadow: 3px 3px 0 #000;
	transition: background-color var(--opes-speed), color var(--opes-speed);
}

.opes-icon-tile-icon .opes-svg-icon {
	width: 36px;
	height: 36px;
}

.opes-hobby-grid .opes-icon-tile-icon,
.opes-stack-grid .opes-icon-tile-icon {
	width: 60px;
	height: 60px;
}

.opes-hobby-grid .opes-svg-icon,
.opes-stack-grid .opes-svg-icon {
	width: 32px;
	height: 32px;
}

.opes-icon-tile-link:hover .opes-icon-tile-icon {
	color: #111;
	background: var(--opes-yellow);
}

.opes-icon-tile-label {
	font-family: var(--opes-display);
	font-size: 1.6rem;
	color: var(--opes-text);
}

.opes-icon-tile-link .opes-icon-tile-label a,
.opes-icon-tile-link .opes-icon-tile-label a:visited {
	color: var(--opes-text);
}

.opes-icon-grid > .opes-icon-tile {
	padding: 1.75rem 1rem 1.5rem;
	gap: 0.9rem;
}

.opes-project-media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--opes-surface);
}

.opes-project-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center;
	border-radius: 4px;
	filter: none;
}

.opes-project-tile.opes-home-feature {
	gap: 0.75rem;
	padding: 0.65rem 0.65rem 0.85rem;
	overflow: hidden;
}

.opes-home-feature .opes-project-media {
	padding: 0;
	background: transparent;
	border-right: 0;
	border-radius: 4px;
	overflow: hidden;
}

.opes-home-feature .opes-project-media img {
	min-height: auto;
	border-radius: 4px;
}

.opes-home-feature-body {
	justify-content: center;
	padding: 0.15rem 0.35rem 0.1rem;
}

.opes-project-tile .opes-project-title,
.opes-project-tile .opes-project-title a,
.opes-project-tile .opes-project-title a:visited {
	color: var(--opes-text);
}

.opes-home-feature .opes-project-title {
	font-size: clamp(2rem, 3.4vw, 2.75rem);
}

.opes-project-tile:hover .opes-project-title a,
.opes-project-title a:focus-visible {
	color: var(--opes-yellow);
}

.opes-project-desc {
	color: var(--opes-muted);
}

.opes-chips > .opes-chip {
	color: var(--opes-muted);
	background: var(--opes-tint);
	border: 1px solid var(--opes-border);
	border-radius: var(--opes-radius);
}

.opes-chips > .opes-chip.opes-chip-status {
	color: var(--opes-yellow);
	background: var(--opes-tint);
	border-color: var(--opes-border-strong);
}

.opes-project-tile.is-featured .opes-project-media::after {
	border-radius: 0;
	box-shadow: 3px 3px 0 #000;
}

.opes-project-links a,
.opes-project-links a:visited {
	color: var(--opes-muted);
}

.opes-project-links a:first-child,
.opes-project-links a:first-child:visited {
	color: var(--opes-yellow);
}

.opes-project-links a:hover,
.opes-project-links a:focus-visible {
	color: var(--opes-yellow);
}

.opes-home-post-media {
	background-color: var(--opes-surface);
	background-image: none;
	border-bottom: 0;
}

.opes-date-badge {
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.35rem 0.55rem 0.3rem;
	background: var(--opes-panel);
	border: 1px solid var(--opes-border);
	border-radius: 0;
	box-shadow: 3px 3px 0 #000;
	text-shadow: none;
}

.opes-date-badge > *,
.opes-date-badge .opes-date-month,
.opes-date-badge .opes-date-day {
	color: var(--opes-text);
}

.opes-date-badge .opes-date-day {
	font-family: var(--opes-display);
	font-size: 1.75rem;
	line-height: 0.95;
}

.opes-home-post .opes-home-post-title {
	font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.opes-home-post-title a,
.opes-home-post-title a:visited,
.opes-post-list .opes-home-post-title a,
.opes-post-list .opes-home-post-title a:visited {
	color: var(--opes-text);
}

.opes-home-post:hover .opes-home-post-title a,
.opes-home-post-title a:focus-visible,
.opes-post-list .opes-home-post:hover .opes-home-post-title a {
	color: var(--opes-yellow);
}

.opes-home-post-title a::after {
	border-radius: 0;
}

.opes-home-post-body.opes-home-post-body {
	padding: 0.15rem 0.25rem 0.1rem;
}

.opes-home-post-grid.opes-home-post-grid > li:only-child {
	grid-column: 1 / -1;
}

.opes-home-post-grid.opes-home-post-grid > li:only-child .opes-home-post {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 0.75rem;
	padding: 0.65rem 0.65rem 0.85rem;
}

.opes-home-post-grid.opes-home-post-grid > li:only-child .opes-home-post-media {
	border-bottom: 0;
	border-right: 0;
}

.opes-home-post-grid.opes-home-post-grid > li:only-child .opes-home-post-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.15rem 0.35rem 0.1rem;
}

.opes-home-post-grid.opes-home-post-grid > li:only-child .opes-home-post-title {
	font-size: clamp(2rem, 3.4vw, 3rem);
}

.opes-home-post-grid.opes-home-post-grid > li:only-child .opes-home-post-excerpt .wp-block-post-excerpt__excerpt {
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.opes-home-post-grid.opes-home-post-grid:has(> li:nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opes-about-cta.opes-about-cta {
	position: relative;
	padding: clamp(2.5rem, 5vw, 3.75rem) 1.25rem;
}

.opes-about-cta.opes-about-cta::before,
.opes-about-cta.opes-about-cta::after {
	content: "";
	position: absolute;
	width: 26px;
	height: 26px;
	border: 3px solid var(--opes-border-strong);
	pointer-events: none;
}

.opes-about-cta.opes-about-cta::before {
	top: 14px;
	left: 14px;
	border-right: 0;
	border-bottom: 0;
}

.opes-about-cta.opes-about-cta::after {
	right: 14px;
	bottom: 14px;
	border-left: 0;
	border-top: 0;
}

.opes-about-cta-title.opes-about-cta-title {
	font-size: clamp(2.5rem, 4.5vw, 3.5rem);
	color: var(--opes-text);
}

.opes-timeline.opes-timeline {
	padding-left: 2rem;
}

.opes-timeline::before {
	left: 6px;
	width: 0;
	background: none;
	border-left: 2px dashed var(--opes-border-strong);
}

.opes-timeline > li::before {
	left: -2rem;
	width: 14px;
	height: 14px;
	border-radius: 0;
	box-shadow: 2px 2px 0 #000;
}

.opes-projects-intro,
.opes-contact-intro {
	color: var(--opes-muted);
}

.opes-pill {
	min-height: 40px;
	color: var(--opes-muted);
	background: var(--opes-panel);
	border: 1px solid var(--opes-border);
	border-radius: var(--opes-radius);
	transition: color var(--opes-speed), background-color var(--opes-speed), border-color var(--opes-speed), box-shadow var(--opes-speed);
}

.opes-pill:hover,
.opes-pill:focus-visible {
	color: var(--opes-text);
	border-color: var(--opes-border-strong);
	background: #1f1f23;
}

.opes-pill[aria-pressed="true"],
.opes-pill[aria-pressed="true"]:hover,
.opes-pill[aria-pressed="true"]:focus-visible {
	color: var(--opes-yellow);
	background: transparent;
	border-color: var(--opes-yellow);
	box-shadow: none;
	text-shadow: none;
}

.opes-contact-info h2 {
	color: var(--opes-text);
	text-align: left;
}

.opes-info-row {
	border-bottom: 1px dashed var(--opes-border);
}

.opes-info-icon {
	color: var(--opes-muted);
	background: var(--opes-tint);
	border: 1px solid var(--opes-border);
	border-radius: 0;
	box-shadow: 3px 3px 0 #000;
}

.opes-info-label {
	color: var(--opes-muted);
}

.opes-status-pill {
	border: 1px solid var(--opes-border);
	border-radius: 0;
}

.opes-status-dot {
	background: #ff5f57;
	box-shadow: 0 0 10px #ff5f57;
}

.opes-field label,
.opes-field .opes-req {
	color: var(--opes-text);
}

.opes-field .opes-req {
	color: var(--opes-muted);
}

.opes-field input,
.opes-field textarea {
	background: #0c0c0e;
	border: 1px solid var(--opes-border);
	border-radius: 0;
}

.opes-field input:focus,
.opes-field textarea:focus,
.opes-field input:focus-visible,
.opes-field textarea:focus-visible {
	border-color: var(--opes-border-strong);
	background: #141417;
	box-shadow: none;
}

.opes-form .opes-send {
	min-height: 48px;
	font-family: var(--opes-display);
	color: #111;
	background: var(--opes-yellow);
	border: 1px solid var(--opes-yellow);
	border-radius: 0;
	box-shadow: var(--opes-shadow-hard);
	text-shadow: none;
	transition: transform var(--opes-speed) var(--opes-ease), box-shadow var(--opes-speed);
}

.opes-form .opes-send:hover,
.opes-form .opes-send:focus,
.opes-form .opes-send:focus-visible {
	color: #111;
	background: var(--opes-yellow);
	border-color: var(--opes-yellow);
	transform: var(--opes-lift);
	box-shadow: 6px 6px 0 #000;
}

.opes-notice,
.opes-project-detail .opes-notice {
	background: var(--opes-tint);
	border: 1px solid var(--opes-border);
	border-left: 6px solid var(--opes-border-strong);
}

.opes-notice.is-error {
	border-color: var(--opes-orange);
	border-left-color: var(--opes-orange);
}

.opes-project-detail.opes-panel {
	box-shadow: var(--opes-shadow);
}

.opes-project-detail h2 {
	color: var(--opes-yellow);
}

.opes-project-icon img {
	padding: 14px;
	background: var(--opes-panel);
	border: 1px solid var(--opes-border);
	box-shadow: 6px 6px 0 #000;
}

.opes-readme .wp-block-code {
	background: var(--opes-bg-deep);
	border: 1px solid var(--opes-border);
	border-radius: 0;
	box-shadow: var(--opes-shadow-hard);
}

.opes-byline {
	color: var(--opes-muted);
}

main > .wp-block-post-featured-image {
	border: 1px solid var(--opes-border);
	box-shadow: 6px 6px 0 #000;
	overflow: hidden;
}

.wp-block-post-content a:not(.wp-element-button):not(.wp-block-button__link) {
	text-decoration-color: var(--opes-border-strong);
	text-underline-offset: 4px;
}

.wp-block-post-content li::marker {
	color: var(--opes-muted);
}

.opes-author-card {
	padding: 1.6rem;
}

.opes-author-card-label {
	color: var(--opes-orange);
	letter-spacing: 0.1em;
}

.opes-author-card-name,
.opes-author-card-name a {
	color: var(--opes-text);
}

.wp-block-separator {
	border-color: var(--opes-border);
	opacity: 1;
}

.opes-back-link a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
}

.opes-404 .opes-404-code {
	font-size: clamp(8rem, 22vw, 14rem);
	line-height: 1;
	color: var(--opes-yellow);
	text-shadow: 8px 8px 0 #000;
}

.opes-404 .opes-404-title {
	color: var(--opes-text);
}

.opes-404 .opes-404-text {
	color: var(--opes-muted);
}

.opes-404 .opes-terminal.opes-404-terminal {
	text-align: left;
}

::selection {
	color: #111;
	background: var(--opes-yellow);
	text-shadow: none;
}

@media (max-width: 781px) {
	.opes-home-intro-cols,
	.opes-about-intro.opes-about-intro {
		text-align: center;
	}

	.opes-about-avatar-col .opes-about-avatar {
		width: min(200px, 60vw);
		margin-inline: auto;
	}

	.opes-home-intro-cols .opes-home-buttons {
		justify-content: center;
	}

	.opes-home-feature .opes-project-media {
		border-right: 0;
		border-bottom: 0;
	}

	.opes-home-feature-body {
		padding: 0.15rem 0.25rem 0.25rem;
	}

	.opes-home-post-grid.opes-home-post-grid > li:only-child .opes-home-post,
	.opes-home-post-grid.opes-home-post-grid:has(> li:nth-child(2):last-child) {
		grid-template-columns: minmax(0, 1fr);
	}

	.opes-home-post-grid.opes-home-post-grid > li:only-child .opes-home-post-media {
		border-right: 0;
		border-bottom: 0;
	}

	.opes-home-post-grid.opes-home-post-grid > li:only-child .opes-home-post-body {
		padding: 0.15rem 0.25rem 0.25rem;
	}

	.opes-contact-info h2 {
		text-align: center;
	}
}

@media (max-width: 600px) {
	.opes-terminal.opes-404-terminal {
		font-size: 1.2rem;
		padding: calc(2.4rem + 0.9rem) 1rem 1rem;
	}

	.opes-icon-tile-label {
		font-size: 1.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.opes-tile:hover,
	.opes-tile:focus-within,
	.opes-project-tile.opes-project-tile:hover,
	.opes-project-tile:focus-within,
	.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link:hover,
	.opes-icon-grid > .opes-icon-tile.opes-icon-tile-link:focus-within,
	.opes-btn-solid > .wp-block-button__link:hover,
	.opes-btn-primary > .wp-block-button__link:hover,
	.opes-form .opes-send:hover {
		transform: none;
	}
}

.wp-block-code:focus,
.wp-block-code:focus-visible,
.opes-readme .wp-block-code:focus-visible {
	outline: none;
	border-color: var(--opes-border-strong);
	background: #121215;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none;
}

.opes-header .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation-item__content.wp-block-navigation-item__content {
	padding-right: 0.75rem;
}

.wp-block-navigation .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
	border-radius: var(--opes-radius);
}

.wp-block-navigation .has-child:hover > .wp-block-navigation-submenu__toggle {
	color: var(--opes-yellow);
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible,
.wp-block-navigation .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content.wp-block-navigation-item__content[aria-current="page"] {
	color: var(--opes-yellow);
	border-color: transparent;
	background: transparent;
	text-decoration: none;
	outline: none;
	box-shadow: none;
}

.opes-home-intro-cols.opes-home-intro-cols {
	align-items: center !important;
	gap: clamp(2rem, 4.5vw, 3.75rem);
}

.opes-home-intro-cols .opes-about-text .opes-home-meta.opes-home-meta {
	width: 100%;
	margin: 2.25rem 0 0;
	text-align: left;
}

.opes-home-intro-cols .opes-about-text .opes-home-meta-line {
	font-size: 1.05rem;
}

.opes-home-intro-cols + .opes-home-section {
	margin-top: clamp(3rem, 6vw, 4.5rem);
}

@media (max-width: 781px) {
	.opes-home-intro-cols .opes-about-avatar-col {
		flex-basis: auto !important;
		width: auto;
		max-width: none;
		margin-inline: auto;
	}

	.opes-home-intro-cols .opes-about-text .opes-home-meta.opes-home-meta {
		margin-top: 1.75rem;
		text-align: center;
	}

	.opes-home-intro-cols .opes-about-text .opes-home-meta-line {
		font-size: 1rem;
	}
}
