:root {
	--color-green: #0f3d3e;
	--color-green-soft: #1f6f6d;
	--color-beige: #f5f5f0;
	--color-white: #ffffff;
	--color-ink: #182b2a;
	--color-muted: #66706f;
	--color-border: rgba(15, 61, 62, 0.14);
	--shadow-soft: 0 22px 60px rgba(15, 61, 62, 0.12);
	--shadow-hover: 0 28px 80px rgba(15, 61, 62, 0.2);
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 16px;
	--container: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-ink);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

a:hover {
	color: var(--color-green-soft);
}

button,
input,
textarea {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-green);
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	line-height: 1.05;
	margin: 0 0 18px;
}

h1 {
	font-size: clamp(2.75rem, 7vw, 5rem);
	max-width: 760px;
}

h2 {
	font-size: clamp(2.25rem, 6vw, 4rem);
	max-width: 780px;
}

h3 {
	font-size: clamp(1.45rem, 3vw, 2rem);
}

p {
	margin: 0 0 24px;
}

.container {
	margin: 0 auto;
	max-width: calc(var(--container) + 40px);
	padding: 0 20px;
	width: 100%;
}

.section {
	padding: 82px 0;
}

.section--beige {
	background: var(--color-beige);
}

.section-heading {
	margin: 0 0 42px;
}

