@font-face {
	font-family: "PlayfairDisplay";
	src: url("../typography/PlayfairDisplay-Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "PlayfairDisplay";
	src: url("../typography/PlayfairDisplay-Bold.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("../typography/Poppins-Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("../typography/Poppins-Bold.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "MeowScript";
	src: url("../typography/MeowScript-Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}

:root {
	--bg: #f4ead9;
	--surface: #fffaf0;
	--ink: #2e2318;
	--muted: #7a6a55;
	--rust: #e57512;
	--olive: #4a5d3a;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	border: none;
	list-style: none;
	text-decoration: none;
	color: inherit;
}
html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg);
	color: var(--ink);
	font-family: "Poppins", sans-serif;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	opacity: 0.15;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--rust);
	outline-offset: 3px;
}

.tag-label {
	display: inline-block;
	font-size: 0.75rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--rust);
	font-weight: 700;
	margin-bottom: 0.75rem;
}
.section-title {
	font-family: "PlayfairDisplay", serif;
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 2.6rem);
	line-height: 1.15;
	margin-bottom: 1.5rem;
}
.script-word {
	font-family: "MeowScript", cursive;
	color: var(--rust);
	font-size: 1.3em;
	font-weight: 400;
}

section,
.footer-container,
.nav-inner,
.hero-grid {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
}
section {
	padding: 1.5rem;
}
@media (min-width: 768px) {
	section {
		padding: 4rem 1.5rem;
	}
}

/* NAV */
.nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--surface);
	border-bottom: 3px dashed var(--rust);
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.5rem;
}
.brand-logo-img {
	width: 100%;
	max-width: 180px;
	display: block;
	filter: invert(1);
}
.nav-links {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--surface);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	transform: translateX(100%);
	transition: transform 0.4s ease;
	z-index: 1500;
}
.nav-links.active {
	transform: translateX(0);
}
@media (min-width: 768px) {
	.nav-links {
		position: static;
		width: auto;
		height: auto;
		transform: none;
		flex-direction: row;
		gap: 2.5rem;
		background: transparent;
	}
}
.nav-link {
	font-family: "PlayfairDisplay", serif;
	font-size: 1.1rem;
	color: var(--ink);
	font-weight: 600;
}
@media (min-width: 768px) {
	.nav-link {
		font-size: 0.95rem;
	}
}
.nav-link:hover {
	color: var(--rust);
}
.nav-actions {
	display: flex;
	align-items: center;
	gap: 1.2rem;
}

.nav-actions .stamp-btn {
	display: none;
}
.stamp-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 1.3rem;
	border-radius: 999px;
	border: 2px dashed var(--rust);
	outline: 1px solid var(--rust);
	outline-offset: 3px;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--rust);
	transform: rotate(-2deg);
	text-wrap: nowrap;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		color 0.25s ease;
}
@media (min-width: 768px) {
	.stamp-btn:hover {
		transform: rotate(0deg);
		background-color: var(--rust);
		color: var(--surface);
	}
}
.stamp-btn--light {
	display: inline-flex;
	border-color: var(--surface);
	outline-color: var(--surface);
	color: var(--surface);
}
.stamp-btn--light:hover {
	background-color: var(--surface);
	color: var(--olive);
}

.menu-toggle {
	width: 28px;
	height: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	background: transparent;
	z-index: 2001;
	position: relative;
}
@media (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
}
.menu-toggle span {
	width: 100%;
	height: 3px;
	background-color: var(--ink);
	border-radius: 3px;
	transition:
		transform 0.35s ease,
		opacity 0.25s ease;
}
.menu-toggle.open span:nth-child(1) {
	transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
	opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
	transform: translateY(-8.5px) rotate(-45deg);
}

