/* ==========================================================================
   WPDev Portfolio — Design System
   Dark green + orange identity. Mobile-first, accessible, performance-focused.
   ========================================================================== */

/* 1. Tokens & Reset
   -------------------------------------------------------------------------- */

:root {
	/* Customizer-driven (inline overrides): --wp-green, --wp-green-dark, --wp-orange, --wp-orange-light, --wp-font */
	--wp-green: #294A35;
	--wp-green-dark: #203A2A;
	--wp-orange: #F5A623;
	--wp-orange-light: #FFB52B;
	--wp-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--text: #202020;
	--text-secondary: #666666;
	--bg: #ffffff;
	--bg-light: #F7F7F5;
	--border: #E5E5E5;

	--radius-card: 24px;
	--radius-lg: 32px;
	--radius-pill: 999px;

	--shadow-card: 0 6px 24px rgba(32, 58, 42, 0.06);
	--shadow-card-hover: 0 18px 44px rgba(32, 58, 42, 0.14);

	--container: 1200px;
	--container-narrow: 780px;

	--transition: 220ms ease;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--wp-font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--text);
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a {
	color: var(--wp-green);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover { color: var(--wp-orange); }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
	outline: 3px solid var(--wp-orange);
	outline-offset: 3px;
	border-radius: 4px;
}

svg { width: 1.25em; height: 1.25em; flex: none; }

/* 2. Layout & Shared Components
   -------------------------------------------------------------------------- */

.container {
	width: min(100% - 3rem, var(--container));
	margin-inline: auto;
}
.container--narrow { width: min(100% - 3rem, var(--container-narrow)); }

.site-main > section { padding-block: clamp(4rem, 9vw, 7.5rem); }

.section--light { background: var(--bg-light); }
.section--green {
	background: var(--wp-green);
	color: rgba(255, 255, 255, 0.92);
}
.section--green h1,
.section--green h2,
.section--green h3 { color: #ffffff; }

/* Section label ("— Label") */
.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
}
.section--green .section-label { color: #ffffff; }
.section-label__dash {
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: var(--wp-orange);
}

/* Headings */
.section-heading {
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
	margin-bottom: 0.4em;
}
.section-heading--light { color: #ffffff; }

.h-accent {
	font-style: italic;
	font-weight: 700;
	color: var(--wp-orange);
}
.h-plain { font-style: normal; }

.section-sub {
	max-width: 560px;
	color: var(--text-secondary);
	font-size: 1.05rem;
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--center {
	justify-content: center;
	text-align: center;
}
.section-head--center .section-sub { margin-inline: auto; }

/* Split button (label pill + arrow circle) — signature element */
.split-btn {
	display: inline-flex;
	align-items: center;
	border-radius: var(--radius-pill);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	padding: 6px;
	transition: transform var(--transition), box-shadow var(--transition);
}
.split-btn:hover { transform: translateY(-2px); }
.split-btn__label {
	padding: 0.9rem 1.5rem;
	border-radius: var(--radius-pill);
}
.split-btn__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	transition: transform var(--transition);
}
.split-btn__icon svg { width: 20px; height: 20px; }
.split-btn:hover .split-btn__icon { transform: translateX(3px) rotate(-45deg); }

.split-btn--green { background: var(--wp-orange); }
.split-btn--green .split-btn__label { background: var(--wp-green); color: #ffffff; }
.split-btn--green .split-btn__icon { background: #ffffff; color: var(--text); }
.split-btn--green:hover { color: inherit; box-shadow: 0 10px 24px rgba(245, 166, 35, 0.35); }

.split-btn--orange { background: var(--wp-green); }
.split-btn--orange .split-btn__label { background: var(--wp-orange); color: var(--wp-green-dark); }
.split-btn--orange .split-btn__icon { background: #ffffff; color: var(--text); }
.split-btn--orange:hover { color: inherit; box-shadow: 0 10px 24px rgba(32, 58, 42, 0.3); }

/* Plain outline button */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1.05rem 1.9rem;
	border-radius: var(--radius-pill);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	border: 2px solid var(--text);
	color: var(--text);
	background: transparent;
	transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn--outline:hover {
	background: var(--wp-green);
	border-color: var(--wp-green);
	color: #ffffff;
	transform: translateY(-2px);
}

/* Learn more link with orange arrow */
.learn-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--text);
}
.learn-more svg {
	width: 18px;
	height: 18px;
	color: var(--wp-orange);
	transition: transform var(--transition);
}
.learn-more:hover { color: var(--wp-green); }
.learn-more:hover svg { transform: translateX(4px); }

/* Circle arrow button (project cards) */
.circle-arrow {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wp-green);
	color: var(--wp-orange);
	transition: background var(--transition), transform var(--transition);
}
.circle-arrow svg { width: 22px; height: 22px; }
.circle-arrow:hover { background: var(--wp-orange); color: var(--wp-green-dark); transform: rotate(-45deg); }

/* Tag pills */
.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.tag-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 1.05rem;
	border-radius: var(--radius-pill);
	font-size: 0.85rem;
	font-weight: 700;
	background: var(--bg-light);
	color: var(--text);
	border: 1px solid var(--border);
}
.tag-pill--orange {
	background: var(--wp-orange);
	border-color: var(--wp-orange);
	color: var(--wp-green-dark);
}
.tag-pill--dark {
	background: var(--wp-green-dark);
	border-color: var(--wp-green-dark);
	color: #ffffff;
}
.tag-row--green .tag-pill--dark { background: rgba(0, 0, 0, 0.22); border-color: transparent; }

/* Decorative elements */
.deco { position: absolute; pointer-events: none; }
.deco--star { color: var(--wp-orange); }
.deco--star svg { width: 34px; height: 34px; }
.deco--star-green { color: var(--wp-green); }
.deco--dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--wp-orange);
}