.section-heading--split {
	align-items: end;
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

.eyebrow {
	color: var(--color-green-soft);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.button,
.wp-block-button__link {
	align-items: center;
	background: var(--color-green);
	border: 1px solid var(--color-green);
	border-radius: var(--radius-sm);
	color: var(--color-white);
	cursor: pointer;
	display: inline-flex;
	font-weight: 600;
	gap: 10px;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.wp-block-button__link:hover {
	background: var(--color-green-soft);
	border-color: var(--color-green-soft);
	box-shadow: var(--shadow-soft);
	color: var(--color-white);
	transform: translateY(-2px);
}

.button--outline {
	background: transparent;
	color: var(--color-green);
}

.button--outline:hover {
	color: var(--color-white);
}

.text-link {
	color: var(--color-green);
	display: inline-flex;
	font-weight: 700;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.skip-link:focus {
	background: var(--color-white);
	clip: auto;
	clip-path: none;
	color: var(--color-green);
	height: auto;
	left: 16px;
	padding: 10px 14px;
	top: 16px;
	width: auto;
	z-index: 1000;
}

.site-header {
	background: rgba(255, 255, 255, 0.88);
	border-bottom: 1px solid transparent;
	left: 0;
	position: sticky;
	top: 0;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	width: 100%;
	z-index: 100;
}

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

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.96);
	border-color: var(--color-border);
	box-shadow: 0 12px 32px rgba(15, 61, 62, 0.08);
}

.site-header__inner {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: auto auto;
	min-height: 82px;
}

.site-brand {
	align-items: center;
	display: inline-flex;
	gap: 12px;
	font-weight: 700;
	position: relative;
	z-index: 102;
}

.site-brand__mark {
	align-items: center;
	background: var(--color-green);
	border-radius: 50%;
	color: var(--color-white);
	display: inline-flex;
	font-family: "Playfair Display", Georgia, serif;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.site-brand__text {
	color: var(--color-green);
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.25rem;
}

.custom-logo {
	max-height: 58px;
	width: auto;
}

.nav-toggle {
	background: transparent;
	border: 0;
	cursor: pointer;
	display: inline-grid;
	gap: 5px;
	height: 42px;
	justify-self: end;
	padding: 10px;
	position: relative;
	width: 42px;
	z-index: 102;
}

.nav-toggle span:not(.screen-reader-text) {
	background: var(--color-green);
	border-radius: 99px;
	display: block;
	height: 2px;
	width: 22px;
}

.primary-nav {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
	display: none;
	left: 0;
	padding: 92px 20px 28px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 101;
}

.primary-nav.is-open {
	display: block;
}

.primary-nav ul,
.site-footer__nav ul {
	display: grid;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav a {
	color: var(--color-green);
	font-weight: 600;
}

.site-header__cta {
	display: none;
}

.hero {
	background: linear-gradient(90deg, var(--color-beige) 0%, var(--color-beige) 62%, var(--color-white) 62%, var(--color-white) 100%);
	overflow: hidden;
	padding: 72px 0 84px;
}

.hero__grid {
	align-items: center;
	display: grid;
	gap: 44px;
	grid-template-columns: 1fr;
}

.hero__content p:not(.eyebrow) {
	color: var(--color-muted);
	font-size: clamp(1rem, 2vw, 1.16rem);
	max-width: 630px;
}

.hero__visual {
	aspect-ratio: 4 / 4.5;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.hero__visual img {
	animation: heroFloat 9s ease-in-out infinite alternate;
	height: 100%;
	object-fit: cover;
	position: relative;
	width: 100%;
	z-index: 1;
}

.hero__shape {
	background: rgba(255, 255, 255, 0.82);
	position: absolute;
	z-index: 2;
}

.hero__shape--one {
	border-radius: 0 0 0 80px;
	height: 34%;
	right: 0;
	top: 0;
	width: 38%;
}

.hero__shape--two {
	border-radius: 0 72px 0 0;
	bottom: 0;
	height: 24%;
	left: 0;
	width: 32%;
}

.hero__badge {
	background: var(--color-white);
	border-radius: var(--radius-md);
	bottom: 22px;
	box-shadow: var(--shadow-soft);
	color: var(--color-green);
	display: grid;
	left: 22px;
	padding: 18px 20px;
	position: absolute;
	z-index: 3;
}

.hero__badge strong {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 2rem;
	line-height: 1;
}

.hero__badge span {
	color: var(--color-muted);
	font-size: 0.82rem;
}

.stats__grid {
	background: var(--color-green);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	display: grid;
	gap: 1px;
	overflow: hidden;
}

.stat {
	background: rgba(255, 255, 255, 0.04);
	color: var(--color-white);
	padding: 30px 24px;
	text-align: center;
}

.stat strong {
	display: block;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2.2rem, 8vw, 3.5rem);
	line-height: 1;
	margin-bottom: 8px;
}

.stat {
	position: relative;
}

.stat::after {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
	content: "";
	height: 100%;
	left: -120%;
	position: absolute;
	top: 0;
	transform: skewX(-18deg);
	width: 70%;
}

.stats__grid.is-visible .stat::after {
	animation: statShine 1150ms ease forwards;
}

.stat span {
	color: rgba(255, 255, 255, 0.78);
	font-weight: 500;
}

.card-grid,
.listing-grid,
.testimonial-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

.service-card,
.post-card,
.testimonial,
.sidebar__panel {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: 0 12px 36px rgba(15, 61, 62, 0.07);
	overflow: hidden;
	transition: box-shadow 220ms ease, transform 220ms ease;
}

.service-card:hover,
.post-card:hover,
.testimonial:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-6px);
}

.service-card__media,
.post-card__media {
	aspect-ratio: 4 / 3;
	background: var(--color-beige);
	display: block;
	overflow: hidden;
}

.service-card__image,
.post-card__image {
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
	width: 100%;
}

.service-card:hover .service-card__image,
.post-card:hover .post-card__image {
	transform: scale(1.05);
}

.service-card__body,
.post-card__body {
	padding: 24px;
}

.service-card__body p,
.post-card__body p {
	color: var(--color-muted);
}

.project-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

.project-card h3 {
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	margin: 18px 0 0;
}

.project-card h2 {
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	margin: 18px 0 10px;
}

.project-card p {
	color: var(--color-muted);
	margin-bottom: 0;
}

.project-card__media {
	aspect-ratio: 1 / 1.1;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	display: block;
	overflow: hidden;
	position: relative;
}

.project-card__image {
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
	width: 100%;
}

.project-card__media::after {
	background: linear-gradient(180deg, rgba(15, 61, 62, 0) 38%, rgba(15, 61, 62, 0.74) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.project-card__media:hover .project-card__image,
.project-card:hover .project-card__image {
	transform: scale(1.08);
}

.project-card__button {
	background: var(--color-white);
	border-radius: var(--radius-sm);
	bottom: 18px;
	color: var(--color-green);
	font-weight: 700;
	left: 18px;
	padding: 10px 16px;
	position: absolute;
	z-index: 2;
}

.transformation__grid {
	align-items: center;
	display: grid;
	gap: 40px;
	grid-template-columns: 1fr;
}

.transformation__copy p:not(.eyebrow) {
	color: var(--color-muted);
	max-width: 460px;
}

.before-after {
	--position: 50%;
	aspect-ratio: 16 / 10;
	background: var(--color-green);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	cursor: ew-resize;
	overflow: hidden;
	position: relative;
	touch-action: none;
	user-select: none;
}

.before-after__image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.before-after__image--base {
	position: static;
}

.before-after__overlay {
	clip-path: inset(0 calc(100% - var(--position)) 0 0);
	inset: 0;
	overflow: hidden;
	position: absolute;
	transition: clip-path 80ms linear;
	z-index: 1;
}

.before-after.is-dragging .before-after__overlay {
	transition: none;
}

.before-after__handle {
	background: transparent;
	border: 0;
	cursor: ew-resize;
	inset: 0 auto 0 var(--position);
	padding: 0;
	position: absolute;
	transform: translateX(-50%);
	width: 48px;
	z-index: 3;
}

.before-after__handle::before {
	background: rgba(255, 255, 255, 0.92);
	content: "";
	height: 100%;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 3px;
}

.before-after__handle span {
	background: var(--color-white);
	border: 2px solid rgba(15, 61, 62, 0.12);
	border-radius: 50%;
	box-shadow: var(--shadow-soft);
	display: block;
	height: 48px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
}

.before-after__handle span::before,
.before-after__handle span::after {
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.before-after__handle span::before {
	border-right: 7px solid var(--color-green);
	left: 13px;
}

.before-after__handle span::after {
	border-left: 7px solid var(--color-green);
	right: 13px;
}

.testimonial {
	padding: 28px;
}

.testimonial blockquote {
	color: var(--color-green);
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.35rem, 4vw, 2rem);
	line-height: 1.25;
	margin: 0 0 22px;
}

.testimonial figcaption {
	color: var(--color-muted);
	font-weight: 700;
}

.contact-section {
	background: var(--color-green);
	color: var(--color-white);
}

.contact-panel {
	align-items: start;
	display: grid;
	gap: 34px;
	grid-template-columns: 1fr;
}

.contact-panel h2,
.contact-panel .eyebrow {
	color: var(--color-white);
}

.contact-form {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}

.contact-form label {
	display: grid;
	gap: 8px;
}

.contact-form span {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.86rem;
	font-weight: 700;
}

.contact-form input,
.contact-form textarea {
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius-sm);
	color: var(--color-white);
	min-height: 48px;
	outline: 0;
	padding: 12px 14px;
	transition: background 180ms ease, border-color 180ms ease;
	width: 100%;
}

.contact-form textarea {
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.72);
}

.contact-form .button {
	background: var(--color-white);
	color: var(--color-green);
	justify-self: start;
}

.form-notice {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-sm);
	margin: 0;
	padding: 12px 14px;
}

.form-notice--error {
	border-color: rgba(255, 255, 255, 0.46);
}

.content-layout {
	display: grid;
	gap: 42px;
	grid-template-columns: 1fr;
}

.content-narrow {
	max-width: 820px;
	width: 100%;
}

.archive-showcase {
	min-height: 70vh;
}

.archive-header--designed {
	max-width: 840px;
}

.archive-header--designed p:not(.eyebrow) {
	color: var(--color-muted);
	font-size: 1.08rem;
	max-width: 720px;
}

.project-grid--archive {
	grid-template-columns: 1fr;
}

.contact-hero {
	background: var(--color-beige);
	overflow: hidden;
	padding: 84px 0;
}

.contact-hero__grid {
	align-items: center;
	display: grid;
	gap: 42px;
	grid-template-columns: 1fr;
}

.contact-hero p:not(.eyebrow) {
	color: var(--color-muted);
	font-size: 1.08rem;
	max-width: 620px;
}

.contact-hero img {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.entry__header,
.archive-header {
	margin-bottom: 34px;
}

.entry__media {
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	margin-bottom: 34px;
	overflow: hidden;
}

.entry__content {
	color: var(--color-muted);
}

.entry__content a {
	color: var(--color-green-soft);
	font-weight: 700;
}

.entry__content img {
	border-radius: var(--radius-sm);
}

.post-navigation {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-top: 34px;
}

.sidebar__panel {
	padding: 24px;
}

.sidebar__panel p {
	color: var(--color-muted);
}

.page-numbers {
	align-items: center;
	background: var(--color-beige);
	border-radius: var(--radius-sm);
	color: var(--color-green);
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	margin: 32px 4px 0 0;
	min-height: 42px;
	min-width: 42px;
	padding: 8px 12px;
}

.page-numbers.current {
	background: var(--color-green);
	color: var(--color-white);
}

.site-footer {
	background: #092b2c;
	color: rgba(255, 255, 255, 0.78);
	padding: 62px 0 28px;
}

.site-footer__grid {
	display: grid;
	gap: 34px;
	grid-template-columns: 1fr;
}

.site-brand--footer,
.site-brand--footer .site-brand__text {
	color: var(--color-white);
}

.site-footer__brand p {
	max-width: 360px;
}

.site-footer__nav a {
	color: rgba(255, 255, 255, 0.8);
	font-weight: 600;
}

.site-footer__social {
	display: flex;
	gap: 12px;
}

.site-footer__social a {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: var(--color-white);
	display: inline-flex;
	font-weight: 700;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.site-footer__social a:hover {
	background: var(--color-white);
	color: var(--color-green);
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 42px;
	padding-top: 22px;
}

[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}
}

@keyframes heroFloat {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.045);
	}
}