/* HERO */
.hero {
	background-color: var(--surface);
	position: relative;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
	padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) {
	.hero-grid {
		grid-template-columns: 1.05fr 1fr;
		gap: 3.5rem;
		padding: 4rem 1.5rem;
	}
}
.hero-title {
	font-family: "PlayfairDisplay", serif;
	font-weight: 700;
	font-size: clamp(2.3rem, 5.5vw, 3.6rem);
	line-height: 1.1;
	margin-bottom: 1.25rem;
}
.hero-text {
	max-width: 460px;
	line-height: 1.7;
	color: var(--muted);
	margin-bottom: 2rem;
}
.hero-cta {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
@media (min-width: 768px) {
	.hero-cta {
		flex-direction: row;
	}
}
.btn-primary,
.btn-ghost {
	padding: 0.9rem 1.8rem;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	transition:
		background-color 0.25s ease,
		color 0.25s ease;
}
.btn-primary {
	background-color: var(--olive);
	color: var(--surface);
}
.btn-primary:hover {
	background-color: var(--rust);
}
.btn-ghost {
	border: 2px solid var(--ink);
	color: var(--ink);
}
.btn-ghost:hover {
	background-color: var(--ink);
	color: var(--surface);
}
.hero-media {
	border: 8px solid var(--surface);
	outline: 2px dashed var(--rust);
	outline-offset: -14px;
}
.hero-img {
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
	display: block;
}

.torn-edge {
	height: 34px;
	background-color: var(--bg);
	clip-path: polygon(
		0% 0%,
		4% 100%,
		8% 20%,
		12% 100%,
		16% 15%,
		20% 100%,
		24% 25%,
		28% 100%,
		32% 10%,
		36% 100%,
		40% 20%,
		44% 100%,
		48% 15%,
		52% 100%,
		56% 25%,
		60% 100%,
		64% 10%,
		68% 100%,
		72% 20%,
		76% 100%,
		80% 15%,
		84% 100%,
		88% 25%,
		92% 100%,
		96% 15%,
		100% 100%,
		100% 0%
	);
}

/* SERVICES */
.section-header {
	margin-bottom: 2rem;
	text-align: center;
}
@media (min-width: 768px) {
	.section-header {
		margin-bottom: 3rem;
	}
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 2rem;
	padding-top: 1rem;
}

.service-card {
	position: relative;
	background-color: var(--surface);
	border: 2px dashed var(--rust);
	border-radius: 10px;
	padding: 2.5rem 1.5rem 1.5rem;
	text-align: center;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}
.services-grid li:nth-child(odd).service-card {
	transform: rotate(-1.2deg);
}
.services-grid li:nth-child(even).service-card {
	transform: rotate(1.2deg);
}
.service-card:hover {
	transform: rotate(0deg);
	box-shadow: 0 10px 24px rgba(46, 35, 24, 0.12);
}
.service-card::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 50%;
	width: 60px;
	height: 22px;
	background-color: var(--rust);
	opacity: 0.75;
	transform: translateX(-50%) rotate(-4deg);
}
.card-icon {
	width: 46px;
	margin-bottom: 1rem;
}
.card-title {
	font-family: "PlayfairDisplay", serif;
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}
.card-text {
	font-size: 0.9rem;
	color: var(--muted);
	margin-bottom: 1.25rem;
}
.card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--olive);
}
.card-link img {
	width: 16px;
	transition: transform 0.25s ease;
}
.card-link:hover img {
	transform: translateX(4px);
}

/* CTA BANNER */
.cta-banner-section {
	max-width: unset;
	width: 100%;
	background-color: var(--olive);
	color: var(--surface);
	text-align: center;
}
.cta-banner-content {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.cta-banner-content {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}
.cta-title {
	font-family: "PlayfairDisplay", serif;
	font-weight: 700;
	font-size: clamp(1.7rem, 4vw, 2.3rem);
	margin-bottom: 0.75rem;
}
.cta-banner-content p {
	opacity: 0.85;
}

/* ABOUT */
.about-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 768px) {
	.about-container {
		grid-template-columns: 1fr 1.1fr;
		gap: 4rem;
	}
}

.polaroid {
	background-color: var(--surface);
	padding: 14px 14px 40px;
	box-shadow: 0 12px 24px rgba(46, 35, 24, 0.15);
	transform: rotate(-2deg);
	max-width: 420px;
	margin-inline: auto;
}
.about-img {
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
	display: block;
}
.about-description {
	color: var(--muted);
	line-height: 1.7;
	margin-bottom: 1rem;
	max-width: 480px;
}
.about-signature {
	font-family: "MeowScript", cursive;
	font-size: 2rem;
	color: var(--rust);
	margin-top: 1rem;
}

/* FOOTER */
.main-footer {
	background-color: var(--ink);
	color: var(--surface);
	width: 100%;
	border-top: 4px dashed var(--rust);
}
.footer-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	padding: 3rem 1.5rem;
}
@media (min-width: 768px) {
	.footer-container {
		grid-template-columns: 1fr 1.5fr;
		gap: 4rem;
		padding: 4rem 1.5rem;
	}
}
.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.footer-brand-img {
	width: 100%;
	max-width: 220px;
}
.brand-tagline {
	opacity: 0.75;
	font-size: 0.9rem;
}
.social-links {
	display: flex;
	gap: 10px;
}
.social-links img {
	width: 18px;
	opacity: 0.7;
	transition: opacity 0.25s ease;
}
.social-links a:hover img {
	opacity: 1;
}
.footer-links-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 768px) {
	.footer-links-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.footer-column h3 {
	font-family: "PlayfairDisplay", serif;
	color: var(--rust);
	margin-bottom: 1rem;
	font-size: 1rem;
}
.footer-link {
	color: var(--surface);
	opacity: 0.65;
	font-size: 0.9rem;
	display: inline-block;
	padding-block: 0.2rem;
	transition: opacity 0.25s ease;
}
.footer-link:hover {
	opacity: 1;
}
.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem;
	border-top: 1px dashed rgba(255, 255, 255, 0.25);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
@media (min-width: 768px) {
	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}
.copyright {
	font-size: 0.8rem;
	opacity: 0.65;
}
.powered-by {
	display: flex;
	align-items: center;
}
.so-logo {
	width: 100%;
	max-width: 200px;
}
