/*
 * Just Might Work Studio theme presentation.
 * All source code is authored by Jacob Romano.
 */

:root {
	--jmw-bg: #080b11;
	--jmw-bg-deep: #05070b;
	--jmw-surface: #111722;
	--jmw-surface-2: #171f2d;
	--jmw-surface-3: #1d2738;
	--jmw-text: #f7f9ff;
	--jmw-muted: #aab5c8;
	--jmw-dim: #7e8aa0;
	--jmw-border: rgba(176, 196, 231, 0.16);
	--jmw-border-strong: rgba(176, 196, 231, 0.3);
	--jmw-blue: #67b7ff;
	--jmw-blue-strong: #3b9fff;
	--jmw-gold: #f5c85f;
	--jmw-green: #56d79a;
	--jmw-danger: #ff7f8d;
	--jmw-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
	--jmw-radius-lg: 28px;
	--jmw-radius-md: 18px;
	--jmw-radius-sm: 11px;
	--jmw-content: 1240px;
	--jmw-wide: 1540px;
	--jmw-header-height: 88px;
	color-scheme: dark;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--jmw-header-height) + 24px);
}

body.jmw-studio-theme {
	margin: 0;
	min-width: 320px;
	background:
		radial-gradient(circle at 50% -12%, rgba(59, 159, 255, 0.15), transparent 34rem),
		linear-gradient(180deg, #090d14 0, var(--jmw-bg) 34rem, var(--jmw-bg-deep) 100%);
	color: var(--jmw-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.admin-bar .jmw-site-header {
	top: 32px;
}

img,
svg,
video,
canvas,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--jmw-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
	color: #9bd0ff;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid rgba(103, 183, 255, 0.78);
	outline-offset: 3px;
}

.jmw-skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 99999;
	padding: 10px 14px;
	border-radius: 8px;
	background: #fff;
	color: #05070b;
	font-weight: 800;
	transform: translateY(-150%);
}

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

.jmw-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(176, 196, 231, 0.12);
	background: rgba(7, 10, 16, 0.88);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.jmw-site-header__inner {
	display: grid;
	width: min(calc(100% - 40px), var(--jmw-wide));
	min-height: var(--jmw-header-height);
	margin: 0 auto;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 30px;
}

.jmw-site-logo {
	display: flex;
	align-items: center;
}

.jmw-site-logo .custom-logo-link,
.jmw-site-logo__link {
	display: block;
	line-height: 0;
}

.jmw-site-logo img,
.jmw-site-logo .custom-logo {
	display: block;
	width: auto;
	height: 64px;
	object-fit: contain;
}

.jmw-site-nav {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
}

.jmw-site-nav__list,
.jmw-site-nav .menu {
	display: flex;
	min-width: 0;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	list-style: none;
}

.jmw-site-nav li {
	position: relative;
	margin: 0;
}

.jmw-site-nav a {
	display: inline-flex;
	min-height: 42px;
	padding: 9px 12px;
	align-items: center;
	border-radius: 9px;
	color: #d9e2f1;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
	white-space: nowrap;
}

.jmw-site-nav a:hover,
.jmw-site-nav a:focus-visible,
.jmw-site-nav .current-menu-item > a,
.jmw-site-nav .current_page_item > a {
	background: rgba(103, 183, 255, 0.11);
	color: #fff;
}

.jmw-site-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--jmw-border);
	border-radius: 12px;
	background: rgba(13, 18, 27, 0.98);
	box-shadow: var(--jmw-shadow);
	list-style: none;
}

.jmw-site-nav li:hover > .sub-menu,
.jmw-site-nav li:focus-within > .sub-menu {
	display: block;
}

.jmw-site-nav .sub-menu a {
	display: flex;
	width: 100%;
}

.jmw-header-contact,
body.jmw-studio-theme .jmw-header-contact {
	border: 1px solid rgba(103, 183, 255, 0.46);
	background: linear-gradient(135deg, rgba(59, 159, 255, 0.22), rgba(59, 159, 255, 0.08));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
	color: #eaf5ff;
}

