/*
Theme Name: Ptiara
Author: Ptiara Nicaragua
Description: Tema editorial y comercial para Ptiara: prendas textiles interactivas con arte, identidad nicaragüense y realidad aumentada. Compatible con WooCommerce, Gutenberg y Elementor, sin depender de ellos.
Version: 1.2.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ptiara
Tags: e-commerce, portfolio, custom-logo, custom-menu, featured-images, full-width-template, block-styles, wide-blocks
*/

:root {
	--navy: #1f2a4a;
	--beige: #e6d7ce;
	--blue: #215699;
	--turquoise: #39a09b;
	--solar: #d4a257;
	--emerald: #2f7a6b;
	--wood: #b39c86;
	--tile: #b45649;
	--ink: #172039;
	--paper: #f8f4ef;
	--white: #fffdf9;
	--muted: #6e7180;
	--heading-color: #1f2a4a;
	--hero-heading: #fffdf9;
	--hero-copy: #fffdf9;
	--header-bg: #f8f4ef;
	--header-text: #1f2a4a;
	--body-size: 16px;
	--heading-scale: 1;
	--line: rgba(31, 42, 74, 0.16);
	--shadow: 0 24px 70px rgba(31, 42, 74, 0.13);
	--radius: 1.5rem;
	--serif: Georgia, "Times New Roman", serif;
	--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--content: min(1100px, calc(100vw - 40px));
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--body-size);
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

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

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

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid var(--turquoise);
	outline-offset: 4px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	left: 1rem;
	top: 1rem;
	width: auto;
	z-index: 10000;
	background: var(--white);
	padding: 0.75rem 1rem;
	border-radius: 999px;
}

.site-shell,
.section-shell {
	width: var(--content);
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	background: color-mix(in srgb, var(--header-bg) 88%, transparent);
	color: var(--header-text);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
	border-color: var(--line);
	box-shadow: 0 12px 35px rgba(31, 42, 74, 0.08);
}

.home.ptiara-header-overlay .site-header {
	position: absolute;
	left: 0;
	right: 0;
	background: transparent;
	color: var(--hero-copy);
	border-bottom-color: rgba(255, 255, 255, 0.22);
	box-shadow: none;
}

.home.ptiara-header-overlay .site-header .brand__wordmark,
.home.ptiara-header-overlay .site-header .cart-link,
.home.ptiara-header-overlay .site-header .menu-toggle {
	color: var(--hero-copy);
}

.home.ptiara-header-overlay .site-header .brand__tagline {
	color: var(--turquoise);
}

.home.ptiara-header-overlay .site-header .cart-link,
.home.ptiara-header-overlay .site-header .menu-toggle {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.38);
}

.home.ptiara-header-overlay .site-header.is-scrolled {
	position: fixed;
	background: var(--header-bg);
	background: color-mix(in srgb, var(--header-bg) 94%, transparent);
	color: var(--header-text);
	border-bottom-color: var(--line);
	box-shadow: 0 12px 35px rgba(31, 42, 74, 0.08);
}

.home.ptiara-header-overlay .site-header.is-scrolled .brand__wordmark,
.home.ptiara-header-overlay .site-header.is-scrolled .cart-link,
.home.ptiara-header-overlay .site-header.is-scrolled .menu-toggle {
	color: var(--header-text);
}

.home.ptiara-header-overlay .site-header.is-scrolled .cart-link,
.home.ptiara-header-overlay .site-header.is-scrolled .menu-toggle {
	background: rgba(255, 253, 249, 0.74);
	border-color: var(--line);
}

.header-inner {
	min-height: 88px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 2rem;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-width: 150px;
	max-height: 58px;
	object-fit: contain;
}

.brand {
	display: inline-grid;
	line-height: 1;
}

.brand__wordmark {
	font-family: var(--serif);
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	font-weight: 700;
	letter-spacing: -0.06em;
	color: var(--header-text);
}

.brand__tagline {
	margin-top: 0.35rem;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--emerald);
}

.primary-nav {
	justify-self: center;
}

