/**
 * ITBees — front-end styles (ported from React / Tailwind design tokens).
 */

:root {
	--radius: 0.5rem;
	--background: oklch(0.98 0.003 80);
	--foreground: oklch(0.15 0.005 285);
	--card: oklch(1 0 0);
	--muted-foreground: oklch(0.5 0.01 285);
	--border: oklch(0.88 0.008 80);
	--amber: oklch(0.82 0.17 80);
	--amber-light: oklch(0.92 0.12 85);
	--amber-dark: oklch(0.72 0.17 75);
	--charcoal: oklch(0.15 0.005 285);
	--charcoal-light: oklch(0.25 0.005 285);
	--warm-gray: oklch(0.93 0.005 80);
	--warm-white: oklch(0.98 0.003 80);
	--font-sans: "IBM Plex Sans", system-ui, sans-serif;
	--font-display: "Space Grotesk", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", monospace;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	background: var(--background);
	color: var(--foreground);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.nav-open {
	overflow: hidden;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

::selection {
	background-color: oklch(0.82 0.17 80 / 0.3);
}

.text-amber {
	color: var(--amber);
}

/* ----- Layout ----- */
.container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 640px) {
	.container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.container {
		padding-left: 2rem;
		padding-right: 2rem;
		max-width: 1280px;
	}
}

/* ----- Header ----- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
	background: transparent;
}

.site-header.is-scrolled {
	background: rgb(255 255 255 / 0.9);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
	border-bottom: 1px solid var(--border);
}

body:not(.itbees-front-page) .site-header {
	background: rgb(255 255 255 / 0.9);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
	border-bottom: 1px solid var(--border);
}

body:not(.itbees-front-page) .site-header .site-brand__it,
body:not(.itbees-front-page) .site-header .site-nav__links a,
body:not(.itbees-front-page) .site-header .site-nav__toggle {
	color: var(--foreground);
}

body:not(.itbees-front-page) .site-header .site-nav__links a:not(.current-menu-item a) {
	color: var(--muted-foreground);
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4.5rem;
}

@media (min-width: 1024px) {
	.site-nav {
		min-height: 5rem;
	}
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.site-brand__text {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-family: var(--font-display);
}

.itbees-front-page .site-header:not(.is-scrolled) .site-brand__it {
	color: var(--warm-white);
}

.itbees-front-page .site-header:not(.is-scrolled) .site-brand__bees {
	color: var(--amber);
}

.itbees-front-page .site-header.is-scrolled .site-brand__it {
	color: var(--charcoal);
}

.site-brand__bees {
	color: var(--amber);
}

.site-nav__desktop {
	display: none;
	align-items: center;
	gap: 2rem;
}

@media (min-width: 768px) {
	.site-nav__desktop {
		display: flex;
	}
}

.site-nav__links {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__links a {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: color 0.2s;
}

.itbees-front-page .site-header:not(.is-scrolled) .site-nav__links a {
	color: rgb(234 231 225 / 0.7);
}

.itbees-front-page .site-header:not(.is-scrolled) .site-nav__links li.current-menu-item > a {
	color: var(--warm-white);
}

.itbees-front-page .site-header:not(.is-scrolled) .site-nav__links a:hover {
	color: var(--warm-white);
}

.itbees-front-page .site-header.is-scrolled .site-nav__links a,
body:not(.itbees-front-page) .site-nav__links a {
	color: var(--muted-foreground);
}

.itbees-front-page .site-header.is-scrolled .site-nav__links li.current-menu-item > a,
body:not(.itbees-front-page) .site-nav__links li.current-menu-item > a {
	color: var(--foreground);
}

.itbees-front-page .site-header.is-scrolled .site-nav__links a:hover,
body:not(.itbees-front-page) .site-nav__links a:hover {
	color: var(--foreground);
}

.site-nav__links li {
	position: relative;
}

.site-nav__links li.current-menu-item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.25rem;
	height: 2px;
	background: var(--amber);
	border-radius: 999px;
}

.site-nav__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	background: var(--charcoal);
	color: var(--warm-white);
	padding: 0.5rem 1rem;
	border-radius: 2px;
	transition: background 0.2s;
}

.site-nav__cta:hover {
	background: var(--charcoal-light);
	color: var(--warm-white);
}

.site-nav__toggle {
	display: flex;
	padding: 0.5rem;
	background: none;
	border: 0;
	color: var(--warm-white);
	cursor: pointer;
}

.itbees-front-page .site-header.is-scrolled .site-nav__toggle,
body:not(.itbees-front-page) .site-nav__toggle {
	color: var(--foreground);
}

@media (min-width: 768px) {
	.site-nav__toggle {
		display: none;
	}
}

.site-nav__mobile {
	border-bottom: 1px solid var(--border);
	background: rgb(255 255 255 / 0.95);
	backdrop-filter: blur(12px);
}

.site-nav__mobile[hidden] {
	display: none !important;
}

.site-nav__mobile-inner {
	padding: 1.5rem 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.site-nav__mobile-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__mobile-links li {
	border-bottom: 1px solid rgb(0 0 0 / 0.06);
	padding: 0.5rem 0;
}

.site-nav__mobile-links a {
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted-foreground);
}

.site-nav__mobile-links li.current-menu-item > a {
	color: var(--foreground);
}

.site-nav__cta--mobile {
	justify-content: center;
	margin-top: 0.5rem;
}

.site-main {
	flex: 1;
}

/* ----- Buttons ----- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 1rem 2rem;
	border: 0;
	cursor: pointer;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
	text-decoration: none;
}

.btn--amber {
	background: var(--amber);
	color: var(--charcoal);
}

.btn--amber:hover {
	background: var(--amber-light);
	color: var(--charcoal);
}

.btn--outline-light {
	background: transparent;
	color: var(--warm-white);
	border: 1px solid rgb(234 231 225 / 0.2);
}

.btn--outline-light:hover {
	border-color: var(--amber);
	color: var(--amber);
}

.btn--link {
	background: none;
	padding: 0;
	font-size: 0.875rem;
	color: var(--charcoal);
}

.btn--link:hover {
	color: var(--amber);
}

/* ----- Section heading ----- */
.section-heading {
	margin-bottom: 3rem;
}

@media (min-width: 1024px) {
	.section-heading {
		margin-bottom: 4rem;
	}
}

.section-heading--center {
	text-align: center;
}

.section-heading__kicker {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.section-heading--center .section-heading__kicker {
	justify-content: center;
}

.section-heading__line {
	width: 2rem;
	height: 2px;
	background: var(--amber);
}

.section-heading__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-family: var(--font-mono);
	color: var(--amber-dark);
}

.section-heading--light .section-heading__label {
	color: var(--amber);
}

.section-heading__title {
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0;
	color: var(--foreground);
}

.section-heading--light .section-heading__title {
	color: var(--warm-white);
}

.section-heading__desc {
	margin: 1rem 0 0;
	font-size: 1rem;
	line-height: 1.6;
	max-width: 42rem;
	color: var(--muted-foreground);
}

@media (min-width: 1024px) {
	.section-heading__desc {
		font-size: 1.125rem;
	}
}

.section-heading--center .section-heading__desc {
	margin-left: auto;
	margin-right: auto;
}

.section-heading--light .section-heading__desc {
	color: rgb(234 231 225 / 0.7);
}

/* ----- Home hero ----- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--charcoal);
}

.hero__bg {
	position: absolute;
	inset: 0;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.4;
}

.hero__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		var(--charcoal),
		rgb(26 26 31 / 0.9),
		rgb(26 26 31 / 0.6)
	);
}

.hero__grid {
	position: absolute;
	inset: 0;
	opacity: 0.03;
	background-image:
		linear-gradient(rgb(255 255 255 / 0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 0.5) 1px, transparent 1px);
	background-size: 60px 60px;
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding-top: 7rem;
	padding-bottom: 5rem;
}

@media (min-width: 1024px) {
	.hero__inner {
		padding-top: 0;
		padding-bottom: 0;
		min-height: 100vh;
		display: flex;
		align-items: center;
	}
}

.hero__grid-layout {
	display: grid;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.hero__grid-layout {
		grid-template-columns: 7fr 5fr;
	}
}

.hero__kicker {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.hero__kicker svg {
	color: var(--amber);
	flex-shrink: 0;
}

.hero__kicker span {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	font-family: var(--font-mono);
	color: var(--amber);
}

.hero h1 {
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	font-weight: 700;
	color: var(--warm-white);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0;
}

.hero__lead {
	margin-top: 1.5rem;
	font-size: 1.125rem;
	color: rgb(234 231 225 / 0.7);
	max-width: 32rem;
	line-height: 1.6;
}

.hero__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.hero__stat {
	border: 1px solid rgb(234 231 225 / 0.1);
	padding: 1.5rem;
	backdrop-filter: blur(4px);
	background: rgb(255 255 255 / 0.02);
}

.hero__stat-value {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	font-family: var(--font-display);
	color: var(--amber);
	margin-bottom: 0.5rem;
}

.hero__stat-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgb(234 231 225 / 0.5);
}

.hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.hero__scroll-mouse {
	width: 1.25rem;
	height: 2rem;
	border: 1px solid rgb(234 231 225 / 0.3);
	border-radius: 999px;
	display: flex;
	justify-content: center;
	padding-top: 0.35rem;
}

.hero__scroll-dot {
	width: 4px;
	height: 4px;
	background: var(--amber);
	border-radius: 50%;
	animation: scroll-dot 1.5s ease-in-out infinite;
}

@keyframes scroll-dot {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(8px);
	}
}

/* ----- Services ----- */
.section--warm {
	padding: 6rem 0;
	background: var(--warm-white);
}

@media (min-width: 1024px) {
	.section--warm {
		padding: 8rem 0;
	}
}

.services-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.services-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

.service-card {
	position: relative;
	background: var(--card);
	border: 1px solid var(--border);
	padding: 2rem;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
	border-color: rgb(255 184 0 / 0.5);
	box-shadow: 0 10px 40px rgb(255 184 0 / 0.05);
}

.service-card__num {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 3.75rem;
	font-weight: 700;
	font-family: var(--font-display);
	color: rgb(0 0 0 / 0.06);
	user-select: none;
	line-height: 1;
}

.service-card__icon {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(255 184 0 / 0.1);
	margin-bottom: 1.5rem;
	color: var(--amber-dark);
}

.service-card h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.service-card p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.6;
}