.jmw-menu-toggle {
	display: none;
	min-height: 42px;
	padding: 8px 11px;
	align-items: center;
	gap: 9px;
	border: 1px solid var(--jmw-border);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--jmw-text);
	font-weight: 750;
}

.jmw-menu-toggle__bars {
	display: grid;
	width: 20px;
	gap: 4px;
}

.jmw-menu-toggle__bars span {
	display: block;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 160ms ease, opacity 160ms ease;
}

.jmw-menu-toggle[aria-expanded="true"] .jmw-menu-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.jmw-menu-toggle[aria-expanded="true"] .jmw-menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.jmw-menu-toggle[aria-expanded="true"] .jmw-menu-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.jmw-main {
	width: min(calc(100% - 40px), var(--jmw-content));
	margin: 0 auto;
}

.jmw-home-hero {
	position: relative;
	display: grid;
	min-height: 570px;
	padding: 86px 0 62px;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
	align-items: center;
	gap: 60px;
	isolation: isolate;
}

.jmw-home-hero::before {
	position: absolute;
	inset: 48px 0 16px;
	z-index: -2;
	border: 1px solid rgba(176, 196, 231, 0.08);
	border-radius: 48px;
	background:
		linear-gradient(125deg, rgba(26, 36, 53, 0.76), rgba(9, 13, 20, 0.6) 58%, rgba(17, 31, 46, 0.66)),
		radial-gradient(circle at 80% 30%, rgba(59, 159, 255, 0.16), transparent 34%);
	box-shadow: var(--jmw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.035);
	content: "";
}

.jmw-home-hero::after {
	position: absolute;
	inset: 70px 0 40px;
	z-index: -1;
	background-image: radial-gradient(circle, rgba(176, 196, 231, 0.17) 1px, transparent 1px);
	background-size: 25px 25px;
	content: "";
	mask-image: linear-gradient(90deg, transparent, #000 18%, transparent 75%);
	opacity: 0.35;
}

.jmw-eyebrow {
	margin: 0 0 12px;
	color: #92c6ff;
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.18em;
	line-height: 1.3;
	text-transform: uppercase;
}

.jmw-home-hero h1 {
	max-width: 880px;
	margin: 0;
	font-size: clamp(3.15rem, 7vw, 6.6rem);
	font-weight: 840;
	letter-spacing: -0.065em;
	line-height: 0.96;
}

.jmw-home-hero__lead {
	max-width: 700px;
	margin: 28px 0 0;
	color: var(--jmw-muted);
	font-size: clamp(1.08rem, 1.6vw, 1.34rem);
	line-height: 1.65;
}

.jmw-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.jmw-button {
	display: inline-flex;
	min-height: 48px;
	padding: 11px 18px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--jmw-border-strong);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--jmw-text);
	font-weight: 790;
	line-height: 1.1;
	text-decoration: none;
	transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.jmw-button:hover,
.jmw-button:focus-visible {
	border-color: rgba(103, 183, 255, 0.56);
	background: rgba(103, 183, 255, 0.1);
	color: #fff;
	transform: translateY(-1px);
}