.ptiara-menu,
.primary-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	position: relative;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.primary-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -0.5rem;
	height: 2px;
	background: var(--turquoise);
	transition: right 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after {
	right: 0;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.cart-link,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 253, 249, 0.74);
	color: var(--navy);
}

.cart-link {
	gap: 0.4rem;
	padding-inline: 0.8rem;
	font-size: 0.78rem;
	font-weight: 800;
}

.cart-link svg,
.menu-toggle svg {
	width: 20px;
	height: 20px;
}

.menu-toggle {
	display: none;
	cursor: pointer;
}

.hero {
	position: relative;
	min-height: calc(100vh - 88px);
	display: grid;
	align-items: end;
	overflow: hidden;
	background: var(--navy);
	isolation: isolate;
}

.home.ptiara-header-overlay .hero {
	min-height: 100vh;
}

.hero__media,
.hero__veil {
	position: absolute;
	inset: 0;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero__veil {
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(12, 19, 38, 0.86) 0%, rgba(12, 19, 38, 0.43) 50%, rgba(12, 19, 38, 0.06) 75%),
		linear-gradient(0deg, rgba(12, 19, 38, 0.82) 0%, transparent 48%);
}

.hero__content {
	position: relative;
	z-index: 2;
	width: var(--content);
	max-width: none;
	margin-inline: auto;
	padding-block: clamp(5rem, 14vh, 9rem);
	color: var(--hero-copy);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.15rem;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.19em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 2.4rem;
	height: 1px;
	background: currentColor;
	opacity: 0.75;
}

.hero h1 {
	max-width: 760px;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(4rem, calc(11vw * var(--heading-scale)), calc(9.5rem * var(--heading-scale)));
	font-weight: 400;
	line-height: 0.82;
	letter-spacing: -0.075em;
	text-wrap: balance;
	color: var(--hero-heading);
}

.hero h1 span,
.hero h1 em {
	display: block;
}

.hero h1 em {
	padding-left: 0.65em;
	color: var(--beige);
	font-weight: 400;
	font-style: italic;
}

.hero__subtitle {
	max-width: 620px;
	margin: 1.8rem 0 0;
	font-family: var(--serif);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	line-height: 1.25;
	text-wrap: balance;
	color: var(--hero-copy);
}

.hero__actions,
.section-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2rem;
}

.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--navy);
	border-radius: 999px;
	background: var(--navy);
	color: var(--white);
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.085em;
	line-height: 1.2;
	text-transform: uppercase;
	transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	transform: translateY(-2px);
	background: var(--turquoise);
	border-color: var(--turquoise);
	color: var(--white);
}

.button--light {
	background: var(--white);
	border-color: var(--white);
	color: var(--navy);
}

.button--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--white);
}

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

.hero__note {
	position: absolute;
	right: 0;
	bottom: 2rem;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}

.hero__note::after {
	content: "";
	width: 1px;
	height: 3.5rem;
	background: currentColor;
}

.ptiara-home-flow {
	display: flex;
	flex-direction: column;
}

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

.text-right {
	text-align: right;
}

.hero__content.text-center,
.hero__content.text-right {
	display: flex;
	flex-direction: column;
}

.hero__content.text-center {
	align-items: center;
}

.hero__content.text-right {
	align-items: flex-end;
}

.hero__content.text-center h1 em,
.hero__content.text-right h1 em {
	padding-left: 0;
}

.hero__content.text-center .hero__actions {
	justify-content: center;
}

.hero__content.text-right .hero__actions {
	justify-content: flex-end;
}

.section-head.text-center,
.statement__grid.text-center,
.experience__grid.text-center {
	grid-template-columns: 1fr;
}

.section-head.text-center .section-head__copy,
.statement__grid.text-center .lead,
.experience__grid.text-center > p {
	margin-inline: auto;
}

.section-head.text-center .eyebrow,
.statement__grid.text-center .eyebrow,
.experience__grid.text-center .eyebrow,
.bujona__story.text-center .eyebrow,
.closing__copy.text-center .eyebrow {
	justify-content: center;
}