.status-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #3ecf6f;
	margin-right: 0.55rem;
	box-shadow: 0 0 0 4px rgba(62, 207, 111, 0.18);
	animation: pulse-dot 2.2s ease-in-out infinite;
}

/* Feature list (case study key features) */
.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin-bottom: 0.75rem;
}
.feature-list li svg {
	color: var(--wp-orange);
	margin-top: 0.25em;
}

/* Empty notice */
.empty-notice {
	padding: 2rem;
	border: 1px dashed var(--border);
	border-radius: var(--radius-card);
	color: var(--text-secondary);
	background: var(--bg-light);
}

/* 3. Header / Navigation
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 1rem 0;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

.main-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	background: var(--wp-green);
	border-radius: var(--radius-pill);
	padding: 0.55rem 0.65rem 0.55rem 1.4rem;
	box-shadow: 0 12px 32px rgba(32, 58, 42, 0.22);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: #ffffff;
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}
.brand:hover { color: #ffffff; }
.brand__badge {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wp-orange);
	color: var(--wp-green-dark);
	font-size: 1.1rem;
	font-weight: 800;
}
.brand__dot { color: var(--wp-orange); }

.custom-logo-link img { max-height: 44px; width: auto; border-radius: 50%; }

.main-nav__menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}
.nav-list a {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	font-size: 0.98rem;
	padding-bottom: 2px;
	border-bottom: 2px solid transparent;
}
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
	color: var(--wp-orange);
	border-bottom-color: var(--wp-orange);
}

.main-nav__cta { font-size: 0.95rem; }
.main-nav__cta .split-btn__label { padding: 0.75rem 1.35rem; }
.main-nav__cta .split-btn__icon { width: 38px; height: 38px; }

.nav-toggle {
	display: none;
	background: var(--wp-orange);
	border: 0;
	border-radius: 50%;
	width: 46px;
	height: 46px;
	place-items: center;
	color: var(--wp-green-dark);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }

/* 4. Hero
   -------------------------------------------------------------------------- */

.hero {
	padding-top: clamp(2.5rem, 6vw, 5rem) !important;
	padding-bottom: clamp(4rem, 8vw, 6rem) !important;
	position: relative;
	overflow: hidden;
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}