.solutions-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 1.5rem;
	font-size: 0.9375rem;
	color: var(--muted-foreground);
	background: rgb(0 0 0 / 0.03);
	border: 1px dashed var(--border);
}

.solutions-empty a {
	color: var(--amber-dark);
	font-weight: 600;
	text-decoration: underline;
}

/* ----- About preview ----- */
.section--white {
	padding: 6rem 0;
	background: #fff;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.section--white {
		padding: 8rem 0;
	}
}

.about-preview {
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.about-preview {
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
	}
}

.about-preview__visual {
	position: relative;
}

.about-preview__visual img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.about-preview__deco1 {
	position: absolute;
	bottom: -1rem;
	right: -1rem;
	width: 6rem;
	height: 6rem;
	border: 2px solid var(--amber);
	pointer-events: none;
}

.about-preview__deco2 {
	position: absolute;
	top: -1rem;
	left: -1rem;
	width: 4rem;
	height: 4rem;
	background: rgb(255 184 0 / 0.1);
	pointer-events: none;
}

.about-preview__text p {
	color: var(--muted-foreground);
	line-height: 1.7;
	margin: 0 0 1.5rem;
}

/* ----- CTA band ----- */
.section--cta {
	position: relative;
	padding: 6rem 0;
	background: var(--charcoal);
	overflow: hidden;
}