.section-head.text-right .eyebrow,
.statement__grid.text-right .eyebrow,
.experience__grid.text-right .eyebrow,
.bujona__story.text-right .eyebrow,
.closing__copy.text-right .eyebrow {
	justify-content: flex-end;
}

.closing__copy.text-center p,
.closing__copy.text-right p {
	margin-inline: auto;
}

.closing__copy.text-right p {
	margin-right: 0;
}

@keyframes hero-breathe {
	from { transform: scale(1.01); }
	to { transform: scale(1.07); }
}

.statement {
	padding-block: clamp(5rem, 11vw, 9rem);
	background: var(--beige);
}

.statement__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(3rem, 9vw, 8rem);
	align-items: start;
}

.display-title,
.section-title {
	margin: 0;
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.shop .section-title,
.experience .section-title,
.videos .section-title,
.project__panel--ink h3,
.shop h3,
.experience h3,
.videos h3,
.impact-card:nth-child(3) h3,
.impact-card:nth-child(4) h3,
.closing__card h3,
.site-footer h2,
.site-footer h3 {
	color: inherit;
}

.display-title {
	font-size: clamp(3.2rem, calc(7vw * var(--heading-scale)), calc(7rem * var(--heading-scale)));
	color: var(--heading-color);
}

.section-title {
	font-size: clamp(2.65rem, calc(5.5vw * var(--heading-scale)), calc(5.4rem * var(--heading-scale)));
	color: var(--heading-color);
}

.lead {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.35rem, 2.8vw, 2.4rem);
	line-height: 1.35;
}

.copy {
	max-width: 70ch;
}

.copy p {
	margin: 0 0 1.3rem;
}

.copy p:last-child {
	margin-bottom: 0;
}

.project,
.bujona,
.experience,
.impact,
.editorial,
.videos,
.shop,
.closing {
	padding-block: clamp(5rem, 10vw, 9rem);
}