.hero__label {
	position: relative;
	display: inline-block;
	padding: 0.35rem 1.1rem;
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}
.hero__label-frame { position: absolute; inset: 0; }
.hero__label-frame::before,
.hero__label-frame::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	border: 2.5px solid var(--wp-orange);
}
.hero__label-frame::before { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.hero__label-frame::after { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }

.hero__heading {
	font-size: clamp(2.6rem, 5.6vw, 4.3rem);
	font-weight: 800;
	margin-bottom: 1.4rem;
}
.hero__heading .h-accent { display: inline; position: relative; }
.hero__heading .h-accent::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.06em;
	height: 0.09em;
	background: var(--wp-orange);
	border-radius: 3px;
}

.hero__description {
	max-width: 480px;
	color: var(--text-secondary);
	font-size: 1.1rem;
	margin-bottom: 2.2rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	margin-bottom: 1.75rem;
}

.hero__availability {
	display: flex;
	align-items: center;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin: 0;
}

/* Hero visual */
.hero__visual {
	position: relative;
	min-height: 460px;
}

.hero__blob {
	position: absolute;
	inset: 8% 4% 4% 10%;
	background: var(--wp-orange);
	border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%;
}

.hero-mockup {
	position: relative;
	margin: 10% auto 0;
	width: min(88%, 460px);
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 28px 70px rgba(32, 58, 42, 0.28);
	overflow: hidden;
	border: 1px solid var(--border);
}

.hero-mockup__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: var(--bg-light);
	border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }
.hero-mockup__url {
	margin-left: 10px;
	flex: 1;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	font-size: 0.7rem;
	color: var(--text-secondary);
	padding: 3px 12px;
}

.hero-mockup__body { padding: 14px; display: grid; gap: 12px; }

.mock-nav { display: flex; align-items: center; gap: 8px; }
.mock-logo { width: 26px; height: 10px; border-radius: 5px; background: var(--wp-green); }
.mock-links { display: flex; gap: 5px; margin-left: auto; }
.mock-links i { width: 22px; height: 5px; border-radius: 3px; background: var(--border); }
.mock-btn { width: 30px; height: 10px; border-radius: 5px; background: var(--wp-orange); }

.mock-hero {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 10px;
	align-items: center;
}
.mock-hero__text { display: grid; gap: 7px; }
.mock-line { height: 9px; border-radius: 5px; background: #dfe5e0; }
.mock-line--lg { width: 92%; height: 12px; background: var(--wp-green); }
.mock-line--accent { width: 70%; background: var(--wp-orange); }
.mock-line--sm { width: 82%; }
.mock-cta { width: 52px; height: 14px; border-radius: 8px; background: var(--wp-green); margin-top: 3px; }
.mock-hero__img {
	height: 74px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--wp-green) 0%, var(--wp-green-dark) 100%);
	position: relative;
}
.mock-hero__img::after {
	content: '';
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--wp-orange);
}

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cards span {
	height: 44px;
	border-radius: 8px;
	background: var(--bg-light);
	border: 1px solid var(--border);
}

/* Rotating badge */
.hero__badge {
	position: absolute;
	top: 2%;
	right: 0;
	width: 118px;
	height: 118px;
	display: grid;
	place-items: center;
}
.hero__badge-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: spin 16s linear infinite;
}
.hero__badge-ring text {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 1.6px;
	fill: var(--wp-green-dark);
}
.hero__badge-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wp-green);
	color: var(--wp-orange);
}
.hero__badge-icon svg { width: 24px; height: 24px; transform: rotate(-45deg); }