.jmw-button--primary {
	border-color: rgba(103, 183, 255, 0.6);
	background: linear-gradient(135deg, var(--jmw-blue-strong), #2576d9);
	box-shadow: 0 12px 30px rgba(35, 119, 219, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
	color: #fff;
}

.jmw-button--primary:hover,
.jmw-button--primary:focus-visible {
	background: linear-gradient(135deg, #5eb7ff, #3185e8);
	box-shadow: 0 15px 36px rgba(35, 119, 219, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.jmw-button--quiet {
	background: rgba(255, 255, 255, 0.025);
}

.jmw-home-hero__visual {
	position: relative;
	min-height: 340px;
	border-radius: 50%;
}

.jmw-hero-bulb {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 150px;
	height: 150px;
	place-items: center;
	border: 1px solid rgba(245, 200, 95, 0.4);
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, rgba(255, 235, 162, 0.28), rgba(245, 200, 95, 0.08) 48%, rgba(8, 11, 17, 0.2));
	box-shadow: 0 0 80px rgba(245, 200, 95, 0.22), inset 0 0 35px rgba(245, 200, 95, 0.08);
	font-size: 5.2rem;
	transform: translate(-50%, -50%);
}

.jmw-orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	border: 1px solid rgba(103, 183, 255, 0.22);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.jmw-orbit--one {
	width: 270px;
	height: 270px;
}

.jmw-orbit--two {
	width: 360px;
	height: 360px;
	border-color: rgba(103, 183, 255, 0.1);
}

.jmw-orbit::after {
	position: absolute;
	top: 50%;
	left: -5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--jmw-blue);
	box-shadow: 0 0 20px rgba(103, 183, 255, 0.8);
	content: "";
}

.jmw-orbit--one::after {
	animation: jmw-orbit 12s linear infinite;
	transform-origin: 140px 0;
}

.jmw-orbit--two::after {
	animation: jmw-orbit 18s linear infinite reverse;
	transform-origin: 185px 0;
}

.jmw-hero-spark {
	position: absolute;
	color: var(--jmw-gold);
	font-size: 2rem;
	text-shadow: 0 0 20px rgba(245, 200, 95, 0.55);
}

.jmw-hero-spark--one {
	top: 16%;
	right: 12%;
}

.jmw-hero-spark--two {
	bottom: 14%;
	left: 10%;
	font-size: 1.2rem;
}

@keyframes jmw-orbit {
	to { transform: rotate(360deg); }
}

.jmw-home-section {
	padding: 86px 0 28px;
}

.jmw-section-heading {
	display: grid;
	margin-bottom: 28px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
	align-items: end;
	gap: 32px;
}

.jmw-section-heading h2 {
	margin: 0;
	font-size: clamp(2.1rem, 4vw, 3.7rem);
	letter-spacing: -0.045em;
	line-height: 1;
}

.jmw-section-heading > p {
	margin: 0;
	color: var(--jmw-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.jmw-project-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
}

.jmw-project-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 310px;
	padding: 24px;
	grid-column: span 4;
	flex-direction: column;
	border: 1px solid var(--jmw-border);
	border-radius: var(--jmw-radius-md);
	background:
		linear-gradient(145deg, rgba(27, 36, 52, 0.96), rgba(13, 18, 27, 0.98));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 14px 36px rgba(0, 0, 0, 0.18);
	color: inherit;
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
	overflow: hidden;
}

.jmw-project-card::after {
	position: absolute;
	inset: auto -20% -52% 35%;
	height: 210px;
	border-radius: 50%;
	background: rgba(103, 183, 255, 0.07);
	filter: blur(8px);
	content: "";
	pointer-events: none;
}

.jmw-project-card[href]:hover,
.jmw-project-card[href]:focus-visible {
	border-color: rgba(103, 183, 255, 0.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 50px rgba(0, 0, 0, 0.29), 0 0 0 1px rgba(103, 183, 255, 0.06);
	color: inherit;
	transform: translateY(-4px);
}

.jmw-project-card--featured {
	min-height: 390px;
	padding: 30px;
	grid-column: span 8;
	background:
		linear-gradient(130deg, rgba(32, 48, 74, 0.98), rgba(13, 20, 32, 0.98) 68%),
		radial-gradient(circle at 100% 0, rgba(103, 183, 255, 0.18), transparent 36%);
}

.jmw-project-card--featured h3 {
	max-width: 680px;
	font-size: clamp(2rem, 3.2vw, 3rem);
}

.jmw-project-card__icon {
	display: grid;
	width: 48px;
	height: 48px;
	margin-bottom: 24px;
	place-items: center;
	border: 1px solid rgba(103, 183, 255, 0.3);
	border-radius: 13px;
	background: rgba(103, 183, 255, 0.1);
	color: #b8dbff;
	font-size: 1.35rem;
	font-weight: 800;
}

.jmw-project-card--featured .jmw-project-card__icon {
	width: 60px;
	height: 60px;
	font-size: 1.7rem;
}

.jmw-project-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 16px;
}

.jmw-project-card__meta span {
	padding: 5px 8px;
	border: 1px solid rgba(176, 196, 231, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	color: #b6c4da;
	font-size: 0.62rem;
	font-weight: 850;
	letter-spacing: 0.09em;
	line-height: 1;
	text-transform: uppercase;
}

.jmw-project-card__meta span:first-child {
	border-color: rgba(86, 215, 154, 0.28);
	background: rgba(86, 215, 154, 0.1);
	color: #a9f2cc;
}

.jmw-project-card h3 {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	letter-spacing: -0.025em;
	line-height: 1.16;
}

.jmw-project-card p {
	position: relative;
	z-index: 1;
	margin: 15px 0 0;
	color: var(--jmw-muted);
	line-height: 1.65;
}

.jmw-project-card__link {
	position: relative;
	z-index: 1;
	margin-top: auto;
	padding-top: 24px;
	color: #91c8ff;
	font-size: 0.86rem;
	font-weight: 800;
}

.jmw-home-section--development {
	padding-top: 92px;
}

.jmw-project-grid--coming .jmw-project-card {
	min-height: 260px;
	grid-column: span 6;
	border-style: dashed;
	background: rgba(17, 23, 34, 0.72);
}

.jmw-project-card--coming .jmw-project-card__meta span:first-child {
	border-color: rgba(245, 200, 95, 0.3);
	background: rgba(245, 200, 95, 0.1);
	color: #ffe39b;
}

.jmw-contact-section {
	display: grid;
	margin: 110px 0 104px;
	padding: 42px;
	grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
	gap: 48px;
	border: 1px solid var(--jmw-border);
	border-radius: var(--jmw-radius-lg);
	background:
		linear-gradient(140deg, rgba(23, 32, 47, 0.96), rgba(10, 14, 21, 0.98)),
		radial-gradient(circle at 0 0, rgba(103, 183, 255, 0.13), transparent 42%);
	box-shadow: var(--jmw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.jmw-contact-copy h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.jmw-contact-copy > p:not(.jmw-eyebrow) {
	margin: 22px 0 0;
	color: var(--jmw-muted);
	font-size: 1.03rem;
	line-height: 1.7;
}

.jmw-contact-note {
	display: flex;
	margin-top: 28px;
	padding: 14px;
	align-items: flex-start;
	gap: 11px;
	border: 1px solid rgba(86, 215, 154, 0.22);
	border-radius: 12px;
	background: rgba(86, 215, 154, 0.07);
	color: #bfeacf;
}

.jmw-contact-note span {
	display: grid;
	width: 25px;
	height: 25px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: rgba(86, 215, 154, 0.15);
	font-weight: 850;
}

.jmw-contact-note p {
	margin: 0;
	font-size: 0.83rem;
	line-height: 1.55;
}

.jmw-contact-form-wrap {
	min-width: 0;
}

.jmw-contact-form {
	display: grid;
	gap: 16px;
}

.jmw-contact-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.jmw-contact-form label {
	display: grid;
	gap: 7px;
	color: #dce5f3;
	font-size: 0.78rem;
	font-weight: 760;
}

.jmw-contact-form input,
.jmw-contact-form textarea {
	width: 100%;
	border: 1px solid rgba(176, 196, 231, 0.2);
	border-radius: 10px;
	background: rgba(4, 7, 11, 0.62);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
	color: var(--jmw-text);
}

.jmw-contact-form input {
	min-height: 48px;
	padding: 10px 12px;
}

.jmw-contact-form textarea {
	min-height: 170px;
	padding: 12px;
	resize: vertical;
}

.jmw-contact-form input:focus,
.jmw-contact-form textarea:focus {
	border-color: rgba(103, 183, 255, 0.62);
	box-shadow: 0 0 0 3px rgba(103, 183, 255, 0.1);
	outline: 0;
}

.jmw-contact-form .jmw-button {
	justify-self: start;
}

.jmw-contact-honeypot {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}

.jmw-contact-feedback {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 0.88rem;
	font-weight: 700;
}

.jmw-contact-feedback--success {
	border: 1px solid rgba(86, 215, 154, 0.32);
	background: rgba(86, 215, 154, 0.1);
	color: #baf0d1;
}

.jmw-contact-feedback--error {
	border: 1px solid rgba(255, 127, 141, 0.32);
	background: rgba(255, 127, 141, 0.09);
	color: #ffc1c8;
}

.jmw-page-main {
	width: min(calc(100% - 32px), var(--jmw-wide));
	min-height: 60vh;
	padding: 42px 0 70px;
}

.jmw-tool-shell {
	min-width: 0;
}

.jmw-content-card {
	width: min(100%, 940px);
	margin: 0 auto;
	padding: clamp(24px, 5vw, 58px);
	border: 1px solid var(--jmw-border);
	border-radius: var(--jmw-radius-lg);
	background: rgba(17, 23, 34, 0.92);
	box-shadow: var(--jmw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.jmw-entry-header h1,
.jmw-not-found h1 {
	margin: 0;
	font-size: clamp(2.5rem, 6vw, 5.6rem);
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.jmw-entry-content {
	margin-top: 36px;
	color: #d7dfeb;
}

.jmw-entry-content > *:first-child {
	margin-top: 0;
}

.jmw-entry-content h2,
.jmw-entry-content h3,
.jmw-entry-content h4 {
	color: var(--jmw-text);
	line-height: 1.2;
}

.jmw-entry-content pre,
.jmw-entry-content code {
	max-width: 100%;
	overflow-x: auto;
}

.jmw-post-summary + .jmw-post-summary {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--jmw-border);
}

.jmw-post-summary h2 {
	margin: 0;
}

.jmw-not-found {
	text-align: center;
}

.jmw-not-found p:not(.jmw-eyebrow) {
	margin: 20px 0 28px;
	color: var(--jmw-muted);
}

.jmw-site-footer {
	border-top: 1px solid rgba(176, 196, 231, 0.12);
	background: #06090e;
}

.jmw-site-footer__inner {
	display: grid;
	width: min(calc(100% - 40px), var(--jmw-content));
	margin: 0 auto;
	padding: 50px 0 38px;
	grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1.3fr) auto;
	align-items: center;
	gap: 42px;
}

.jmw-site-footer__brand {
	display: grid;
	gap: 12px;
}

.jmw-footer-logo {
	display: inline-block;
	width: fit-content;
	line-height: 0;
}

.jmw-footer-logo img {
	width: 178px;
}

.jmw-site-footer__brand p {
	max-width: 330px;
	margin: 0;
	color: var(--jmw-dim);
	font-size: 0.78rem;
}

.jmw-site-footer__credit {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 15px;
}

.jmw-site-footer__credit p {
	margin: 0;
	color: #b8c3d5;
	font-size: 0.82rem;
	line-height: 1.55;
}

.jmw-site-footer__credit a {
	font-weight: 760;
	text-decoration: none;
}

.jmw-gentlemen-logo {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.jmw-gentlemen-logo span {
	display: grid;
	width: 64px;
	height: 58px;
	padding: 5px;
	place-items: center;
	border-radius: 9px;
	background: #000;
}

.jmw-gentlemen-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.jmw-footer-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.jmw-footer-nav__list {
	display: flex;
	margin: 0;
	padding: 0;
	gap: 10px;
	list-style: none;
}

.jmw-footer-nav a {
	color: #aeb9cb;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.jmw-site-footer__bottom {
	display: flex;
	width: min(calc(100% - 40px), var(--jmw-content));
	margin: 0 auto;
	padding: 18px 0 24px;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid rgba(176, 196, 231, 0.08);
	color: #657187;
	font-size: 0.7rem;
}

@media (max-width: 1120px) {
	.jmw-site-header__inner {
		gap: 16px;
	}

	.jmw-site-nav a {
		padding-inline: 8px;
		font-size: 0.78rem;
	}

	.jmw-home-hero {
		grid-template-columns: minmax(0, 1fr) 330px;
		gap: 30px;
	}

	.jmw-project-card {
		grid-column: span 6;
	}

	.jmw-project-card--featured {
		grid-column: 1 / -1;
	}

	.jmw-site-footer__inner {
		grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1.2fr);
	}

	.jmw-footer-nav {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 900px) {
	:root {
		--jmw-header-height: 76px;
	}

	body.admin-bar .jmw-site-header {
		top: 46px;
	}

	.jmw-site-header__inner {
		position: relative;
		width: min(calc(100% - 28px), var(--jmw-wide));
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.jmw-site-logo img,
	.jmw-site-logo .custom-logo {
		height: 52px;
	}

	.jmw-menu-toggle {
		display: inline-flex;
	}

	.jmw-site-nav {
		position: absolute;
		top: calc(100% + 1px);
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--jmw-header-height) - 24px);
		padding: 12px;
		align-items: stretch;
		flex-direction: column;
		border: 1px solid var(--jmw-border);
		border-top: 0;
		border-radius: 0 0 14px 14px;
		background: rgba(7, 10, 16, 0.985);
		box-shadow: var(--jmw-shadow);
		overflow-y: auto;
	}

	.jmw-site-nav.is-open {
		display: flex;
	}

	.jmw-site-nav__list,
	.jmw-site-nav .menu {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
		gap: 3px;
	}

	.jmw-site-nav a {
		display: flex;
		width: 100%;
		min-height: 44px;
		padding: 10px 12px;
		font-size: 0.9rem;
	}

	.jmw-site-nav .sub-menu {
		position: static;
		display: block;
		margin-left: 12px;
		padding: 2px 0 4px 10px;
		border: 0;
		border-left: 1px solid var(--jmw-border);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.jmw-home-hero {
		min-height: auto;
		padding: 72px 0 58px;
		grid-template-columns: minmax(0, 1fr);
	}

	.jmw-home-hero::before {
		inset-inline: 0;
		border-radius: 28px;
	}

	.jmw-home-hero__visual {
		display: none;
	}

	.jmw-section-heading {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.jmw-contact-section {
		padding: 30px;
		grid-template-columns: minmax(0, 1fr);
	}

	.jmw-site-footer__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.jmw-footer-nav {
		grid-column: auto;
	}
}

@media (max-width: 680px) {
	body.admin-bar .jmw-site-header {
		top: 0;
	}

	.jmw-main {
		width: min(calc(100% - 26px), var(--jmw-content));
	}

	.jmw-home-hero {
		padding-top: 54px;
	}

	.jmw-home-hero::before {
		inset-inline: 0;
	}

	.jmw-home-hero h1 {
		font-size: clamp(2.75rem, 14vw, 4.2rem);
	}

	.jmw-home-section {
		padding-top: 68px;
	}

	.jmw-project-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.jmw-project-card,
	.jmw-project-card--featured,
	.jmw-project-grid--coming .jmw-project-card {
		min-height: 0;
		grid-column: 1;
	}

	.jmw-project-card--featured {
		padding: 24px;
	}

	.jmw-project-card--featured h3 {
		font-size: 1.85rem;
	}

	.jmw-contact-section {
		margin-block: 80px;
		padding: 23px;
		border-radius: 20px;
	}

	.jmw-contact-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.jmw-page-main {
		width: min(calc(100% - 18px), var(--jmw-wide));
		padding-top: 18px;
	}

	.jmw-content-card {
		border-radius: 18px;
	}

	.jmw-site-footer__inner,
	.jmw-site-footer__bottom {
		width: min(calc(100% - 28px), var(--jmw-content));
	}

	.jmw-site-footer__credit {
		align-items: flex-start;
	}

	.jmw-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

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

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