/*
Theme Name: Entrpryz
Theme URI: https://entrpryz.com
Author: Entrpryz
Author URI: https://entrpryz.com
Description: Classic WordPress theme for Entrpryz — a dark, high-contrast one-pager for ERP, software development and technology & IT services. Faithful conversion of the Entrpryz Next.js/Tailwind homepage: sticky nav, founder spotlight, services, workflow, track record, portfolio tiers and consultation form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: entrpryz
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
	--background: #080A0D;
	--foreground: #F5F5F5;
	--brand-orange: #FF7A18;
	--brand-amber: #FF9D3D;
	--brand-hover: #E56800;
	--surface-dark: #080A0D;
	--surface-card: #12161B;
	--surface-border: #222830;
	--text-primary: #F5F5F5;
	--text-secondary: #9BA2AD;

	--font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-display: 'Space Grotesk', 'Montserrat', system-ui, sans-serif;
	--font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

	--container-max: 1280px;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

html.dark {
	color-scheme: dark;
}

body {
	margin: 0;
	color: var(--text-primary);
	background: var(--background);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
	margin: 0;
}

ul, ol {
	list-style: none;
	padding: 0;
}

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

button {
	font-family: inherit;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

::selection {
	background: var(--brand-orange);
	color: var(--background);
}

/* ============================================================================
   2. COMPONENTS: LAYOUT SHELL
   ========================================================================== */

.container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.section {
	position: relative;
	overflow: hidden;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.section--light {
	background: var(--background);
}

.section--card {
	background: var(--surface-card);
}

.scroll-mt-20 {
	scroll-margin-top: 5rem;
}

.site-main {
	display: block;
}

/* --- Decorative backgrounds ----------------------------------------------- */

.abstract-grid {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, black 10%, transparent 78%);
	mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, black 10%, transparent 78%);
}

.glow-orb {
	position: absolute;
	width: 32rem;
	height: 32rem;
	border-radius: 9999px;
	pointer-events: none;
	background: radial-gradient(circle, rgba(255, 122, 24, 0.16) 0%, rgba(255, 157, 61, 0.06) 40%, rgba(255, 157, 61, 0) 68%);
	filter: blur(48px);
}

/* ============================================================================
   3. TYPOGRAPHY UTILITIES
   ========================================================================== */

.font-sans { font-family: var(--font-sans); }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-left { text-align: left; }
.text-center { text-align: center; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.text-\[10px\] { font-size: 0.625rem; line-height: 1rem; }
.text-\[11px\] { font-size: 0.6875rem; line-height: 1rem; }

/* ============================================================================
   4. COLOR & BORDER UTILITIES
   ========================================================================== */

.text-text-primary { color: var(--text-primary); }
.text-text-secondary { color: var(--text-secondary); }
.text-brand-orange { color: var(--brand-orange); }
.text-brand-amber { color: var(--brand-amber); }
.text-background { color: var(--background); }

.bg-background { background-color: var(--background); }
.bg-surface-card { background-color: var(--surface-card); }
.bg-brand-orange { background-color: var(--brand-orange); }

.border {
	border-width: 1px;
	border-style: solid;
	border-color: var(--surface-border);
}

.border-surface-border { border-color: var(--surface-border); }
.border-brand-orange { border-color: var(--brand-orange); }
.border-brand-orange\/40 { border-color: rgba(255, 122, 24, 0.4); }

.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--surface-border); }
.border-t-0 { border-top-width: 0; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--surface-border); }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }

.rounded-sm { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }

.hover\:border-brand-orange:hover { border-color: var(--brand-orange); }
.hover\:text-text-primary:hover { color: var(--text-primary); }
.hover\:text-brand-orange:hover { color: var(--brand-orange); }
.hover\:text-brand-amber:hover { color: var(--brand-amber); }
.hover\:bg-brand-orange:hover { background-color: var(--brand-orange); }
.hover\:bg-surface-card:hover { background-color: var(--surface-card); }
.hover\:text-background:hover { color: var(--background); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:grayscale-0:hover { filter: none; }

.divide-y > :not([hidden]) ~ :not([hidden]) {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: var(--surface-border);
}

.divide-x > :not([hidden]) ~ :not([hidden]) {
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: var(--surface-border);
}

.divide-surface-border > :not([hidden]) ~ :not([hidden]) {
	border-color: var(--surface-border);
}

/* ============================================================================
   5. SPACING, DISPLAY, SIZE & POSITION UTILITIES
   ========================================================================== */

.hidden { display: none !important; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.grid { display: grid; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.self-start { align-self: flex-start; }

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

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.space-y-20 > * + * { margin-top: 5rem; }
.space-y-0\.5 > * + * { margin-top: 0.125rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }

.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-4 { padding-left: 1rem; }
.pl-9 { padding-left: 2.25rem; }
.pr-3 { padding-right: 0.75rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.w-1\.5 { width: 0.375rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-36 { width: 9rem; }
.w-44 { width: 11rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-1\/2 { top: 50%; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.-translate-y-1\/2 { transform: translateY(-50%); }

.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-left { object-position: left; }
.object-center { object-position: center; }
.object-top { object-position: top; }

.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-75 { opacity: 0.75; }
.opacity-95 { opacity: 0.95; }

.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-\[21\/9\] { aspect-ratio: 21 / 9; }

.grayscale { filter: grayscale(1) contrast(1.1); }
.contrast-110 { filter: grayscale(1) contrast(1.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 2px 4px -2px rgba(0, 0, 0, 0.2); }

.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.3s ease; }

.group:hover .group-hover\:opacity-80 { opacity: 0.8; }
.group:hover .group-hover\:opacity-95 { opacity: 0.95; }
.group:hover .group-hover\:text-brand-orange { color: var(--brand-orange); }

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

/* ============================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 0.375rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	border: 1px solid transparent;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:active { transform: scale(0.95); }

.btn-primary {
	background: var(--brand-orange);
	border-color: var(--brand-orange);
	color: var(--background);
}

.btn-primary:hover {
	background: var(--brand-amber);
	border-color: var(--brand-amber);
	color: var(--background);
}

.btn-outline {
	border-color: var(--surface-border);
	background: var(--surface-card);
	color: var(--text-primary);
}

.btn-outline:hover {
	border-color: var(--brand-orange);
	color: var(--brand-orange);
}

.btn-brand-outline {
	border-color: var(--brand-orange);
	background: rgba(255, 122, 24, 0.1);
	color: var(--brand-orange);
}

.btn-brand-outline:hover {
	background: var(--brand-orange);
	border-color: var(--brand-orange);
	color: var(--background);
}

.btn-sm { padding: 0.625rem 1.25rem; }
.btn-md { padding: 0.75rem 1.5rem; }
.btn-lg { padding: 1rem 2rem; }
.btn-full { width: 100%; }

/* ============================================================================
   7. EYEBROW CHIPS
   ========================================================================== */

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid rgba(255, 122, 24, 0.4);
	background: var(--background);
	padding: 0.25rem 0.875rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	color: var(--brand-orange);
	line-height: 1.5rem;
}

.chip-on-card { background: var(--surface-card); }
.chip-plain { display: inline-block; padding: 0.25rem 0.75rem; }

/* ============================================================================
   8. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	width: 100%;
	border-bottom: 1px solid var(--surface-border);
	background: rgba(8, 10, 13, 0.95);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	overflow: hidden;
}

.header-bar {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	padding-bottom: 0;
}

.desktop-nav,
.desktop-cta {
	display: none;
}

.site-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.625rem;
	color: var(--text-secondary);
	border: 1px solid var(--surface-border);
	background: transparent;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.site-menu-toggle:hover {
	border-color: var(--brand-orange);
	color: var(--text-primary);
}

.site-nav-mobile {
	position: relative;
	z-index: 10;
	display: none;
	border-bottom: 1px solid var(--surface-border);
	background: var(--surface-card);
	padding: 1rem 1.5rem 2rem;
}

.site-nav-mobile.is-open { display: block; }

.mobile-cta { padding-top: 1rem; }

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

.nav-links a {
	display: inline-block;
	padding: 0.25rem 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: var(--text-secondary);
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active {
	color: var(--brand-orange);
	border-bottom-color: var(--brand-orange);
}

.nav-links-mobile {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links-mobile a {
	display: block;
	padding: 0.25rem 0 0.25rem 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-secondary);
	border-left: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links-mobile a:hover { color: var(--text-primary); }
.nav-links-mobile a.active {
	color: var(--brand-orange);
	border-left-color: var(--brand-orange);
}

/* ============================================================================
   9. HERO
   ========================================================================== */

.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.hero-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.hero-title { line-height: 0.95; }

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	padding-top: 0.5rem;
}

.hero-card {
	border: 1px solid var(--surface-border);
	padding: 1.5rem;
	background: var(--background);
}

.hero-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 1px solid var(--surface-border);
	padding-bottom: 0.75rem;
}

.hero-metrics {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
	padding: 1.25rem 0;
}

.hero-metric {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.hero-metric-value { font-size: 1.5rem; line-height: 1.25; }
.hero-metric-label {
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-secondary);
}

.hero-card-footer {
	padding-top: 0.875rem;
	border-top: 1px solid var(--surface-border);
}

.hero-frame {
	position: relative;
	border: 1px solid var(--surface-border);
	overflow: hidden;
}

.hero-frame-image {
	position: relative;
	background: var(--surface-card);
}

.hero-frame-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 10, 13, 0.85) 0%, rgba(8, 10, 13, 0.15) 55%);
	pointer-events: none;
}

.hero-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem;
}