/* Floating tags */
.float-tag {
	position: absolute;
	padding: 0.55rem 1.1rem;
	border-radius: var(--radius-pill);
	font-size: 0.85rem;
	font-weight: 700;
	background: var(--wp-orange);
	color: var(--wp-green-dark);
	box-shadow: 0 10px 26px rgba(32, 58, 42, 0.2);
	animation: float-y 5s ease-in-out infinite;
	white-space: nowrap;
}
.float-tag--green { background: var(--wp-green); color: #ffffff; }
.float-tag--1 { top: 14%; left: -2%; animation-delay: 0s; }
.float-tag--2 { top: 42%; left: -6%; animation-delay: 0.8s; }
.float-tag--3 { bottom: 18%; left: 2%; animation-delay: 1.6s; }
.float-tag--4 { top: 30%; right: -4%; animation-delay: 0.4s; }
.float-tag--5 { bottom: 8%; right: 4%; animation-delay: 1.2s; }

.hero__visual .deco--star { top: -3%; right: 22%; }
.hero__visual .deco--dot { bottom: 2%; left: 12%; }

/* 5. Technology Strip
   -------------------------------------------------------------------------- */

.techstrip {
	position: relative;
	background: var(--wp-orange);
	transform: rotate(-1.2deg) scale(1.02);
	margin-block: -0.5rem 1rem;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}
.techstrip__track {
	display: flex;
	width: max-content;
	animation: marquee 30s linear infinite;
}
.techstrip:hover .techstrip__track { animation-play-state: paused; }
.techstrip__group {
	display: flex;
	align-items: center;
	gap: 2.75rem;
	padding: 1.05rem 2.75rem 1.05rem 0;
}
.techstrip__item {
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
	color: var(--wp-green-dark);
	white-space: nowrap;
}
.techstrip__star { color: var(--wp-green-dark); display: inline-flex; }
.techstrip__star svg { width: 20px; height: 20px; }

/* 6. About
   -------------------------------------------------------------------------- */

.about__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: center;
}

.about__visual { position: relative; min-height: 400px; }
.about__blob {
	position: absolute;
	inset: 6% 8% 10% 0;
	background: var(--wp-orange);
	border-radius: 50%;
}

.about-mockup { position: relative; height: 100%; min-height: 380px; }

.about-mockup__window {
	position: absolute;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}
.about-mockup__window--dash {
	inset: 8% 6% 18% 4%;
	display: grid;
	grid-template-columns: 64px 1fr;
}
.dash__sidebar {
	background: var(--wp-green-dark);
	padding: 14px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.dash__logo { width: 26px; height: 26px; border-radius: 50%; background: var(--wp-orange); }
.dash__sidebar i { width: 28px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); }
.dash__main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.dash__title { width: 55%; height: 12px; border-radius: 6px; background: var(--wp-green); }
.dash__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash__block { height: 52px; border-radius: 10px; background: var(--bg-light); border: 1px solid var(--border); }
.dash__list { display: grid; gap: 8px; }
.dash__list i { height: 8px; border-radius: 4px; background: var(--border); }
.dash__list i:nth-child(1) { width: 90%; }
.dash__list i:nth-child(2) { width: 75%; }
.dash__list i:nth-child(3) { width: 82%; }

.about-mockup__window--code {
	right: 0;
	bottom: 4%;
	width: 58%;
	padding: 16px;
	display: grid;
	gap: 9px;
	background: var(--wp-green-dark);
}
.code-line { height: 8px; border-radius: 4px; }
.code-line--1 { width: 60%; background: var(--wp-orange); }
.code-line--2 { width: 85%; background: rgba(255, 255, 255, 0.25); margin-left: 8%; }
.code-line--3 { width: 70%; background: rgba(255, 255, 255, 0.25); margin-left: 8%; }
.code-line--4 { width: 45%; background: #7fd0ff; margin-left: 16%; }
.code-line--5 { width: 55%; background: rgba(255, 255, 255, 0.25); }

.about__visual .deco--star { top: 0; left: 6%; }

.about__text {
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 1.75rem;
	max-width: 520px;
}
.about .tag-row { margin-bottom: 2.25rem; }

/* 7. Services
   -------------------------------------------------------------------------- */

.services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

.service-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 2.1rem 1.9rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
	border-color: rgba(245, 166, 35, 0.55);
}

.service-card__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--bg-light);
	color: var(--wp-green);
	margin-bottom: 0.6rem;
	position: relative;
}
.service-card__icon::after {
	content: '';
	position: absolute;
	right: -2px;
	bottom: -2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--wp-orange);
	border: 3px solid #ffffff;
}
.service-card__icon svg { width: 28px; height: 28px; }