@media (min-width: 1024px) {
	.section--cta {
		padding: 8rem 0;
	}
}

.section--cta .section-heading {
	margin-bottom: 2rem;
}

.cta-band__grid {
	position: absolute;
	inset: 0;
	opacity: 0.03;
	background-image:
		linear-gradient(rgb(255 255 255 / 0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 0.5) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}

.cta-band__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 48rem;
	margin: 0 auto;
}

.cta-band__kicker {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.cta-band__kicker span {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-family: var(--font-mono);
	color: var(--amber);
}

.cta-band__kicker::before,
.cta-band__kicker::after {
	content: "";
	width: 2rem;
	height: 2px;
	background: var(--amber);
}

.cta-band__title {
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--warm-white);
	margin: 0 0 1.5rem;
	line-height: 1.15;
}

.cta-band__text {
	color: rgb(234 231 225 / 0.6);
	font-size: 1.125rem;
	margin: 0 0 2.5rem;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

/* ----- Page hero (inner) ----- */
.page-hero {
	position: relative;
	padding: 8rem 0 5rem;
	background: var(--charcoal);
	overflow: hidden;
}

@media (min-width: 1024px) {
	.page-hero {
		padding: 10rem 0 7rem;
	}
}

.page-hero__bg {
	position: absolute;
	inset: 0;
}

.page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.2;
}

