/*
Theme Name: Mehendi Artist
Theme URI: https://mehendiartist.in
Author: Mehendi Artist
Description: A fast, catalogue-first theme for a mehendi artist. Every design carries its price and a one-tap WhatsApp enquiry. No page builder, no jQuery, self-hosted fonts.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mehendi-artist
Tags: portfolio, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ---------------------------------------------------------------- fonts -- */

@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('assets/fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- tokens -- */

:root {
	--bg:            #fcfaf7;
	--surface:       #ffffff;
	--alt:           #f5eee5;
	--alt-deep:      #efe4d7;

	--ink:           #1c1714;
	--ink-2:         #6b5f55;
	--ink-3:         #97897c;

	--line:          #e8ded1;
	--line-soft:      #f0e8dd;

	--henna:         #8e3b2a;
	--henna-deep:    #6e2c1e;
	--henna-wash:    #f8efe9;
	--gold:          #b08d57;

	--wa:            #12724a;
	--wa-deep:       #0d5a3a;

	--font-display:  'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
	--font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--r-sm:          10px;
	--r:             16px;
	--r-lg:          24px;

	--shadow:        0 1px 2px rgba(28, 23, 20, .04), 0 8px 24px -12px rgba(28, 23, 20, .12);
	--shadow-lg:     0 2px 4px rgba(28, 23, 20, .04), 0 24px 48px -24px rgba(28, 23, 20, .22);

	--wrap:          1180px;
	--gap:           clamp(1.25rem, 3vw, 2rem);
	--section-y:     clamp(4rem, 9vw, 7.5rem);
}

/* ---------------------------------------------------------------- reset -- */

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

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.012em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--henna); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--henna-deep); }

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: .75rem 1.25rem;
	z-index: 999;
	border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------- layout -- */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.section { padding-block: var(--section-y); }
.section--designs,
.section--reviews { background: linear-gradient(180deg, var(--bg) 0%, var(--alt) 22%, var(--alt) 78%, var(--bg) 100%); }
.section--pricing { background: var(--surface); border-block: 1px solid var(--line-soft); }

.eyebrow {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--henna);
	margin: 0 0 .85rem;
}

.sec-head { max-width: 42rem; margin: 0 0 clamp(2.25rem, 5vw, 3.5rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.sec-head--split .sec-title,
.sec-head--split .eyebrow { margin-bottom: 0; }

.sec-title { font-size: clamp(1.75rem, 4vw, 2.85rem); margin-bottom: .4em; }
.sec-text { color: var(--ink-2); font-size: 1.05rem; margin: 0; }

/* -------------------------------------------------------------- buttons -- */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .85rem 1.5rem;
	background: var(--btn-bg);
	color: var(--btn-fg);
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .ma-icon { flex: none; }

.btn--primary { --btn-bg: var(--henna); }
.btn--primary:hover { --btn-bg: var(--henna-deep); }

.btn--wa { --btn-bg: var(--wa); }
.btn--wa:hover { --btn-bg: var(--wa-deep); }

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	border-color: var(--line);
}
.btn--ghost:hover { --btn-bg: var(--surface); border-color: var(--ink-3); }

.btn--sm { padding: .6rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------- header -- */

.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(252, 250, 247, .88);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px -18px rgba(28,23,20,.5); }

.site-head__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 76px;
}