.service-card__title { font-size: 1.3rem; margin: 0; }
.service-card__text { color: var(--text-secondary); font-size: 0.98rem; flex: 1; }
.service-card__text p { margin: 0; }
.service-card .learn-more { margin-top: 0.9rem; }

/* 8. Projects
   -------------------------------------------------------------------------- */

.projects__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.25rem;
}

.project-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition);
	display: flex;
	flex-direction: column;
}
.project-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
}
.project-card--wide { grid-column: 1 / -1; }

.project-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--bg-light);
	overflow: hidden;
}
.project-card--wide .project-card__media { aspect-ratio: 21 / 9; }
.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms ease;
}
.project-card:hover .project-card__media img { transform: scale(1.045); }

.project-card__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	height: 100%;
	background:
		repeating-linear-gradient(45deg, transparent 0 14px, rgba(41, 74, 53, 0.05) 14px 28px),
		var(--bg-light);
	border: 2px dashed rgba(41, 74, 53, 0.3);
	border-radius: 0;
	color: var(--wp-green);
	text-align: center;
	padding: 1rem;
}
.project-card__placeholder-label {
	font-weight: 800;
	letter-spacing: 0.12em;
	font-size: 0.85rem;
}
.project-card__placeholder-note { font-size: 0.8rem; color: var(--text-secondary); }
.project-card__placeholder--hero {
	min-height: 340px;
	border-radius: var(--radius-card);
}

.project-card__body {
	padding: 1.75rem 1.9rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}

.project-card__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.project-card__title { font-size: 1.45rem; margin: 0; }
.project-card__title a { color: inherit; }
.project-card__title a:hover { color: var(--wp-green); }

.project-card__category {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--wp-green);
	margin: 0;
}
.project-card__excerpt {
	color: var(--text-secondary);
	font-size: 0.97rem;
	margin: 0;
	flex: 1;
}
.project-card .learn-more { margin-top: 0.6rem; }

/* 9. Expertise ("Why WordPress?")
   -------------------------------------------------------------------------- */

.expertise__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-bottom: 2.75rem;
}

.expertise-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-card);
	padding: 1.9rem 1.7rem;
	transition: background var(--transition), transform var(--transition);
}
.expertise-card:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-4px);
}

.expertise-card__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: var(--wp-orange);
	color: var(--wp-green-dark);
	margin-bottom: 1.1rem;
}
.expertise-card__icon svg { width: 26px; height: 26px; }

.expertise-card__title { font-size: 1.15rem; color: #ffffff; }
.expertise-card__text { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); margin: 0; }

.capability-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1rem;
}
.capability-list__item {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 1.2rem;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.95rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
}
.capability-list__item svg { color: var(--wp-orange); width: 16px; height: 16px; }

/* 10. Skills
   -------------------------------------------------------------------------- */

.skills__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	max-width: 920px;
	margin-inline: auto;
}

.skill-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 1rem 1.7rem;
	border-radius: var(--radius-pill);
	background: var(--bg-light);
	border: 1px solid var(--border);
	font-weight: 700;
	font-size: 1.05rem;
	transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.skill-pill:hover {
	transform: translateY(-4px);
	border-color: var(--wp-orange);
	background: #ffffff;
}
.skill-pill__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wp-orange);
}
.skill-pill:nth-child(even) .skill-pill__dot { background: var(--wp-green); }

/* 11. Work Process
   -------------------------------------------------------------------------- */

.process__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.75rem;
	counter-reset: step;
	position: relative;
}

.process-step {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 2rem 1.75rem;
	position: relative;
	transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-card-hover);
}

.process-step__num {
	display: block;
	font-size: 3.2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--wp-orange);
	margin-bottom: 0.9rem;
	-webkit-text-stroke: 0;
}
.process-step:nth-child(even) .process-step__num { color: var(--wp-green); }

.process-step__title { font-size: 1.25rem; }
.process-step__text { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }

/* 12. Why Work With Me
   -------------------------------------------------------------------------- */