.hero-caption-title {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--brand-orange);
}

.hero-caption-sub { font-size: 0.75rem; margin-top: 0.25rem; }
.hero-caption-loc { margin-left: auto; }

/* ============================================================================
   10. BEHIND ENTRPRYZ / STAT STRIP
   ========================================================================== */

.behind-quote {
	display: inline-block;
	margin-top: 1rem;
}

.behind-para { margin-top: 0.75rem; }

.stat-strip { margin-top: 1.5rem; }

.stat-cell {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.5rem 0;
}

.stat-value { line-height: 1.15; }
.stat-label {
	margin-top: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-secondary);
}

/* ============================================================================
   11. ABOUT CARDS
   ========================================================================== */

.about-card { transition: border-color 0.2s ease; }
.about-card:hover { border-color: var(--brand-orange); }

.about-card-icon {
	display: inline-flex;
}

.about-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

/* ============================================================================
   12. FOUNDER
   ========================================================================== */

.founder-photo { transition: border-color 0.2s ease; }

.philosophy-box { overflow: hidden; }
.philosophy-head { margin-top: 0; }
.philosophy-text { font-family: var(--font-display); }

.competencies-label { font-family: var(--font-mono); }

/* ============================================================================
   13. CERTIFICATIONS
   ========================================================================== */

.cert-card { transition: border-color 0.2s ease; }
.cert-card:hover { border-color: var(--brand-orange); }

/* ============================================================================
   14. SERVICES
   ========================================================================== */

.service-card { transition: border-color 0.2s ease; }
.service-card:hover { border-color: var(--brand-orange); }

.service-card-overlay {
	background-image: linear-gradient(to top, var(--surface-card) 0%, rgba(18, 22, 27, 0) 55%);
}

.service-card-icon {
	display: inline-flex;
}

.service-card-body ul { margin-top: 0; }

/* ============================================================================
   15. WORKFLOW STEPS
   ========================================================================== */