.brand__text { text-decoration: none; color: var(--ink); display: grid; gap: 2px; }
.brand__name {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.1;
}
.brand__tag {
	font-size: .7rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.custom-logo { max-height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }

.nav-list {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list a {
	color: var(--ink);
	text-decoration: none;
	font-size: .9375rem;
	font-weight: 500;
	padding-block: .4rem;
	position: relative;
}
.nav-list a::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1.5px;
	background: var(--henna);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
.nav-list a:hover::after,
.nav-list .current-menu-item > a::after { transform: scaleX(1); }
.nav-list .current-menu-item > a { color: var(--henna); }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: .5rem;
	cursor: pointer;
	color: var(--ink);
}
.nav-toggle .ma-icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .ma-icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .ma-icon--close { display: block; }

@media (max-width: 900px) {
	.nav-toggle { display: block; order: 3; }
	.site-nav {
		position: fixed;
		inset: 76px 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		padding: 1rem clamp(1.15rem, 4vw, 2.5rem) 1.75rem;
		box-shadow: var(--shadow-lg);
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
		transition: opacity .18s ease, transform .18s ease;
		max-height: calc(100dvh - 76px);
		overflow-y: auto;
	}
	.site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
	.nav-list a::after { display: none; }
	.nav-cta { margin-top: 1.25rem; }
}

/* ----------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }

.hero__inner {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__title {
	font-size: clamp(2.35rem, 5.6vw, 4.15rem);
	line-height: 1.04;
	margin-bottom: .45em;
}
.hero__text {
	font-size: clamp(1.02rem, 1.6vw, 1.15rem);
	color: var(--ink-2);
	max-width: 34rem;
	margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__media { position: relative; }
.hero__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
}
/* A soft henna-toned plate behind the photo, echoing a mandala's offset. */
.hero__media::before {
	content: '';
	position: absolute;
	inset: 1.75rem -1.75rem -1.75rem 1.75rem;
	background: var(--alt-deep);
	border-radius: var(--r-lg);
	z-index: -1;
}

.hero__placeholder,
.about__placeholder,
.design__placeholder,
.card__placeholder {
	display: grid;
	place-items: center;
	text-align: center;
	padding: 2rem;
	background: var(--alt);
	border: 1px dashed var(--line);
	border-radius: var(--r-lg);
	color: var(--ink-3);
	font-size: .875rem;
	aspect-ratio: 4 / 5;
}

@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__media { order: -1; }
	.hero__media::before { inset: 1rem -1rem -1rem 1rem; }
	.hero__media img, .hero__placeholder { aspect-ratio: 3 / 2; }
}

/* ---------------------------------------------------------------- stats -- */

.stats { padding-bottom: clamp(1rem, 3vw, 2rem); }
.stats__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	padding: clamp(1.25rem, 3vw, 2rem) clamp(1.15rem, 4vw, 2.5rem);
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	box-shadow: var(--shadow);
}
.stat { text-align: center; display: grid; gap: .25rem; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat__value {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3.2vw, 2.1rem);
	font-weight: 600;
	color: var(--henna);
	line-height: 1;
}
.stat__label { font-size: .8125rem; color: var(--ink-2); letter-spacing: .02em; }

/* ---------------------------------------------------------------- grids -- */