.section-head {
	display: grid;
	grid-template-columns: 0.72fr 1.28fr;
	gap: clamp(2rem, 6vw, 7rem);
	align-items: end;
	margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-head__copy {
	max-width: 62ch;
	margin: 0;
	font-size: 1.05rem;
	color: var(--muted);
}

.project {
	background: var(--white);
}

.project__narrative {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.project__panel {
	background: var(--white);
	padding: clamp(2rem, 5vw, 4.5rem);
}

.project__panel--ink {
	background: var(--navy);
	color: var(--white);
}

.project__panel h3,
.objective-card h3,
.impact-card h3,
.meaning-card h3 {
	margin: 0 0 1rem;
	font-family: var(--serif);
	font-size: clamp(1.55rem, 2.5vw, 2.15rem);
	line-height: 1.15;
}

.project__panel p {
	margin: 0;
}

.objectives {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.objective-card {
	position: relative;
	min-height: 100%;
	padding: clamp(1.75rem, 3vw, 2.6rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	overflow: hidden;
}

.objective-card::before {
	content: attr(data-number);
	display: block;
	margin-bottom: 2.8rem;
	font-family: var(--serif);
	font-size: 3rem;
	line-height: 1;
	color: var(--turquoise);
}

.objective-card p,
.impact-card p,
.meaning-card p {
	margin: 0;
}

.shop {
	background: var(--navy);
	color: var(--white);
}

.shop .section-head__copy {
	color: rgba(255, 255, 255, 0.72);
}

.shop-grid,
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
	margin: 0 !important;
}

.product-card,
.woocommerce ul.products li.product {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	background: var(--white);
	color: var(--navy);
	border-radius: var(--radius);
	overflow: hidden;
}

.product-card__media,
.woocommerce ul.products li.product > a:first-child {
	display: block;
	overflow: hidden;
}

.product-card__media img,
.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin: 0 !important;
	transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover img,
.woocommerce ul.products li.product:hover img {
	transform: scale(1.035);
}

.product-card__body {
	padding: 1.4rem;
}

.product-card__meta,
.piece__category,
.video-card__index {
	margin: 0 0 0.5rem;
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--emerald);
}

.product-card h3 {
	margin: 0;
	font-family: var(--serif);
	font-size: 1.65rem;
	line-height: 1.1;
}

.product-card__link {
	display: inline-flex;
	margin-top: 1.1rem;
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-bottom: 1px solid currentColor;
}

.shop__note {
	margin: 1.5rem 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.88rem;
}

.bujona {
	background: var(--paper);
}

.bujona__feature {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.bujona__gallery {
	display: grid;
	grid-template-columns: 1fr 0.42fr;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	min-height: 680px;
}

.bujona__gallery figure {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.bujona__gallery figure:first-child {
	grid-row: 1 / 3;
}

.bujona__gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bujona__gallery figure:hover img {
	transform: scale(1.04);
}

.bujona__story .eyebrow,
.section-head .eyebrow,
.closing .eyebrow {
	color: var(--emerald);
}

.bujona__story h2 {
	margin: 0 0 1.5rem;
	font-family: var(--serif);
	font-size: clamp(3.1rem, 7vw, 7.2rem);
	line-height: 0.92;
	letter-spacing: -0.055em;
	color: var(--heading-color);
}

.bujona__story p {
	margin: 0 0 1.25rem;
}

.bujona__quote {
	padding-left: 1.3rem;
	border-left: 3px solid var(--turquoise);
	font-family: var(--serif);
	font-size: 1.35rem;
}

.meaning-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin-top: clamp(3rem, 7vw, 6rem);
}

.meaning-card {
	padding: 1.7rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 1.15rem;
}

.meaning-card__symbol {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 1.5rem;
	border-radius: 999px;
	background: var(--beige);
	font-size: 1.25rem;
}

.experience {
	position: relative;
	background: var(--turquoise);
	color: var(--white);
	overflow: hidden;
}

.experience::after {
	content: "RA";
	position: absolute;
	right: -0.04em;
	bottom: -0.25em;
	font-family: var(--serif);
	font-size: min(38vw, 34rem);
	line-height: 1;
	color: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.experience__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(3rem, 9vw, 9rem);
	align-items: start;
}

.experience__grid p {
	margin: 0;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.experience__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin-top: 4rem;
	background: rgba(255, 255, 255, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius);
	overflow: hidden;
}

.experience__step {
	padding: 2rem;
	background: rgba(24, 107, 104, 0.52);
}

.experience__step strong {
	display: block;
	margin-bottom: 0.5rem;
	font-family: var(--serif);
	font-size: 1.5rem;
}

.videos {
	background: var(--ink);
	color: var(--white);
}

.videos .section-head__copy {
	color: rgba(255, 255, 255, 0.7);
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
}

.video-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border-radius: 1.3rem;
	background: var(--navy);
}

.video-card__image {
	position: relative;
	overflow: hidden;
}

.video-card__image::after {
	content: "▶";
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255, 253, 249, 0.93);
	color: var(--navy);
	transform: translate(-50%, -50%);
	transition: transform 180ms ease;
}

.video-card:hover .video-card__image::after {
	transform: translate(-50%, -50%) scale(1.08);
}

.video-card img {
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	transition: transform 500ms ease, opacity 500ms ease;
}

.video-card:hover img {
	transform: scale(1.035);
	opacity: 0.78;
}

.video-card__body {
	padding: 1.1rem;
}

.video-card__body h3 {
	margin: 0;
	font-family: var(--serif);
	font-size: 1.25rem;
	line-height: 1.18;
}

.video-card__index {
	color: var(--turquoise);
}

.impact {
	background: var(--white);
}

.impact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.impact-card {
	min-height: 300px;
	padding: clamp(2rem, 4vw, 3.5rem);
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
}

.impact-card:nth-child(2) {
	background: var(--beige);
}

.impact-card:nth-child(3) {
	background: var(--emerald);
	color: var(--white);
}

.impact-card:nth-child(4) {
	background: var(--navy);
	color: var(--white);
}

.impact-card__number {
	display: block;
	margin-bottom: 3rem;
	font-family: var(--serif);
	font-size: 2.4rem;
	color: var(--turquoise);
}

.impact-card:nth-child(3) .impact-card__number,
.impact-card:nth-child(4) .impact-card__number {
	color: var(--solar);
}

.editorial {
	background: var(--paper);
}

.editorial-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1rem;
}