.workflow-card { transition: border-color 0.2s ease; }
.workflow-card:hover { border-color: var(--brand-orange); }
.step-number { letter-spacing: 0; }

/* ============================================================================
   16. WHY ENTRPRYZ
   ========================================================================== */

.why-card { transition: border-color 0.2s ease; }
.why-card:hover { border-color: var(--brand-orange); }

/* ============================================================================
   17. PRODUCT JOURNEY
   ========================================================================== */

.motto-box { overflow: hidden; }

.product-frame .product-frame-image { overflow: hidden; }

.product-caption { border-top: 0; }

/* ============================================================================
   18. CAREER TIMELINE
   ========================================================================== */

.timeline-card { transition: border-color 0.2s ease; }
.timeline-card:hover { border-color: var(--brand-orange); }

.mono-chip { white-space: nowrap; }

/* ============================================================================
   19. PORTFOLIO
   ========================================================================== */

.portfolio-card { transition: border-color 0.2s ease; }
.portfolio-card:hover { border-color: var(--brand-orange); }

.location-chip {
	font-size: 0.625rem;
	font-family: var(--font-mono);
	color: var(--brand-orange);
	background: var(--background);
	padding: 0.125rem 0.5rem;
	white-space: nowrap;
	display: inline-block;
}

.status-chip {
	display: inline-block;
	border: 1px solid rgba(255, 122, 24, 0.4);
	color: var(--brand-orange);
	padding: 0.25rem 0.625rem;
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.portfolio-cta { padding-top: 0.5rem; }

/* ---- Additional Engagements (collapsible filter panel) -------------------- */

.engagement-summary {
	display: block;
	list-style: none;
	cursor: pointer;
}

.engagement-summary::-webkit-details-marker { display: none; }

.engagement-wrap[open] .engagement-chevron { transform: rotate(180deg); }

.engagement-count-badge { flex-shrink: 0; }
.engagement-count { margin-top: 0.25rem; }

.engagement-empty {
	display: none;
	border: 1px dashed var(--surface-border);
	border-radius: 0.25rem;
	padding: 1rem;
	text-align: center;
}

.engagement-empty.is-visible { display: block; }

.engagement-row { transition: background-color 0.2s ease; }
.engagement-row:hover { background-color: var(--background); }

.platform-pill {
	border: 1px solid var(--surface-border);
	background: var(--surface-card);
	color: var(--text-secondary);
	font-size: 0.75rem;
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.375rem 0.75rem;
	border-radius: 0.25rem;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.platform-pill:hover,
.platform-pill.is-active {
	border-color: var(--brand-orange);
	color: var(--brand-orange);
}

.platform-pill.is-active {
	background: var(--brand-orange);
	color: var(--background);
	border-color: var(--brand-orange);
}

.platform-badge { white-space: nowrap; }

/* ============================================================================
   20. CONTACT
   ========================================================================== */

.direct-card { padding: 2rem; }

.contact-point-link svg {
	flex-shrink: 0;
}

.field-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.field-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: var(--surface-card);
	border: 1px solid var(--surface-border);
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	font-family: var(--font-sans);
	border-radius: 0.375rem;
	color: var(--text-primary);
	transition: border-color 0.2s ease;
}

.field-input::placeholder { color: #5b6673; opacity: 1; }

.field-input:focus {
	border-color: var(--brand-orange);
	outline: none;
}

.field-input option { background: var(--surface-card); color: var(--text-primary); }

textarea.field-input { resize: vertical; }

.form-status { max-width: 100%; }

/* ============================================================================
   21. FOOTER
   ========================================================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--surface-border);
	background: var(--background);
	color: var(--text-secondary);
}

.footer-body {
	position: relative;
	z-index: 10;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.site-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-line {
	font-size: 0.75rem;
	color: var(--text-secondary);
	max-width: 28rem;
	line-height: 1.625;
}

.footer-tagline {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--brand-orange);
}

.footer-heading {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-links a {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-secondary);
	transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--brand-orange); }

.contact-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-bottom: 0.75rem;
}

.contact-row + .contact-row { padding-bottom: 0.75rem; }
.contact-row:last-child { padding-bottom: 0; }

.contact-label { font-size: 0.75rem; color: var(--text-secondary); }

.contact-link {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-primary);
	transition: color 0.2s ease;
}

.contact-link:hover { color: var(--brand-orange); }

.footer-bottom {
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--surface-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.75rem;
	color: var(--text-secondary);
}

.footer-copy { margin: 0; }

.footer-meta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.footer-orange { color: var(--brand-orange); }

/* ============================================================================
   22. INDEX / FALLBACK TEMPLATE
   ========================================================================== */

.entry-page .entry-card { max-width: 56rem; }

.entry-card h1 { margin-bottom: 1rem; }

.entry-page .entry-content {
	margin-top: 1rem;
	line-height: 1.7;
}

.entry-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 2.5rem;
	gap: 1rem;
}

.entry-pagination a {
	color: var(--brand-orange);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.entry-pagination a:hover { color: var(--brand-amber); }

/* ============================================================================
   23. RESPONSIVE: min-width 640px
   ========================================================================== */

@media (min-width: 640px) {

	.container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
	.sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
	.sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
	.sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
	.sm\:text-5xl { font-size: 3rem; line-height: 1; }
	.sm\:text-6xl { font-size: 3.75rem; line-height: 1; }

	.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.sm\:flex-row { flex-direction: row; }
	.sm\:items-center { align-items: center; }

	.sm\:p-10 { padding: 2.5rem; }
	.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
	.sm\:h-10 { height: 2.5rem; }
	.sm\:w-44 { width: 11rem; }

	.sm\:divide-y-0 > :not([hidden]) ~ :not([hidden]) { border-top-width: 0; }
	.sm\:divide-x > :not([hidden]) ~ :not([hidden]) {
		border-left-width: 1px;
		border-left-style: solid;
		border-left-color: var(--surface-border);
	}

	.stat-cell { padding: 0.5rem 0; }
	.stat-cell:not(:first-child) { padding-left: 1.5rem; }
	.stat-cell:not(:last-child) { padding-right: 1.5rem; }

	.footer-line { font-size: 0.875rem; }

	.footer-bottom { flex-direction: row; }
}

/* ============================================================================
   24. RESPONSIVE: min-width 768px
   ========================================================================== */

@media (min-width: 768px) {

	.section { padding-top: 6rem; padding-bottom: 6rem; }

	.md\:flex { display: flex; }
	.md\:hidden { display: none; }

	.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.md\:flex-row { flex-direction: row; }
	.md\:items-center { align-items: center; }

	.md\:p-8 { padding: 2rem; }
	.md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }

	.desktop-nav,
	.desktop-cta {
		display: flex;
		align-items: center;
	}

	.desktop-nav { gap: 2rem; }
	.desktop-cta { gap: 1rem; }

	.site-menu-toggle { display: none; }

	.site-nav-mobile { display: none !important; }
}

/* ============================================================================
   25. RESPONSIVE: min-width 1024px
   ========================================================================== */

@media (min-width: 1024px) {

	.container {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.lg\:text-7xl { font-size: 4.5rem; line-height: 1; }

	.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

	.lg\:col-span-3 { grid-column: span 3; }
	.lg\:col-span-4 { grid-column: span 4; }
	.lg\:col-span-5 { grid-column: span 5; }
	.lg\:col-span-7 { grid-column: span 7; }
	.lg\:col-span-8 { grid-column: span 8; }

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

	.hero-left { grid-column: span 8; }
	.hero-right { grid-column: span 4; }

	.site-footer-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.footer-brand { grid-column: span 5; }
	.footer-col { grid-column: span 3; }
	.footer-contact { grid-column: span 4; }

	.contact-label,
	.contact-link { font-size: 0.875rem; }
}