.page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgb(26 26 31 / 0.7),
		rgb(26 26 31 / 0.9),
		var(--charcoal)
	);
}

.page-hero__grid {
	position: absolute;
	inset: 0;
	opacity: 0.03;
	background-image:
		linear-gradient(rgb(255 255 255 / 0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 0.5) 1px, transparent 1px);
	background-size: 60px 60px;
}

.page-hero .container {
	position: relative;
	z-index: 2;
}

.page-hero__kicker {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.page-hero__kicker::before {
	content: "";
	width: 2rem;
	height: 2px;
	background: var(--amber);
}

.page-hero__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	font-family: var(--font-mono);
	color: var(--amber);
}

.page-hero h1 {
	font-size: clamp(2.25rem, 4vw, 3.75rem);
	font-weight: 700;
	color: var(--warm-white);
	margin: 0;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.page-hero__lead {
	margin-top: 1.5rem;
	font-size: 1.125rem;
	color: rgb(234 231 225 / 0.6);
	max-width: 42rem;
	line-height: 1.5;
}

/* ----- About: values + team ----- */
.values-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.values-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.values-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.value-card {
	background: #fff;
	border: 1px solid var(--border);
	padding: 2rem;
	transition: border-color 0.3s;
}

.value-card:hover {
	border-color: rgb(255 184 0 / 0.5);
}

.value-card__icon {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(255 184 0 / 0.1);
	margin-bottom: 1.5rem;
	color: var(--amber-dark);
}

.value-card h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
}

.value-card p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.6;
}

.team-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.team-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

.team-card {
	background: var(--warm-white);
	border: 1px solid var(--border);
	overflow: hidden;
	transition: border-color 0.3s;
}

.team-card:hover {
	border-color: rgb(255 184 0 / 0.5);
}

.team-card__bar {
	height: 4px;
	background: linear-gradient(to right, var(--amber), var(--amber-dark));
}

.team-card__body {
	padding: 2rem;
}

.team-card__avatar {
	width: 4rem;
	height: 4rem;
	background: var(--charcoal);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	font-family: var(--font-display);
	color: var(--amber);
}

.team-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
}

.team-card__role {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--amber-dark);
	margin: 0 0 0.25rem;
}

.team-card__spec {
	font-size: 0.75rem;
	font-family: var(--font-mono);
	color: var(--muted-foreground);
	margin: 0 0 1rem;
}

.team-card__bio {
	margin: 0;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.6;
}

.team-card__bio p {
	margin: 0 0 0.75em;
}

.team-card__bio p:last-child {
	margin-bottom: 0;
}

.section--cta-simple {
	padding: 5rem 0;
	background: var(--charcoal);
	text-align: center;
}

.section--cta-simple h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	color: var(--warm-white);
	margin: 0 0 1.5rem;
}

.section--cta-simple p {
	color: rgb(234 231 225 / 0.6);
	margin: 0 0 2rem;
	max-width: 32rem;
	margin-left: auto;
	margin-right: auto;
}

/* ----- Projects ----- */
.project-row {
	display: grid;
	gap: 2rem;
	align-items: flex-start;
	margin-bottom: 4rem;
}