.piece {
	grid-column: span 4;
	margin: 0;
}

.piece:nth-child(1),
.piece:nth-child(5) {
	grid-column: span 7;
}

.piece:nth-child(2),
.piece:nth-child(6) {
	grid-column: span 5;
}

.piece:nth-child(7) {
	grid-column: 4 / span 6;
}

.piece__image {
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--beige);
}

.piece img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.piece:hover img {
	transform: scale(1.035);
}

.piece figcaption {
	padding: 1rem 0 1.5rem;
}

.piece h3 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.45rem, 2vw, 2rem);
	line-height: 1.1;
}

.closing {
	background: var(--beige);
}

.closing__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
	gap: clamp(3rem, 9vw, 9rem);
	align-items: center;
}

.closing__copy p {
	max-width: 62ch;
	margin: 1.5rem 0 0;
}

.closing__card {
	padding: clamp(2rem, 4vw, 3rem);
	border-radius: var(--radius);
	background: var(--navy);
	color: var(--white);
}

.closing__card h3 {
	margin: 0 0 0.8rem;
	font-family: var(--serif);
	font-size: 2rem;
}

.closing__card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
}

.site-footer {
	background: var(--ink);
	color: var(--white);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 3rem;
	padding-block: 4rem 2rem;
}

.footer-brand {
	font-family: var(--serif);
	font-size: clamp(2.8rem, 6vw, 6rem);
	line-height: 0.9;
	letter-spacing: -0.055em;
}

.footer-tagline {
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.65);
}

.footer-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
}

.footer-nav li {
	margin-bottom: 0.7rem;
}

.footer-nav a {
	color: rgba(255, 255, 255, 0.76);
}

.footer-meta {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.5);
}

.whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 110;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 52px;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	background: #1dbf68;
	color: #fff;
	box-shadow: 0 14px 40px rgba(22, 154, 84, 0.32);
	font-size: 0.8rem;
	font-weight: 850;
	letter-spacing: 0.04em;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 48px rgba(22, 154, 84, 0.4);
}

.whatsapp-float svg {
	width: 23px;
	height: 23px;
}

.entry-shell,
.woocommerce-page main.site-main {
	width: var(--content);
	margin-inline: auto;
	padding-block: clamp(3rem, 8vw, 7rem);
}

/* Native block-editor home page. Every heading, paragraph, image and section
 * remains a real Gutenberg block, while these classes preserve the editorial
 * design on the public site and inside the editor. */
.ptiara-block-home {
	overflow: clip;
}

.ptiara-block-home > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ptiara-editable-hero {
	min-height: 100vh !important;
	padding: 0;
	color: var(--hero-copy);
}

.ptiara-editable-hero .wp-block-cover__image-background {
	object-position: center 30%;
	animation: hero-breathe 18s ease-in-out infinite alternate;
}

.ptiara-editable-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(12, 19, 38, 0.86) 0%, rgba(12, 19, 38, 0.43) 50%, rgba(12, 19, 38, 0.12) 78%) !important;
	opacity: 1 !important;
}

.ptiara-editable-hero .wp-block-cover__inner-container {
	width: 100%;
	color: inherit;
}

.ptiara-editable-hero__copy {
	padding-block: clamp(9rem, 20vh, 13rem) clamp(5rem, 14vh, 9rem);
}

.ptiara-editable-hero h1 {
	max-width: 760px;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(4rem, calc(11vw * var(--heading-scale)), calc(9.5rem * var(--heading-scale)));
	font-weight: 400;
	line-height: 0.82;
	letter-spacing: -0.075em;
	color: var(--hero-heading);
}

.ptiara-editable-hero h1 em {
	display: inline-block;
	padding-left: 0.65em;
	color: var(--beige);
	font-weight: 400;
}

.ptiara-editable-hero .wp-block-buttons {
	margin-top: 2rem;
}

.ptiara-editable-hero .is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--white);
}