.why-me__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.why-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 1.9rem 1.7rem;
	background: #ffffff;
	transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-card-hover);
}

.why-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wp-green);
	color: var(--wp-orange);
	margin-bottom: 1rem;
}
.why-card__icon svg { width: 24px; height: 24px; }

.why-card__title { font-size: 1.12rem; }
.why-card__text { font-size: 0.92rem; color: var(--text-secondary); margin: 0; }

/* 13. Testimonials
   -------------------------------------------------------------------------- */

.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.75rem;
}

.testimonial-card {
	position: relative;
	margin: 0;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 2.25rem 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.testimonial-card__quote-icon {
	position: absolute;
	top: -18px;
	left: 28px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wp-orange);
	color: var(--wp-green-dark);
}
.testimonial-card__quote-icon svg { width: 20px; height: 20px; }
.testimonial-card__quote { margin: 0; color: var(--text-secondary); }
.testimonial-card__quote p { margin: 0; }
.testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: auto;
}
.testimonial-card__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}
.testimonial-card__meta { display: grid; }
.testimonial-card__name { font-weight: 800; color: var(--text); }
.testimonial-card__role { font-size: 0.88rem; color: var(--text-secondary); }

/* 14. Contact
   -------------------------------------------------------------------------- */

.contact__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: start;
}

.contact__info { position: relative; }
.contact__text { color: var(--text-secondary); max-width: 440px; margin-bottom: 2.25rem; }
.contact__info .deco--star { bottom: -30px; left: 40%; }

.contact__details { display: grid; gap: 1.4rem; }
.contact__detail { display: flex; align-items: center; gap: 1.05rem; }
.contact__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wp-orange);
	color: var(--wp-green-dark);
	flex: none;
}
.contact__icon svg { width: 23px; height: 23px; }
.contact__detail-text { display: grid; }
.contact__detail-label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-secondary);
}
.contact__detail-text a,
.contact__detail-text span:not(.contact__detail-label) { font-weight: 600; color: var(--text); }

.contact-form {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	box-shadow: var(--shadow-card);
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}
.form-field { display: grid; gap: 0.45rem; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.95rem; }
.required { color: #d64545; }

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	font: inherit;
	font-size: 0.98rem;
	color: var(--text);
	background: var(--bg-light);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 0.85rem 1.1rem;
	transition: border-color var(--transition), background var(--transition);
	appearance: none;
}
.form-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 16px;
	padding-right: 2.75rem;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--wp-orange);
	background: #ffffff;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9a9a9a; }

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: #d64545; }

.form-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0;
	overflow: hidden;
}

.form-notice {
	padding: 1rem 1.25rem;
	border-radius: 14px;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}
.form-notice--success {
	background: #e8f6ec;
	border: 1px solid #bfe3c9;
	color: #1e6b3a;
}
.form-notice--error {
	background: #fdecec;
	border: 1px solid #f3c2c2;
	color: #a02c2c;
}

.contact-form__submit { border: 0; }

/* 15. Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--wp-green-dark);
	color: rgba(255, 255, 255, 0.75);
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 3rem;
	padding-bottom: 3rem;
}

.brand--footer { color: #ffffff; margin-bottom: 0.75rem; }
.brand--footer:hover { color: #ffffff; }

.site-footer__title {
	color: var(--wp-orange);
	font-weight: 700;
	margin-bottom: 0.75rem;
}
.site-footer__desc { font-size: 0.95rem; max-width: 380px; margin: 0; }

.site-footer__heading {
	font-size: 1.05rem;
	color: #ffffff;
	margin-bottom: 1.1rem;
}

.footer-nav { display: grid; gap: 0.55rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.75); font-weight: 500; }
.footer-nav a:hover { color: var(--wp-orange); }

.footer-contact-list { display: grid; gap: 0.8rem; margin-bottom: 1.5rem; }
.footer-contact-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; }
.footer-contact-list svg { color: var(--wp-orange); width: 18px; height: 18px; }

.social-links { display: flex; gap: 0.7rem; }
.social-links a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-links a:hover {
	background: var(--wp-orange);
	color: var(--wp-green-dark);
	transform: translateY(-3px);
}
.social-links svg { width: 19px; height: 19px; }

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.4rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__copy { margin: 0; font-size: 0.9rem; }

.back-to-top {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: var(--wp-orange);
	color: var(--wp-green-dark);
	transition: transform var(--transition), background var(--transition);
}
.back-to-top:hover { transform: translateY(-4px); background: var(--wp-orange-light); }
.back-to-top svg { width: 20px; height: 20px; }

/* 16. Inner Pages & Case Study
   -------------------------------------------------------------------------- */