@media (min-width: 1024px) {
	.project-row {
		grid-template-columns: 4fr 8fr;
		gap: 3rem;
		margin-bottom: 6rem;
	}

	.project-meta {
		position: sticky;
		top: 7rem;
	}

	.project-row--flip .project-meta {
		order: 2;
	}

	.project-row--flip .project-body-wrap {
		order: 1;
	}
}

.project-meta__num {
	font-size: clamp(4rem, 8vw, 6rem);
	font-weight: 700;
	font-family: var(--font-display);
	color: rgb(255 184 0 / 0.2);
	line-height: 1;
	display: block;
}

.project-meta__cat {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-family: var(--font-mono);
	color: var(--amber-dark);
	margin-top: 1rem;
}

.project-meta h2 {
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 700;
	margin: 0.5rem 0 0.25rem;
}

.project-meta__sub {
	margin: 0;
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.project-tags span {
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	background: rgb(26 26 31 / 0.05);
	font-weight: 500;
}

.project-body {
	background: #fff;
	border: 1px solid var(--border);
	padding: 2rem;
}

@media (min-width: 1024px) {
	.project-body {
		padding: 2.5rem;
	}
}

.project-body > p {
	margin: 0 0 1.5rem;
	color: var(--muted-foreground);
	line-height: 1.7;
}

.project-body__deliver {
	border-top: 1px solid var(--border);
	padding-top: 1.5rem;
}

.project-body__deliver h4 {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-family: var(--font-mono);
	color: var(--amber-dark);
	margin: 0 0 1rem;
}

.project-body__deliver ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.project-body__deliver li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-bottom: 0.75rem;
}

.project-body__deliver li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--amber);
	border-radius: 50%;
	margin-top: 0.35rem;
	flex-shrink: 0;
}

.tech-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	max-width: 56rem;
	margin: 0 auto;
}

@media (min-width: 640px) {
	.tech-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.tech-grid {
		grid-template-columns: repeat(6, 1fr);
		gap: 1.5rem;
	}
}

.tech-cell {
	border: 1px solid var(--border);
	background: var(--warm-white);
	padding: 1rem;
	text-align: center;
	transition: border-color 0.2s;
}

.tech-cell:hover {
	border-color: rgb(255 184 0 / 0.5);
}

.tech-cell svg {
	display: block;
	margin: 0 auto 0.5rem;
	color: var(--amber);
}

.tech-cell span {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-family: var(--font-mono);
}

/* ----- Contact ----- */
.contact-layout {
	display: grid;
	gap: 3rem;
}

@media (min-width: 1024px) {
	.contact-layout {
		grid-template-columns: 4fr 8fr;
		gap: 4rem;
	}
}

.contact-info-block {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
}

.contact-info-block__icon {
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(255 184 0 / 0.1);
	color: var(--amber-dark);
}

.contact-info-block__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-family: var(--font-mono);
	color: var(--muted-foreground);
	margin: 0 0 0.25rem;
}

.contact-info-block a,
.contact-info-block p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--foreground);
	line-height: 1.5;
	white-space: pre-line;
}

.contact-info-block a:hover {
	color: var(--amber-dark);
}

.contact-map {
	margin-top: 2.5rem;
	position: relative;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--border);
	background: rgb(26 26 31 / 0.05);
	overflow: hidden;
}

.contact-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.contact-form-wrap {
	background: #fff;
	border: 1px solid var(--border);
	padding: 2rem;
}

@media (min-width: 1024px) {
	.contact-form-wrap {
		padding: 3rem;
	}
}

.contact-form-wrap h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.contact-form-wrap > p {
	margin: 0 0 2rem;
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

.contact-notice {
	padding: 0.75rem 1rem;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	border: 1px solid var(--border);
}

.contact-notice--ok {
	background: rgb(0 128 0 / 0.08);
	border-color: rgb(0 100 0 / 0.2);
}

.contact-notice--err {
	background: rgb(200 0 0 / 0.06);
	border-color: rgb(200 0 0 / 0.2);
}

.form-row {
	display: grid;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
	.form-row--2 {
		grid-template-columns: 1fr 1fr;
	}
}

.form-field label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-family: var(--font-mono);
	color: var(--muted-foreground);
	margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	font-family: inherit;
	background: var(--warm-white);
	border: 1px solid var(--border);
	transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--amber);
}

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