.ptiara-editable-section > .section-shell,
.ptiara-editable-section > .wp-block-columns.section-shell {
	width: var(--content);
	max-width: var(--content) !important;
	margin-inline: auto !important;
}

.ptiara-editable-intro {
	max-width: 62ch;
	margin: 1.25rem 0 clamp(2.5rem, 5vw, 4.5rem);
}

.ptiara-block-home .objective-card::before {
	display: none;
}

.ptiara-card-number {
	margin: 0 0 2.8rem !important;
	font-family: var(--serif);
	font-size: 3rem;
	line-height: 1;
	color: var(--turquoise);
}

.ptiara-block-home .project__panel > :first-child,
.ptiara-block-home .objective-card > :first-child,
.ptiara-block-home .meaning-card > :first-child,
.ptiara-block-home .impact-card > :first-child,
.ptiara-block-home .closing__card > :first-child {
	margin-top: 0;
}

.ptiara-block-home .project__panel > :last-child,
.ptiara-block-home .objective-card > :last-child,
.ptiara-block-home .meaning-card > :last-child,
.ptiara-block-home .impact-card > :last-child,
.ptiara-block-home .closing__card > :last-child {
	margin-bottom: 0;
}

.ptiara-block-home .bujona__gallery {
	display: grid;
	width: 100%;
	max-width: none;
}

.ptiara-block-home .bujona__quote {
	margin-inline: 0;
}

.ptiara-block-home .meaning-card h3 {
	margin-top: 0;
}

.ptiara-block-home .experience__step h3 {
	margin: 0 0 0.5rem;
	font-family: var(--serif);
	font-size: 1.5rem;
	color: inherit;
}

.ptiara-block-home .experience__step p {
	margin: 0;
}

.ptiara-editable-videos .video-card {
	padding-bottom: 1.2rem;
}

.ptiara-editable-videos .wp-block-image {
	margin: 0 0 1rem;
}

.ptiara-editable-videos .video-card__index,
.ptiara-editable-videos h3 {
	margin-inline: 1.1rem;
}

.ptiara-editable-videos h3 {
	margin-top: 0;
	margin-bottom: 0;
	font-family: var(--serif);
	font-size: 1.25rem;
	line-height: 1.18;
	color: inherit;
}

.ptiara-editable-gallery {
	gap: 1rem !important;
}

.ptiara-editable-gallery .wp-block-image {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--beige);
}

.ptiara-editable-gallery .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ptiara-editable-gallery .wp-block-image:hover img {
	transform: scale(1.035);
}

.ptiara-editable-gallery .wp-element-caption {
	position: absolute;
	left: 0.8rem;
	right: 0.8rem;
	bottom: 0.8rem;
	margin: 0;
	padding: 0.65rem 0.8rem;
	border-radius: 999px;
	background: rgba(255, 253, 249, 0.9);
	color: var(--navy);
	font-size: 0.78rem;
	font-weight: 800;
	text-align: center;
}

.entry-header h1,
.woocommerce-products-header__title {
	margin: 0 0 2rem;
	font-family: var(--serif);
	font-size: clamp(2.8rem, 6vw, 5.8rem);
	line-height: 1;
}

.entry-content > * {
	max-width: 760px;
	margin-inline: auto;
}

.entry-content > .alignwide {
	max-width: 1180px;
}

.entry-content > .alignfull {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.elementor-page .entry-shell,
.elementor-page .entry-content > * {
	max-width: none;
	width: 100%;
	padding: 0;
}

.woocommerce .price {
	color: var(--emerald) !important;
	font-weight: 800;
}

.woocommerce span.onsale {
	background: var(--tile);
}

.woocommerce div.product div.images img {
	border-radius: var(--radius);
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--turquoise);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--turquoise);
}