@keyframes statShine {
	to {
		left: 130%;
	}
}

@media (min-width: 768px) {
	.section {
		padding: 104px 0;
	}

	.site-header__inner {
		grid-template-columns: auto 1fr auto;
	}

	.nav-toggle {
		display: none;
	}

	.primary-nav {
		background: transparent;
		border: 0;
		box-shadow: none;
		display: block;
		justify-self: center;
		padding: 0;
		position: static;
	}

	.primary-nav ul {
		align-items: center;
		display: flex;
		gap: 28px;
	}

	.site-header__cta {
		display: inline-flex;
	}

	.hero {
		padding: 82px 0 104px;
	}

	.hero__grid,
	.transformation__grid,
	.contact-panel {
		grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	}

	.hero__visual {
		aspect-ratio: 5 / 6;
	}

	.stats__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.card-grid--three,
	.listing-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-grid--archive {
		grid-template-columns: repeat(2, 1fr);
	}

	.testimonial-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-form {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-form__wide,
	.form-notice,
	.contact-form .button {
		grid-column: 1 / -1;
	}

	.site-footer__grid {
		align-items: start;
		grid-template-columns: 1.2fr 0.8fr auto;
	}
}

@media (min-width: 1024px) {
	.hero__grid {
		gap: 68px;
		grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.8fr);
	}

	.section-heading--split {
		grid-template-columns: 1fr auto;
	}

	.card-grid--three {
		grid-template-columns: repeat(3, 1fr);
	}

	.project-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.project-grid--archive {
		grid-template-columns: repeat(3, 1fr);
	}

	.contact-hero__grid {
		grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
	}

	.content-layout {
		align-items: start;
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}