.grid { display: grid; gap: var(--gap); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid--packs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.grid--reviews { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.section__more { margin: clamp(2rem, 4vw, 3rem) 0 0; text-align: center; }

/* ----------------------------------------------------------- design card -- */

.card {
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.card[hidden] { display: none; }

.card__media {
	position: relative;
	display: block;
	background: var(--alt);
	overflow: hidden;
}
.card__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
.card:hover .card__media img { transform: scale(1.035); }
.card__placeholder {
	aspect-ratio: 4 / 5;
	border: 0;
	border-radius: 0;
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.card__tag {
	position: absolute;
	top: .7rem;
	left: .7rem;
	background: rgba(252, 250, 247, .93);
	backdrop-filter: blur(6px);
	color: var(--ink);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: .3rem .6rem;
	border-radius: 999px;
}

.card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.card__title { font-size: 1.0625rem; margin: 0; line-height: 1.25; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--henna); }
.card__code { font-size: .6875rem; color: var(--ink-3); letter-spacing: .07em; flex: none; }
.card__price {
	font-family: var(--font-display);
	font-size: 1.2rem;
	color: var(--henna);
	margin: 0;
	line-height: 1.2;
}
.card .btn { margin-top: auto; }

/* -------------------------------------------------------------- filters -- */

.filters {
	position: sticky;
	top: 76px;
	z-index: 20;
	background: rgba(252, 250, 247, .92);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line-soft);
}
.filters__inner {
	display: flex;
	gap: .5rem;
	padding-block: .9rem;
	overflow-x: auto;
	scrollbar-width: none;
}
.filters__inner::-webkit-scrollbar { display: none; }

.chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem 1rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .875rem;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: var(--ink-3); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__count { font-size: .75rem; opacity: .6; }

.filters__empty { text-align: center; color: var(--ink-2); padding-block: 3rem; }

/* ------------------------------------------------------------- packages -- */

.pack {
	position: relative;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: clamp(1.5rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.pack--lead {
	background: var(--henna-wash);
	border-color: var(--henna);
	box-shadow: var(--shadow);
}
.pack__flag {
	position: absolute;
	top: -.7rem;
	left: clamp(1.5rem, 3vw, 2rem);
	background: var(--henna);
	color: #fff;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: .3rem .7rem;
	border-radius: 999px;
}
.pack__name { font-size: 1.35rem; margin: 0; }
.pack__price {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 3.5vw, 2.4rem);
	color: var(--henna);
	line-height: 1;
	margin: 0 0 .5rem;
	display: flex;
	align-items: baseline;
	gap: .4rem;
}
.pack__from {
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 500;
	color: var(--ink-3);
	letter-spacing: .04em;
	text-transform: uppercase;
}
.pack__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.pack__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); }
.pack__list .ma-icon { flex: none; margin-top: .28em; color: var(--henna); }
.pack .btn { margin-top: auto; }

/* -------------------------------------------------------------- reviews -- */

.review {
	position: relative;
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.review__mark { color: var(--alt-deep); line-height: 0; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.review__quote {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	flex: 1;
}
.review__quote p:last-child { margin-bottom: 0; }
.review__by { display: grid; gap: 2px; padding-top: .75rem; border-top: 1px solid var(--line-soft); }
.review__name { font-weight: 600; font-size: .9375rem; }
.review__meta { font-size: .8125rem; color: var(--ink-3); }

/* ------------------------------------------------------------ instagram -- */

.section--ig { padding-bottom: calc(var(--section-y) * .8); }

.ig-strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(190px, 1fr);
	gap: .75rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 1.75rem clamp(1.15rem, 4vw, 2.5rem);
	scrollbar-width: none;
}
.ig-strip::-webkit-scrollbar { display: none; }

@media (min-width: 700px) {
	/* Off the rail and into a grid as soon as there is room for one. */
	.ig-strip {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, 1fr);
		grid-auto-columns: auto;
		overflow: visible;
		max-width: var(--wrap);
		margin-inline: auto;
	}
}

@media (min-width: 1040px) {
	/* Six across in one clean band — the editorial version of a feed. */
	.ig-strip { grid-template-columns: repeat(6, 1fr); gap: .6rem; }
}

.ig-tile {
	position: relative;
	display: block;
	scroll-snap-align: start;
	border-radius: var(--r-sm);
	overflow: hidden;
	background: var(--alt);
	aspect-ratio: 1;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-tile:hover img { transform: scale(1.05); }
.ig-tile__veil {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(28, 23, 20, .42);
	color: #fff;
	opacity: 0;
	transition: opacity .2s ease;
}
.ig-tile:hover .ig-tile__veil, .ig-tile:focus-visible .ig-tile__veil { opacity: 1; }

/* -------------------------------------------------------------- enquiry -- */

.section--enquiry { background: var(--ink); color: #fff; }
.section--enquiry .eyebrow { color: var(--gold); }
.section--enquiry .sec-title { color: #fff; }
.section--enquiry .sec-text { color: rgba(255, 255, 255, .72); }

.enquiry {
	display: grid;
	grid-template-columns: 1fr minmax(320px, 26rem);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.enquiry__meta { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.enquiry__meta li { color: rgba(255, 255, 255, .68); font-size: .9375rem; }
.enquiry__meta a {
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .25);
	padding-bottom: 1px;
}
.enquiry__meta a:hover { color: #fff; border-bottom-color: #fff; }

.enquiry__form {
	background: var(--surface);
	color: var(--ink);
	border-radius: var(--r-lg);
	padding: clamp(1.5rem, 3.5vw, 2.25rem);
	display: grid;
	gap: 1.1rem;
	box-shadow: var(--shadow-lg);
}

.field { display: grid; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; display: flex; align-items: baseline; gap: .5rem; }
.field .opt {
	font-weight: 400;
	font-size: .75rem;
	color: var(--ink-3);
	text-transform: lowercase;
	letter-spacing: .02em;
}
.field input,
.field select {
	width: 100%;
	padding: .8rem .9rem;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	font-size: .9375rem;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus,
.field select:focus {
	outline: none;
	border-color: var(--henna);
	box-shadow: 0 0 0 3px var(--henna-wash);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: right 1.05rem center, right .8rem center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.25rem; }

.enquiry__note { font-size: .8125rem; color: var(--ink-3); margin: 0; text-align: center; }

@media (max-width: 860px) {
	.enquiry { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- page heads -- */

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head__inner { max-width: 46rem; }
.page-title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .3em; }
.page-intro { color: var(--ink-2); font-size: 1.0625rem; margin: 0; }

/* ---------------------------------------------------------- single design -- */

.design {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
	padding-block: clamp(2rem, 5vw, 3.5rem);
}
.design__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

.design__panel { position: sticky; top: 100px; }

.crumbs { display: flex; gap: .5rem; font-size: .8125rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--henna); }

.design__title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .2em; }
.design__code { font-size: .8125rem; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 1rem; }
.design__price {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.5vw, 2.3rem);
	color: var(--henna);
	line-height: 1;
	margin-bottom: .75rem;
}
.design__duration { display: flex; align-items: center; gap: .45rem; font-size: .9375rem; color: var(--ink-2); }
.design__duration .ma-icon { color: var(--ink-3); }
.design__desc { color: var(--ink-2); margin-block: 1.25rem; }
.design__note { font-size: .8125rem; color: var(--ink-3); text-align: center; margin: .75rem 0 0; }

.section--related { padding-block: var(--section-y) calc(var(--section-y) * .6); }

@media (max-width: 860px) {
	.design { grid-template-columns: 1fr; }
	.design__panel { position: static; }
}

/* ---------------------------------------------------------------- about -- */

.about {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.about__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
}
.about__text { color: var(--ink-2); font-size: 1.05rem; }

.points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.point { display: flex; gap: .85rem; align-items: flex-start; }
.point strong { display: block; font-size: .9375rem; margin-bottom: .15rem; }
.point__text { font-size: .9375rem; color: var(--ink-2); }
.point__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--henna-wash);
	color: var(--henna);
	margin-top: .1rem;
}

@media (max-width: 860px) {
	.about { grid-template-columns: 1fr; }
	.about__media img { aspect-ratio: 3 / 2; }
}

/* ------------------------------------------------------------ blog/prose -- */

.post-card { display: flex; flex-direction: column; gap: .9rem; }
.post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.post-card__date { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.post-card__title { font-size: 1.25rem; margin: .35rem 0 .4rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--henna); }
.post-card__excerpt { color: var(--ink-2); font-size: .9375rem; margin-bottom: .5rem; }

.link-more {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
}
.link-more:hover .ma-icon { transform: translateX(3px); }
.link-more .ma-icon { transition: transform .2s ease; }

.entry__media { padding-block: 0 clamp(1.5rem, 4vw, 2.5rem); }
.entry__media img { width: 100%; border-radius: var(--r-lg); }

.prose { max-width: 44rem; margin-inline: auto; padding-bottom: var(--section-y); font-size: 1.0625rem; color: var(--ink-2); }
.prose h2 { font-size: 1.75rem; margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 1.35rem; margin-top: 1.75em; color: var(--ink); }
.prose img { border-radius: var(--r); margin-block: 1.5rem; }
.prose blockquote {
	margin: 1.75rem 0;
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 2px solid var(--henna);
	font-family: var(--font-display);
	font-size: 1.2rem;
	color: var(--ink);
}
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose code { background: var(--alt); padding: .15em .4em; border-radius: 4px; font-size: .9em; }

/* --------------------------------------------------- pagination & empty -- */

.pagination { margin-top: clamp(2.5rem, 5vw, 4rem); }
.nav-links { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: .75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	font-size: .9375rem;
	font-weight: 500;
}
.page-numbers:hover { border-color: var(--ink-3); color: var(--ink); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }

.empty { text-align: center; max-width: 34rem; margin-inline: auto; padding-block: clamp(2rem, 6vw, 4rem); }
.empty h1, .empty h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.empty p { color: var(--ink-2); }
.empty__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* --------------------------------------------------------------- footer -- */

.site-foot {
	background: var(--alt);
	border-top: 1px solid var(--line);
	padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
	margin-top: 0;
}
.foot-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
}
.foot-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin: 0 0 .5rem; }
.foot-note { color: var(--ink-2); margin-bottom: .5rem; }
.foot-areas { font-size: .875rem; color: var(--ink-3); margin: 0; }

.foot-head {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin: 0 0 1rem;
}
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.foot-links a:hover { color: var(--henna); }

.foot-meta { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.foot-meta a { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.foot-meta a:hover { color: var(--henna); }

.foot-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 1.75rem;
	border-top: 1px solid var(--line);
	font-size: .8125rem;
	color: var(--ink-3);
}
.foot-bar p { margin: 0; }
.foot-bar__menu { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.foot-bar__menu a { color: var(--ink-3); text-decoration: none; }
.foot-bar__menu a:hover { color: var(--henna); }

@media (max-width: 780px) {
	.foot-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --------------------------------------------------- floating whatsapp -- */

.wa-float {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 60;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--wa);
	color: #fff;
	box-shadow: 0 8px 24px -8px rgba(18, 114, 74, .7);
	transition: transform .18s ease, background-color .18s ease;
}
.wa-float:hover { background: var(--wa-deep); color: #fff; transform: scale(1.06); }

@media (min-width: 901px) {
	/* On desktop the header CTA is always in reach, so the bubble stays out of the way. */
	.wa-float { display: none; }
}

/* ------------------------------------------------------------ utilities -- */

[hidden] { display: none !important; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