.form-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--amber);
	color: var(--charcoal);
	border: 0;
	padding: 1rem 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: background 0.3s;
}

.form-submit:hover {
	background: var(--amber-light);
}

/* ----- Footer ----- */
.site-footer {
	position: relative;
	background: var(--charcoal);
	color: var(--warm-gray);
	overflow: hidden;
	margin-top: auto;
}

.site-footer__accent {
	height: 4px;
	width: 100%;
	background: var(--amber);
}

.site-footer__inner {
	padding: 4rem 0;
}

@media (min-width: 1024px) {
	.site-footer__inner {
		padding: 5rem 0;
	}
}

.site-footer__grid {
	display: grid;
	gap: 3rem;
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		gap: 2rem;
	}
}

.site-footer__brand-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.site-footer__title {
	font-size: 1.25rem;
	font-weight: 700;
	font-family: var(--font-display);
	color: var(--warm-white);
}

.site-footer__desc {
	font-size: 0.875rem;
	color: rgb(234 231 225 / 0.7);
	line-height: 1.6;
	max-width: 20rem;
	margin: 0;
}

.site-footer__heading {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-family: var(--font-display);
	color: var(--amber);
	margin: 0 0 1.5rem;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__list li {
	margin-bottom: 0.75rem;
}

.site-footer__list a {
	font-size: 0.875rem;
	color: rgb(234 231 225 / 0.7);
	transition: color 0.2s;
}

.site-footer__list a:hover {
	color: var(--amber);
}

.site-footer__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: rgb(234 231 225 / 0.7);
	line-height: 1.5;
}

.site-footer__list--contact svg {
	flex-shrink: 0;
	color: var(--amber);
	margin-top: 2px;
}

.site-footer__list--contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: rgb(234 231 225 / 0.7);
}