.page-section { padding-block: clamp(3.5rem, 7vw, 6rem) !important; }
.page-header { margin-bottom: 2.5rem; }
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-featured { margin-bottom: 2rem; border-radius: var(--radius-card); overflow: hidden; }

.entry-content { font-size: 1.05rem; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.6em; }
.entry-content img { border-radius: 14px; }

.post-list { display: grid; gap: 1.5rem; }
.post-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 2rem;
}
.post-card__title { font-size: 1.35rem; }
.post-card__title a { color: inherit; }
.post-card__excerpt { color: var(--text-secondary); }

.archive-description { color: var(--text-secondary); }

.pagination .nav-links {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 2.5rem;
}
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.8rem;
	border-radius: 12px;
	border: 1px solid var(--border);
	font-weight: 700;
	color: var(--text);
}
.pagination .page-numbers.current {
	background: var(--wp-green);
	border-color: var(--wp-green);
	color: #ffffff;
}
.pagination .page-numbers:hover:not(.current) {
	border-color: var(--wp-orange);
	color: var(--wp-green);
}

/* Case study */
.case-study__header { padding-block: clamp(3rem, 6vw, 5rem) !important; }
.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	margin-bottom: 1.75rem;
	color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.breadcrumbs a:hover { color: var(--wp-orange); }
.breadcrumbs__sep { color: var(--wp-orange); }

.case-study__title {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	color: #ffffff;
}
.case-study__excerpt {
	max-width: 640px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.08rem;
}

.case-study__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.5rem;
	margin: 1.75rem 0 2rem;
}
.case-study__facts li { display: grid; }
.case-study__fact-label {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp-orange);
}

.case-study__hero-image { padding-block: clamp(2.5rem, 5vw, 4rem) 0 !important; }
.case-study__hero-image .container { margin-bottom: -1rem; }
.case-study__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card-hover); }

.case-study__body { padding-block: clamp(2.5rem, 5vw, 4rem) !important; }
.case-study__section { margin-bottom: 2.75rem; }
.case-study__heading {
	font-size: 1.5rem;
	padding-left: 1rem;
	border-left: 4px solid var(--wp-orange);
}
.case-study__text { color: var(--text-secondary); }
.case-study__content { font-size: 1.05rem; }
.case-study__content img { border-radius: 14px; }

.case-study__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
.case-study__gallery img { border-radius: 16px; border: 1px solid var(--border); }

.case-study__results {
	background: var(--bg-light);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 2rem;
}
.case-study__results .case-study__text p:last-child { margin: 0; }

.case-study__nav { padding-block: 2.5rem !important; }
.case-study__nav-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 1.5rem;
	align-items: center;
}
.case-study__nav-link { display: grid; gap: 0.3rem; color: var(--text); }
.case-study__nav-link--next { text-align: right; justify-items: end; }
.case-study__nav-dir {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-secondary);
}
.case-study__nav-dir svg { width: 18px; height: 18px; color: var(--wp-orange); }
.case-study__nav-title { font-weight: 800; font-size: 1.05rem; }
.case-study__nav-link:hover .case-study__nav-title { color: var(--wp-green); }
.case-study__nav-all { text-align: center; }

/* 404 */
.error-404__inner { text-align: center; }
.error-404__code {
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
	color: var(--wp-orange);
	margin: 0 0 0.5rem;
}
.error-404__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	margin-top: 2rem;
}
.search-form { display: flex; gap: 0.5rem; }
.search-form__field {
	font: inherit;
	padding: 0.8rem 1.1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	background: var(--bg-light);
}
.search-form__submit {
	font: inherit;
	font-weight: 700;
	border: 0;
	border-radius: var(--radius-pill);
	padding: 0.8rem 1.4rem;
	background: var(--wp-green);
	color: #ffffff;
}