.motion-ready [data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.motion-ready [data-reveal="left"] {
	transform: translateX(-30px);
}

.motion-ready [data-reveal="right"] {
	transform: translateX(30px);
}

.motion-ready [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 1080px) {
	.header-inner {
		gap: 1rem;
	}

	.primary-nav ul,
	.ptiara-menu {
		gap: 1rem;
	}

	.primary-nav a {
		font-size: 0.69rem;
	}

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

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

@media (max-width: 820px) {
	:root {
		--content: min(100% - 32px, 720px);
	}

	.header-inner {
		grid-template-columns: 1fr auto;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.cart-link {
		display: none;
	}

	.primary-nav {
		position: fixed;
		inset: 88px 0 auto;
		padding: 1.2rem 1rem 2rem;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 50px rgba(31, 42, 74, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	}

	.home.ptiara-header-overlay .primary-nav {
		color: var(--header-text);
	}

	.nav-open .primary-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav ul,
	.ptiara-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.primary-nav a {
		display: block;
		padding: 0.8rem 0;
		font-size: 0.85rem;
	}

	.hero {
		min-height: 780px;
	}

	.hero__media img {
		object-position: 62% center;
	}

	.ptiara-editable-hero .wp-block-cover__image-background {
		object-position: 62% center;
	}

	.hero__veil {
		background: linear-gradient(0deg, rgba(12, 19, 38, 0.93) 0%, rgba(12, 19, 38, 0.45) 64%, rgba(12, 19, 38, 0.08));
	}

	.hero__content {
		max-width: 640px;
		padding-bottom: 5rem;
	}

	.hero__note {
		display: none;
	}

	.statement__grid,
	.section-head,
	.bujona__feature,
	.experience__grid,
	.closing__grid {
		grid-template-columns: 1fr;
	}

	.section-head {
		align-items: start;
	}

	.project__narrative,
	.impact-grid {
		grid-template-columns: 1fr;
	}

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

	.shop-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bujona__gallery {
		min-height: 600px;
	}

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

	.video-grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 1rem;
	}

	.video-card {
		flex: 0 0 min(70vw, 280px);
		scroll-snap-align: start;
	}

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

	.piece,
	.piece:nth-child(n) {
		grid-column: auto;
	}

	.footer-inner {
		grid-template-columns: 1fr;
	}

	.footer-meta {
		grid-column: auto;
	}
}

@media (max-width: 560px) {
	:root {
		--content: calc(100vw - 28px);
		--radius: 1.15rem;
	}

	body {
		font-size: max(16px, var(--body-size));
		line-height: 1.65;
		overflow-wrap: normal;
		word-break: normal;
	}

	.brand__tagline {
		display: none;
	}

	.hero {
		min-height: calc(100svh - 74px);
	}

	.hero h1 {
		font-size: clamp(3.5rem, 20vw, 5.3rem);
		line-height: 0.9;
	}

	.ptiara-editable-hero h1 {
		font-size: clamp(3.5rem, 20vw, 5.3rem);
		line-height: 0.9;
	}

	.ptiara-editable-hero h1 em {
		padding-left: 0.25em;
	}

	.hero__subtitle {
		font-size: 1.28rem;
	}

	.hero__actions,
	.section-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.display-title,
	.section-title,
	.bujona__story h2 {
		font-size: clamp(2.6rem, 15vw, 4.1rem);
		hyphens: none;
		word-break: normal;
		overflow-wrap: normal;
	}

	.lead {
		font-size: 1.3rem;
	}

	.project__panel,
	.objective-card,
	.impact-card {
		padding: 1.55rem;
	}

	.shop-grid,
	.woocommerce ul.products,
	.meaning-grid,
	.editorial-grid {
		grid-template-columns: 1fr;
	}

	.bujona__gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 410px 190px;
		min-height: 0;
	}

	.bujona__gallery figure:first-child {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.video-card {
		flex-basis: 76vw;
	}

	.ptiara-editable-gallery {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}

	.impact-card {
		min-height: 0;
	}

	.whatsapp-float span {
		display: none;
	}

	.whatsapp-float {
		width: 54px;
		height: 54px;
		padding: 0;
		justify-content: center;
	}

	.footer-nav ul {
		columns: 1;
	}

	.footer-meta {
		align-items: flex-start;
		flex-direction: column;
	}
}

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

	.motion-ready [data-reveal] {
		opacity: 1;
		transform: none;
	}
}