.site-footer__cta-text {
	font-size: 0.875rem;
	color: rgb(234 231 225 / 0.7);
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.site-footer__bar {
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid rgb(234 231 225 / 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

@media (min-width: 640px) {
	.site-footer__bar {
		flex-direction: row;
	}
}

.site-footer__copy,
.site-footer__tag {
	margin: 0;
	font-size: 0.75rem;
	color: rgb(234 231 225 / 0.4);
}

/* ----- 404 ----- */
.error-404 {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--charcoal);
	position: relative;
	overflow: hidden;
	padding: 2rem;
}

.error-404__grid {
	position: absolute;
	inset: 0;
	opacity: 0.03;
	background-image:
		linear-gradient(rgb(255 255 255 / 0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 0.5) 1px, transparent 1px);
	background-size: 60px 60px;
}

.error-404__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.error-404__big {
	font-size: clamp(6rem, 18vw, 14rem);
	font-weight: 700;
	font-family: var(--font-display);
	color: rgb(255 184 0 / 0.1);
	line-height: 1;
	display: block;
}

.error-404 h1 {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: var(--warm-white);
	margin: -3rem 0 1rem;
	letter-spacing: -0.02em;
}

.error-404 p {
	color: rgb(234 231 225 / 0.6);
	margin: 0 0 2rem;
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
}

/* ----- WordPress blocks / alignment in content ----- */
.entry-content {
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-left: auto;
	margin-right: auto;
}

.entry-content > * {
	margin-left: auto;
	margin-right: auto;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* ----- Generic page / blog ----- */
.page-content {
	padding: 7rem 0 4rem;
}

.page-content--narrow .container {
	max-width: 720px;
}

.page-content__title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	font-family: var(--font-display);
	margin: 0 0 2rem;
	letter-spacing: -0.02em;
}

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

.entry-content a {
	color: var(--amber-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-card {
	padding: 2rem 0;
	border-bottom: 1px solid var(--border);
}

.post-card__title {
	font-size: 1.5rem;
	margin: 0 0 0.5rem;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--amber-dark);
}

.post-card__meta {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-bottom: 1rem;
}

.pagination {
	margin-top: 2rem;
}

.pagination .nav-links {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	padding: 0.45rem 0.75rem;
	border-radius: 0.375rem;
	border: 1px solid var(--border);
	text-decoration: none;
	color: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus-visible {
	border-color: var(--amber-dark);
	color: var(--amber-dark);
}

.pagination .page-numbers.current {
	background: var(--amber);
	color: var(--charcoal);
	border-color: var(--amber);
}

.pagination .page-numbers.dots {
	border: none;
	min-width: auto;
	padding: 0.45rem 0.25rem;
}

/* ----- Blog list & single ----- */
.section--blog-list .container {
	padding-top: 3rem;
	padding-bottom: 5rem;
}

.blog-list {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.section--blog-list .post-card {
	border: 1px solid var(--border);
	border-radius: 0.75rem;
	padding: 1.75rem;
	margin-bottom: 1.25rem;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid var(--border);
}

.section--blog-list .post-card:last-of-type {
	margin-bottom: 0;
}

.post-card__excerpt {
	font-size: 0.9375rem;
	color: var(--muted-foreground);
	margin-bottom: 1rem;
	line-height: 1.6;
}

.post-card__excerpt p {
	margin: 0;
}

.post-card__readmore {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--amber-dark);
	text-decoration: none;
}

.post-card__readmore:hover,
.post-card__readmore:focus-visible {
	text-decoration: underline;
}

.page-hero__archive-desc p {
	margin: 0 0 0.5rem;
}

.page-hero__archive-desc p:last-child {
	margin-bottom: 0;
}

.page-hero__back {
	margin: 1rem 0 0;
	font-size: 0.9375rem;
}

.page-hero__back a {
	color: var(--amber-dark);
	text-decoration: none;
	font-weight: 500;
}

.page-hero__back a:hover,
.page-hero__back a:focus-visible {
	text-decoration: underline;
}

.page-hero__archive-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	font-family: var(--font-display);
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.single-post__title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	font-family: var(--font-display);
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.single-post__meta {
	font-size: 0.9375rem;
	color: var(--muted-foreground);
	margin: 0;
}

.single-post__meta a {
	color: var(--amber-dark);
	text-decoration: none;
}

.single-post__meta a:hover,
.single-post__meta a:focus-visible {
	text-decoration: underline;
}

.single-post__sep {
	margin: 0 0.35rem;
}

.section--single-post {
	padding-top: 3rem;
	padding-bottom: 5rem;
}

/* Same .container as other pages (max-width 1280px + side padding). */
.entry-content--single {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

.single-post__article .entry-content--single > * {
	max-width: none;
}

/* Center post images when narrower than the column (default alignment). */
.single-post__article .entry-content--single .wp-block-image:not(.alignleft):not(.alignright) img,
.single-post__article .entry-content--single figure:not(.wp-block-gallery):not(.alignleft):not(.alignright) > img,
.single-post__article .entry-content--single p > img:only-child,
.single-post__article .entry-content--single .wp-caption img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.single-post__article .entry-content--single .wp-caption {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.single-post__newsletter {
	margin-top: 3.5rem;
	padding-top: 3rem;
	border-top: 1px solid var(--border);
}

/* ~50% of typical content column on desktop; full width on narrow viewports. */
.contact-form-wrap.newsletter-form-wrap {
	max-width: min(40rem, 100%);
}

.newsletter-block__heading {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	font-family: var(--font-display);
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.newsletter-block__lead {
	margin: 0 0 1.75rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--muted-foreground);
	max-width: 42rem;
}

.newsletter-form-wrap .newsletter-form-wrap__text {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--muted-foreground);
}

.newsletter-form-wrap .newsletter-form-wrap__sign {
	margin: 0 0 1.75rem;
	font-size: 0.8125rem;
	color: var(--muted-foreground);
	font-style: italic;
}

.newsletter-form-wrap .form-field {
	margin-bottom: 1.5rem;
}

.newsletter-form-wrap .form-submit {
	width: 100%;
	justify-content: center;
}

.single-post__footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.single-post__back svg {
	flex-shrink: 0;
}

.blog-empty {
	text-align: center;
	color: var(--muted-foreground);
	margin: 0;
	padding: 2rem 0;
}