/* 17. Animations
   -------------------------------------------------------------------------- */

@keyframes float-y {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

@keyframes marquee {
	to { transform: translateX(-50%); }
}

@keyframes pulse-dot {
	0%, 100% { box-shadow: 0 0 0 4px rgba(62, 207, 111, 0.18); }
	50% { box-shadow: 0 0 0 7px rgba(62, 207, 111, 0.1); }
}

/* Scroll-reveal (JS adds .is-visible) */
[data-animate] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 700ms ease, transform 700ms ease;
}
[data-animate="fade-in"] { transform: none; }
[data-animate].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	[data-animate] { opacity: 1; transform: none; }
	.techstrip__track { animation: none; flex-wrap: wrap; width: 100%; }
	.hero__badge-ring { animation: none; }
	.float-tag { animation: none; }
}

/* 18. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.hero__grid { grid-template-columns: 1fr 0.9fr; }
	.services__grid { grid-template-columns: 1fr 1fr; }
	.expertise__grid { grid-template-columns: 1fr 1fr; }
	.process__steps { grid-template-columns: 1fr 1fr; }
	.why-me__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	/* Mobile navigation */
	.nav-toggle { display: grid; }
	.main-nav { position: relative; }
	.main-nav__menu {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--wp-green);
		border-radius: var(--radius-card);
		padding: 1rem;
		box-shadow: 0 24px 48px rgba(32, 58, 42, 0.35);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	}
	.main-nav__menu.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
	.nav-list a {
		display: block;
		padding: 0.9rem 0.75rem;
		font-size: 1.05rem;
		border-bottom: 0;
	}
	.main-nav__cta { margin: 0.9rem 0 0.3rem; align-self: flex-start; }

	.hero__grid { grid-template-columns: 1fr; gap: 4rem; }
	.hero__visual { min-height: 420px; max-width: 560px; margin-inline: auto; width: 100%; }
	.hero__description { max-width: none; }

	.about__grid { grid-template-columns: 1fr; gap: 3.5rem; }
	.about__visual { max-width: 520px; }

	.contact__grid { grid-template-columns: 1fr; }

	.section-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 768px) {
	.projects__grid { grid-template-columns: 1fr; }
	.project-card--wide { grid-column: auto; }
	.project-card--wide .project-card__media { aspect-ratio: 3 / 2; }
	.case-study__gallery { grid-template-columns: 1fr; }
	.case-study__nav-grid { grid-template-columns: 1fr; text-align: center; }
	.case-study__nav-link,
	.case-study__nav-link--next { text-align: center; justify-items: center; }
	.case-study__nav-dir { justify-content: center; }
	.site-footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
	.services__grid { grid-template-columns: 1fr; }
	.expertise__grid { grid-template-columns: 1fr; }
	.process__steps { grid-template-columns: 1fr; }
	.why-me__grid { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }

	.hero__visual { min-height: 380px; }
	.float-tag { font-size: 0.75rem; padding: 0.45rem 0.85rem; }
	.float-tag--2 { left: -2%; }
	.float-tag--4 { right: -2%; }
	.hero__badge { width: 96px; height: 96px; top: -2%; }
	.hero__badge-icon { width: 46px; height: 46px; }
	.hero__actions .split-btn,
	.hero__actions .btn { width: 100%; justify-content: space-between; }
	.hero__actions .btn { justify-content: center; }

	.split-btn__label { padding: 0.85rem 1.2rem; }
}

@media (max-width: 400px) {
	.main-nav { padding-left: 1rem; }
	.brand__name { font-size: 1.05rem; }
	.hero__heading { font-size: 2.15rem; }
}

/* Print: keep it clean */
@media print {
	.site-header, .site-footer, .techstrip, .hero__visual, .back-to-top { display: none !important; }
}
