/* ==========================================================================
   Supercord — motion & hover layer
   Loaded after main.css. Everything here is decorative: if JS is off or the
   visitor prefers reduced motion, content still shows normally.
   ========================================================================== */

/* ---------- Scroll reveal ----------
   JS adds data-reveal to blocks and .is-in when they enter the viewport. */
.js-motion [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 34px, 0);
	transition:
		opacity 0.9s var(--ease) var(--d, 0ms),
		transform 0.9s var(--ease) var(--d, 0ms);
	will-change: opacity, transform;
}
.js-motion [data-reveal="left"] { transform: translate3d(-44px, 0, 0); }
.js-motion [data-reveal="right"] { transform: translate3d(44px, 0, 0); }
.js-motion [data-reveal="zoom"] { transform: scale(0.94); }
.js-motion [data-reveal].is-in {
	opacity: 1;
	transform: none;
}
/* Wipe: the frame stays put, the photo inside is revealed left to right */
.js-motion [data-reveal="wipe"] { opacity: 1; transform: none; }
.js-motion [data-reveal="wipe"] > img {
	clip-path: inset(0 100% 0 0);
	transform: scale(1.12);
	transition: clip-path 1.2s var(--ease) var(--d, 0ms), transform 1.6s var(--ease) var(--d, 0ms);
}
.js-motion [data-reveal="wipe"] > .cert-strip { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease) 0.7s, transform 0.8s var(--ease) 0.7s; }
.js-motion [data-reveal="wipe"].is-in > img { clip-path: inset(0 0 0 0); transform: none; }
.js-motion [data-reveal="wipe"].is-in > .cert-strip { opacity: 1; transform: none; }

/* ---------- Scroll progress + back to top ---------- */
.scroll-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 3px;
	z-index: 200;
	background: linear-gradient(90deg, var(--gold), var(--gold-soft));
	transform-origin: 0 50%;
	transform: scaleX(var(--p, 0));
	pointer-events: none;
}
.admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .scroll-progress { top: 46px; } }

.to-top {
	position: fixed;
	right: 22px;
	bottom: calc(86px + env(safe-area-inset-bottom, 0px));
	z-index: 89;
	width: 46px; height: 46px;
	border-radius: 50%;
	border: 0;
	background: var(--green);
	color: var(--gold-soft);
	box-shadow: 0 8px 22px rgba(11, 39, 37, 0.3);
	display: grid; place-items: center;
	opacity: 0;
	transform: translateY(16px) scale(0.9);
	pointer-events: none;
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.2s;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--green); }
.to-top svg { transition: transform 0.25s var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }

/* WhatsApp: soft pulse ring */
.wa-float::before {
	content: "";
	position: absolute; inset: 0;
	border-radius: 50%;
	border: 2px solid #25d366;
	animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring {
	0% { transform: scale(1); opacity: 0.7; }
	100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Buttons: lift + light sweep ---------- */
.btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.btn::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: skewX(-20deg);
	z-index: -1;
	transition: left 0.6s var(--ease);
}
.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(11, 39, 37, 0.22);
}
.btn:hover::before { left: 120%; }
.btn:active { transform: translateY(0); box-shadow: none; }

.round-btn { transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease); }
.round-btn:hover { transform: scale(1.08); }

/* ---------- Header nav: underline grows from the centre ---------- */
@media (min-width: 901px) {
	.nav-menu > li > a {
		position: relative;
		border-bottom: 0;
	}
	.nav-menu > li > a::after {
		content: "";
		position: absolute;
		left: 0; right: 0; bottom: 0;
		height: 2px;
		background: var(--gold);
		transform: scaleX(0);
		transition: transform 0.35s var(--ease);
	}
	.nav-menu > li > a:hover::after,
	.nav-menu > .current-menu-item > a::after,
	.nav-menu > .current_page_item > a::after,
	.nav-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
}
@media (max-width: 900px) {
	.site-nav.is-open .nav-menu > li {
		animation: slide-in 0.45s var(--ease) both;
		animation-delay: calc(var(--i, 0) * 50ms + 80ms);
	}
	.nav-menu a { transition: color 0.2s, padding-left 0.25s var(--ease); }
	.nav-menu a:hover { padding-left: 8px; }
}
@keyframes slide-in {
	from { opacity: 0; transform: translateX(-18px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Hero entrance ---------- */
.hero__since { animation: rise 0.9s 0.55s var(--ease) both; }
.stats__item { animation: rise 0.9s var(--ease) both; }
.hero .stats__item:nth-child(1) { animation-delay: 0.7s; }
.hero .stats__item:nth-child(2) { animation-delay: 0.8s; }
.hero .stats__item:nth-child(3) { animation-delay: 0.9s; }
.hero .stats__item:nth-child(4) { animation-delay: 1s; }
.stats--band .stats__item { animation: none; }
.hero__scroll { animation: rise 0.9s 1.3s var(--ease) both; }

/* ---------- Inner page hero ---------- */
.page-hero__title { animation: rise 0.9s 0.1s var(--ease) both; }
.page-hero__sub,
.page-hero__meta { animation: rise 0.9s 0.25s var(--ease) both; }
.page-hero__mono {
	animation: mono-in 1.4s var(--ease) both;
	translate: 0 var(--py, 0px);
}
@keyframes mono-in {
	from { opacity: 0; transform: translate(12%, -40%) rotate(6deg); }
	to { opacity: 0.9; transform: translateY(-40%); }
}
@media (max-width: 700px) {
	@keyframes mono-in {
		from { opacity: 0; transform: translate(12%, -40%) rotate(6deg); }
		to { opacity: 0.45; transform: translateY(-40%); }
	}
}

/* ---------- Process icons (home) ---------- */
.process__item { position: relative; cursor: default; }
.process__icon {
	position: relative;
	transition: transform 0.45s var(--ease), color 0.3s;
}
.process__item::before {
	content: "";
	position: absolute;
	top: -14px; left: 50%;
	width: 86px; height: 86px;
	margin-left: -43px;
	border-radius: 50%;
	border: 1px solid var(--green-line);
	transform: scale(0.6);
	opacity: 0;
	transition: transform 0.5s var(--ease), opacity 0.4s, background-color 0.4s;
}
.process__item span { transition: color 0.3s, letter-spacing 0.4s var(--ease); }
.process__item:hover::before { transform: scale(1); opacity: 1; background: rgba(227, 200, 144, 0.06); }
.process__item:hover .process__icon { transform: translateY(-6px) scale(1.08); color: var(--white); }
.process__item:hover span { color: var(--white); letter-spacing: 0.08em; }

.segments li { transition: color 0.3s; cursor: default; }
.segments .sc-icon { transition: transform 0.4s var(--ease); }
.segments li:hover { color: var(--gold-soft); }
.segments li:hover .sc-icon { transform: translateY(-4px) rotate(-6deg); }

/* ---------- Image frames: slow zoom on hover ---------- */
.about-home__img,
.about-page__img,
.infra-card__media { overflow: hidden; margin: 0; }
.about-home__img img,
.about-page__img img,
.infra-card__media img { transition: transform 1.2s var(--ease); }
.about-home__img:hover img,
.about-page__img:hover img { transform: scale(1.05); }

.link-arrow::after { transition: transform 0.3s var(--ease); }

/* ---------- Infrastructure cards (home) ---------- */
.infra-card {
	position: relative;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.infra-card::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 3px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.5s var(--ease);
}
.infra-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 26px 50px -18px rgba(11, 39, 37, 0.38);
}
.infra-card:hover::after { transform: scaleX(1); }
.infra-card:hover .infra-card__media img { transform: scale(1.08); }
.infra-card h3 { transition: color 0.3s; }
.infra-card:hover h3 { color: #9b7a37; }
.infra-card--dark:hover h3 { color: var(--gold-soft); }
.infra-card__icon { transition: transform 0.6s var(--ease); }
.infra-card--dark:hover .infra-card__icon { transform: rotate(-12deg) scale(1.12) translateY(-6px); }

/* ---------- Product offering tiles ---------- */
.offer-tile::before {
	content: "";
	position: absolute;
	inset: 14px;
	z-index: 1;
	border: 1px solid rgba(227, 200, 144, 0.9);
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
	pointer-events: none;
}
.offer-tile span {
	display: flex; flex-direction: column; align-items: center;
	transition: transform 0.5s var(--ease);
}
.offer-tile span::after {
	content: "Explore →";
	font-family: var(--sans);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin-top: 10px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.offer-tile:hover::before,
.offer-tile:focus-visible::before { opacity: 1; transform: scale(1); }
.offer-tile:hover span,
.offer-tile:focus-visible span { transform: translateY(-8px); }
.offer-tile:hover span::after,
.offer-tile:focus-visible span::after { opacity: 1; transform: none; }
.offer-tile img { transition: transform 1s var(--ease), filter 0.6s; }
.offer-tile:hover img { transform: scale(1.1); filter: saturate(1.15); }
@media (hover: none) {
	.offer-tile span::after { opacity: 1; transform: none; }
}

/* ---------- Certification logos ---------- */
/* certification logos stay still on hover */

/* ---------- Testimonial ---------- */
.quote blockquote::before { transition: transform 0.6s var(--ease); }
.quote blockquote:hover::before { transform: translateY(-6px) rotate(-8deg); }

/* ---------- Blog / link cards ---------- */
.post-card,
.link-card {
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.post-card:hover,
.link-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 48px -20px rgba(11, 39, 37, 0.35);
}
.link-card { overflow: hidden; }
.link-card img { transition: transform 1s var(--ease); }
.link-card:hover img { transform: scale(1.07); }
.post-card__title a {
	background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
	transition: background-size 0.4s var(--ease), color 0.2s;
}
.post-card:hover .post-card__title a { background-size: 100% 1px; }

/* ---------- Footer ---------- */
.footer-menu a {
	display: inline-flex; align-items: center; gap: 0;
	transition: color 0.2s, gap 0.3s var(--ease);
}
.footer-menu a::before {
	content: "";
	width: 0; height: 1px;
	background: var(--gold-soft);
	transition: width 0.3s var(--ease);
}
.footer-menu a:hover { gap: 8px; }
.footer-menu a:hover::before { width: 14px; }

/* ---------- Infrastructure units ---------- */
.unit {
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
	overflow: hidden;
}
.unit::before {
	content: "";
	position: absolute; inset: 16px;
	border: 1px solid var(--gold-soft);
	opacity: 0;
	clip-path: inset(0 100% 100% 0);
	transition: clip-path 0.9s var(--ease), opacity 0.3s;
	pointer-events: none;
}
.unit::after {
	content: "";
	position: absolute;
	width: 140%; height: 140%;
	left: -20%; top: -20%;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(227, 200, 144, 0.14), transparent 45%);
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}
.unit > * { position: relative; z-index: 1; }
.unit:hover,
.unit:focus { box-shadow: 0 30px 60px -24px rgba(11, 39, 37, 0.55); }
.unit:hover::before,
.unit:focus::before { opacity: 1; clip-path: inset(0 0 0 0); }
.unit:hover::after { opacity: 1; }
.unit__icon { transition: color 0.3s, transform 0.5s var(--ease); }
/* units stay in place on hover: no lift, no icon zoom */

.capacity > div { transition: padding-left 0.35s var(--ease), background-color 0.35s; }
.capacity > div:hover { padding-left: 12px; background: rgba(227, 200, 144, 0.14); }

.gallery__slide { overflow: hidden; }
.gallery__slide img { transition: transform 1.2s var(--ease); }
.gallery__slide:hover img { transform: scale(1.05); }
.gallery__slide figcaption { z-index: 1; transition: padding 0.3s var(--ease); }
.gallery__slide:hover figcaption { padding-right: 28px; }

/* ---------- Product swatches ---------- */
.swatch { transition: transform 0.45s var(--ease); }
.swatch__img {
	position: relative;
	overflow: visible;
	transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform 0.45s var(--ease);
}
.swatch__img img {
	transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}
.swatch__img::after {
	content: "View details";
	position: absolute;
	left: 50%; bottom: 14px;
	transform: translate(-50%, 10px);
	padding: 7px 14px;
	background: var(--green);
	color: var(--gold-soft);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
	pointer-events: none;
}
.swatch:hover { transform: translateY(-6px); }
.swatch:hover .swatch__img img,
.swatch:focus-visible .swatch__img img {
	transform: none;
	filter: drop-shadow(0 18px 22px rgba(11, 39, 37, 0.35));
}
.swatch:hover .swatch__img::after,
.swatch:focus-visible .swatch__img::after { opacity: 1; transform: translate(-50%, 0); }
.swatch__name { transition: color 0.2s; }
.swatch:hover .swatch__name { color: #9b7a37; }

/* Tab switch: swatches rise in sequence */
.swatches.is-anim .swatch {
	animation: rise 0.6s var(--ease) both;
	animation-delay: calc(var(--i, 0) * 45ms);
}
.tabs__btn { position: relative; }
.tabs__btn:hover { transform: translateY(-1px); }
.tabs__count {
	display: inline-block;
	transition: transform 0.3s var(--ease), color 0.3s;
}
.tabs__btn[aria-selected="true"] .tabs__count { color: #9b7a37; }
.tabs__btn:hover .tabs__count { transform: scale(1.2); }

.products__cta { position: relative; overflow: hidden; }
.products__cta::before {
	content: "S";
	position: absolute; right: -20px; top: 50%;
	transform: translateY(-50%);
	font-family: var(--serif); font-weight: 900; font-size: 16rem; line-height: 1;
	color: var(--olive); opacity: 0.5;
	transition: transform 1s var(--ease);
	pointer-events: none;
}
.products__cta:hover::before { transform: translateY(-50%) rotate(-8deg) scale(1.05); }
.products__cta > *:not(.deco) { position: relative; z-index: 1; }
.section { position: relative; }

/* ---------- Standards / norms ---------- */
.standard {
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
	border-top: 3px solid transparent;
}
.standard:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 44px -22px rgba(11, 39, 37, 0.4);
	border-top-color: var(--gold);
}
.standard img { transition: transform 0.5s var(--ease); }
.standard:hover img { transform: scale(1.12) rotate(-4deg); }

/* ---------- Contact ---------- */
.contact__form { transition: box-shadow 0.4s var(--ease); }
.contact__form:focus-within { box-shadow: 0 30px 60px -30px rgba(11, 39, 37, 0.4); }
.field > span { transition: color 0.2s; }
.field:focus-within > span { color: #9b7a37; }
.contact__list > div { transition: padding-left 0.3s var(--ease); }
.contact__list > div:hover { padding-left: 8px; }

/* Lightbox image swap */
.lightbox__media img.is-swapping { animation: swap 0.4s var(--ease); }
@keyframes swap {
	from { opacity: 0.2; transform: scale(0.97); }
	to { opacity: 1; transform: none; }
}

/* ---------- No hover effects on touch; no motion if requested ---------- */
@media (hover: none) {
	.infra-card:hover,
	.post-card:hover,
	.link-card:hover,
	.standard:hover,
	.norm:hover,
	.swatch:hover,
	.unit:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
	.js-motion [data-reveal],
	.js-motion [data-reveal] > img,
	.js-motion [data-reveal] > .cert-strip { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.wa-float::before,
	.hero__scroll::before { animation: none; }
}

/* ==========================================================================
   v2.2 — textile motion kit
   ========================================================================== */

/* ---------- Shared keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(10px, -16px) rotate(6deg); }
	66% { transform: translate(-8px, 8px) rotate(-5deg); }
}
@keyframes needle-dip {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-5px, 5px); }
}
@keyframes thread-draw {
	0% { stroke-dashoffset: 30; }
	50% { stroke-dashoffset: 0; }
	100% { stroke-dashoffset: -30; }
}
@keyframes snip-a { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-11deg); } }
@keyframes snip-b { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(11deg); } }
@keyframes march { to { background-position: 16px 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---------- Floating textile icons ---------- */
.driven,
.testimonials,
.offer-section,
.contact-section,
.page-hero { position: relative; overflow: hidden; }
.deco {
	position: absolute; inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
	color: rgba(227, 200, 144, 0.17);
}
.deco ~ .container,
.deco ~ .page-hero__inner { position: relative; z-index: 1; }
.deco__i {
	position: absolute;
	width: var(--s, 64px); height: var(--s, 64px);
	translate: 0 var(--dy, 0px);
	animation: float var(--t, 11s) ease-in-out infinite;
	animation-delay: var(--del, 0s);
}
.deco__i svg { width: 100%; height: 100%; stroke-width: 0.9; overflow: visible; }
.deco__i.is-spool svg { animation: spin 16s linear infinite; }
.deco__i.is-button svg { animation: spin 24s linear infinite reverse; }
.deco__i.is-needle svg { animation: needle-dip 2.6s ease-in-out infinite; }
.svg-needle .svg-thread { stroke-dasharray: 30; animation: thread-draw 5s ease-in-out infinite; }
.deco__i.is-thread svg path { stroke-dasharray: 34 10; animation: march 1.6s linear infinite; stroke-dashoffset: 0; }
.svg-scissors .blade-a,
.svg-scissors .blade-b { transform-box: view-box; transform-origin: 13.06px 12px; }
.deco__i.is-scissors .blade-a { animation: snip-a 1.8s ease-in-out infinite; }
.deco__i.is-scissors .blade-b { animation: snip-b 1.8s ease-in-out infinite; }
.deco__i.is-thread svg path { animation: thread-draw 6s linear infinite; stroke-dasharray: 20 6; }

/* positions per section */
.deco--driven .deco__i--1 { --s: 96px; right: 5%; top: 10%; --t: 12s; }
.deco--driven .deco__i--2 { --s: 72px; left: 2%; bottom: 8%; --t: 14s; --del: -3s; }
.deco--driven .deco__i--3 { --s: 44px; right: 24%; bottom: 14%; --t: 9s; --del: -5s; }
.deco--driven .deco__i--4 { --s: 140px; left: 28%; top: 2%; --t: 16s; }

.deco--quote .deco__i--1 { --s: 84px; left: 5%; top: 16%; --t: 13s; }
.deco--quote .deco__i--2 { --s: 50px; right: 9%; top: 12%; --t: 10s; --del: -2s; }
.deco--quote .deco__i--3 { --s: 110px; right: 4%; bottom: 10%; --t: 12s; --del: -6s; }
.deco--quote .deco__i--4 { --s: 72px; left: 9%; bottom: 10%; --t: 11s; --del: -4s; }
.deco--quote .deco__i--5 { --s: 30px; left: 22%; top: 58%; --t: 8s; }

.deco--page { color: rgba(227, 200, 144, 0.2); }
.deco--page .deco__i--1 { --s: 42px; right: 38%; top: 20%; --t: 10s; }
.deco--page .deco__i--2 { --s: 58px; right: 46%; bottom: 18%; --t: 13s; --del: -4s; }
.deco--page .deco__i--3 { --s: 76px; left: 46%; top: 10%; --t: 12s; --del: -2s; }

.deco--offer,
.deco--contact { color: rgba(11, 39, 37, 0.08); }
.deco--offer .deco__i--1 { --s: 86px; right: 3%; top: 4%; --t: 12s; }
.deco--offer .deco__i--2 { --s: 130px; left: -1%; top: 38%; --t: 15s; }
.deco--offer .deco__i--3 { --s: 38px; right: 46%; top: 5%; --t: 9s; }
.deco--contact .deco__i--1 { --s: 96px; right: 3%; top: 6%; --t: 12s; }
.deco--contact .deco__i--2 { --s: 52px; left: 2%; bottom: 10%; --t: 10s; --del: -3s; }
.deco--contact .deco__i--3 { --s: 70px; left: 40%; bottom: 3%; --t: 13s; }

.deco--cta { color: rgba(227, 200, 144, 0.28); }
.deco--cta .deco__i--1 { --s: 58px; right: 24%; top: 12%; --t: 9s; }
.deco--cta .deco__i--2 { --s: 34px; right: 36%; bottom: 12%; --t: 8s; --del: -2s; }

@media (max-width: 760px) {
	.deco__i { --s: 46px !important; }
	.deco__i--3, .deco__i--4, .deco__i--5 { display: none; }
	.deco--page, .deco--cta { display: none; }
}

/* ---------- Stitch line with running needle ---------- */
.stitch {
	position: absolute;
	left: 0; right: 0;
	height: 30px;
	pointer-events: none;
	z-index: 2;
	color: rgba(11, 39, 37, 0.28);
}
.stitch__line {
	position: absolute;
	left: 0; top: 50%;
	width: 100%;
	height: 2px;
	margin-top: -1px;
	background: repeating-linear-gradient(90deg, currentColor 0 12px, transparent 12px 22px);
}
.stitch__needle {
	position: absolute;
	top: 50%; left: 100%;
	width: 34px; height: 34px;
	margin: -17px 0 0 -17px;
	color: var(--ink);
	opacity: 0;
}
.stitch__needle svg { width: 100%; height: 100%; transform: rotate(-135deg); stroke-width: 1.6; }
.stitch--top { top: 24px; }
.stitch--hero { bottom: 18px; color: rgba(227, 200, 144, 0.45); }
.stitch--hero .stitch__needle { color: var(--gold-soft); }
.stitch--footer { top: -15px; color: rgba(227, 200, 144, 0.55); }
.stitch--footer .stitch__needle { color: var(--gold-soft); }
.site-footer { position: relative; }

.js-motion [data-reveal="stitch"] { opacity: 1; transform: none; }
.js-motion [data-reveal="stitch"] .stitch__line { width: 0; }
.js-motion [data-reveal="stitch"].is-in .stitch__line { animation: sew-line 2.8s var(--ease) forwards; }
.js-motion [data-reveal="stitch"].is-in .stitch__needle { animation: sew-needle 2.8s var(--ease) forwards; }
.js-motion [data-reveal="stitch"].is-in .stitch__needle svg { animation: needle-bob 0.35s ease-in-out 8; }
@keyframes sew-line { from { width: 0; } to { width: 100%; } }
@keyframes sew-needle {
	0% { left: 0; opacity: 1; }
	92% { opacity: 1; }
	100% { left: 100%; opacity: 0; }
}
@keyframes needle-bob {
	0%, 100% { transform: rotate(-135deg) translate(0, 0); }
	50% { transform: rotate(-135deg) translate(0, 5px); }
}

/* ---------- Marquee strip ---------- */
.marquee {
	position: relative;
	overflow: hidden;
	background: var(--gold-soft);
	color: var(--green);
	padding: 18px 0;
	border-block: 1px solid rgba(11, 39, 37, 0.12);
}
.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 42s linear infinite;
}
.marquee ul {
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 0 17px;
	list-style: none;
}
.marquee li {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.25rem, 2.3vw, 1.9rem);
	white-space: nowrap;
	transition: color 0.3s;
}
.marquee__icon { line-height: 0; }
.marquee__icon svg { width: 26px; height: 26px; animation: spin 7s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee li:not(.marquee__icon):hover { color: #7a5a1f; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hero warp threads ---------- */
.hero__threads { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__threads span {
	position: absolute;
	top: -45%;
	width: 1px; height: 45%;
	background: linear-gradient(transparent, rgba(227, 200, 144, 0.55), transparent);
	animation: warp var(--t, 7s) linear infinite;
	animation-delay: var(--del, 0s);
}
.hero__threads span:nth-child(1) { left: 8%; --t: 8s; }
.hero__threads span:nth-child(2) { left: 21%; --t: 6s; --del: -2s; }
.hero__threads span:nth-child(3) { left: 37%; --t: 9s; --del: -5s; }
.hero__threads span:nth-child(4) { left: 58%; --t: 7s; --del: -1s; }
.hero__threads span:nth-child(5) { left: 71%; --t: 10s; --del: -6s; }
.hero__threads span:nth-child(6) { left: 86%; --t: 6.5s; --del: -3s; }
.hero__threads span:nth-child(7) { left: 94%; --t: 8.5s; --del: -4s; }
@keyframes warp { to { transform: translateY(330%); } }

/* ---------- Process: marching thread + bobbing icons ---------- */
.process { position: relative; }
.process::before {
	content: "";
	position: absolute;
	left: 9%; right: 9%; top: 29px;
	height: 1px;
	background: repeating-linear-gradient(90deg, var(--gold-soft) 0 8px, transparent 8px 16px);
	opacity: 0.35;
	animation: march 1.1s linear infinite;
}
.process__icon { animation: bob 3.6s ease-in-out infinite; }
.process__item:nth-child(2) .process__icon { animation-delay: -0.7s; }
.process__item:nth-child(3) .process__icon { animation-delay: -1.4s; }
.process__item:nth-child(4) .process__icon { animation-delay: -2.1s; }
.process__item:nth-child(5) .process__icon { animation-delay: -2.8s; }
@media (max-width: 760px) { .process::before { display: none; } }

.segments .sc-icon { animation: bob 4s ease-in-out infinite; }
.segments li:nth-child(2) .sc-icon { animation-delay: -1s; }
.segments li:nth-child(3) .sc-icon { animation-delay: -2s; }
.segments li:nth-child(4) .sc-icon { animation-delay: -3s; }

/* ---------- Headings: words rise one by one ---------- */
.split-w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.1em;
	margin-bottom: -0.1em;
}
.split-w > span { display: inline-block; }
.js-motion .is-split .split-w > span {
	transform: translateY(110%);
	transition: transform 0.9s var(--ease);
	transition-delay: calc(var(--w, 0) * 45ms);
}
.js-motion .is-split.is-split-in .split-w > span { transform: none; }
.js-motion .hero__title.is-split { animation: none; }

/* ---------- Kicker underline draws in ---------- */
.js-motion .kicker {
	border-bottom-color: transparent;
	background: linear-gradient(var(--gold-soft), var(--gold-soft)) 0 100% / 0 2px no-repeat;
	transition: background-size 1.1s var(--ease) 0.25s;
}
.js-motion .kicker--center { background-position: 50% 100%; }
.js-motion .kicker.is-drawn { background-size: 100% 2px; }

/* ---------- Product tabs: sliding ink ---------- */
.tabs { position: relative; }
.tabs__ink {
	position: absolute;
	left: 0; bottom: 0;
	height: 3px;
	background: var(--gold);
	transition: transform 0.5s var(--ease), width 0.5s var(--ease);
	pointer-events: none;
}
.tabs.has-ink .tabs__btn { border-bottom-color: transparent !important; }

/* Velvet sheen sweeping across a fabric on hover */
.swatch__img::before {
	content: "";
	position: absolute;
	inset: 5%;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%) 160% 0 / 260% 100% no-repeat;
	mix-blend-mode: soft-light;
	opacity: 0;
}
.swatch:hover .swatch__img::before {
	opacity: 1;
	background-position: -60% 0;
	transition: background-position 1s var(--ease), opacity 0.2s;
}

/* ---------- Stats ---------- */
.stats__num { transition: color 0.3s, transform 0.4s var(--ease); }
.stats__item:hover .stats__num { color: var(--gold-soft); transform: scale(1.08); }

/* ---------- Magnetic buttons ---------- */
.btn { translate: var(--bx, 0px) var(--by, 0px); }

/* ---------- WhatsApp tooltip ---------- */
@media (hover: hover) {
	.wa-float::after {
		content: "Chat with us";
		position: absolute;
		right: calc(100% + 12px);
		top: 50%;
		transform: translate(8px, -50%);
		background: var(--green);
		color: var(--white);
		font-size: 0.85rem;
		font-weight: 700;
		white-space: nowrap;
		padding: 8px 12px;
		border-radius: 4px;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s, transform 0.25s var(--ease);
	}
	.wa-float:hover::after { opacity: 1; transform: translate(0, -50%); }
}

/* ---------- Footer logo ---------- */
.site-footer__logo .site-logo__img { transition: transform 0.5s var(--ease), filter 0.4s; }
.site-footer__logo:hover .site-logo__img { transform: rotate(-3deg) scale(1.04); filter: brightness(1.15); }
.site-footer__tags span { transition: color 0.3s; }
.site-footer__tags span:hover { color: var(--white); }

/* ==========================================================================
   Testimonials slider
   ========================================================================== */
.testimonials { text-align: center; }
.testimonials__head { margin-bottom: clamp(28px, 4vw, 44px); }
.testimonials__mark {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 74px; height: 74px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--green);
	margin-bottom: 22px;
}
.testimonials__mark svg { width: 34px; height: 34px; animation: bob 3s ease-in-out infinite; }
.testimonials__mark::before,
.testimonials__mark::after {
	content: "";
	position: absolute; inset: 0;
	border-radius: 50%;
	border: 1px solid var(--gold);
	animation: ring 3s var(--ease) infinite;
}
.testimonials__mark::after { animation-delay: 1.5s; }
.testimonials__title { max-width: 24ch; margin: 0 auto; color: var(--white); }
.testimonials .kicker { margin-bottom: 14px; }

/* ---------- Slider frame ---------- */
.t-slider { position: relative; max-width: 960px; margin: 0 auto; }
.t-slider__viewport {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	touch-action: pan-y;           /* vertical page scroll stays native, horizontal = swipe */
}
.t-slider__track {
	display: flex;
	align-items: stretch;
	will-change: transform;
}
.t-slide {
	flex: 0 0 100%;
	min-width: 0;
	margin: 0;
	padding: 0 clamp(4px, 1.5vw, 14px);
	box-sizing: border-box;
	display: flex;
	opacity: 0.25;
	transform: scale(0.94);
	transition: opacity var(--speed, 750ms) var(--ease), transform var(--speed, 750ms) var(--ease);
}
.t-slide.is-active { opacity: 1; transform: none; }
.t-slider.is-single .t-slide { opacity: 1; transform: none; }
.t-slider.is-dragging .t-slide { opacity: 1; transform: none; transition: none; }
.t-slider.is-dragging .t-slider__viewport { cursor: grabbing; user-select: none; }
.t-slider.is-multi .t-slider__viewport { cursor: grab; }

/* Card */
.t-slide__card {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(30px, 5vw, 56px) clamp(22px, 5vw, 64px) clamp(28px, 4vw, 46px);
	border-radius: 20px;
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(227, 200, 144, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
}
.t-slide__card::before {           /* big soft quote mark in the corner */
	content: "\201C";
	position: absolute;
	top: -0.18em; left: 0.12em;
	font-family: var(--serif);
	font-size: clamp(8rem, 16vw, 12rem);
	line-height: 1;
	color: var(--gold);
	opacity: 0.09;
	pointer-events: none;
}
.t-slide__card::after {            /* gold rule that draws in on enter */
	content: "";
	position: absolute;
	left: 50%; bottom: 0;
	width: 120px; height: 2px;
	margin-left: -60px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	transform: scaleX(1);
}

/* Stars */
.t-slide__stars { display: flex; justify-content: center; gap: 4px; color: var(--gold); margin-bottom: 18px; }
.t-slide__stars svg { width: 20px; height: 20px; }
.js-motion .t-slide.is-enter .t-slide__stars svg { animation: star-pop 0.55s var(--ease) both; }
.js-motion .t-slide.is-enter .t-slide__stars svg:nth-child(2) { animation-delay: 0.08s; }
.js-motion .t-slide.is-enter .t-slide__stars svg:nth-child(3) { animation-delay: 0.16s; }
.js-motion .t-slide.is-enter .t-slide__stars svg:nth-child(4) { animation-delay: 0.24s; }
.js-motion .t-slide.is-enter .t-slide__stars svg:nth-child(5) { animation-delay: 0.32s; }
@keyframes star-pop {
	0% { opacity: 0; transform: scale(0.2) rotate(-60deg); }
	70% { transform: scale(1.25) rotate(8deg); }
	100% { opacity: 1; transform: none; }
}

/* Quote */
.t-slide__quote { position: relative; margin: 0; }
.t-slide__quote p {
	margin: 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.15rem, 2.2vw, 1.7rem);
	line-height: 1.55;
	color: var(--on-green);
	text-wrap: pretty;
}
.qw { display: inline-block; white-space: pre; }
.js-motion .t-slide.is-enter .qw {
	animation: word-in 0.6s var(--ease) both;
	animation-delay: calc(var(--w, 0) * 22ms + 0.2s);
}
@keyframes word-in {
	from { opacity: 0; transform: translateY(12px); filter: blur(3px); }
	to { opacity: 1; transform: none; filter: none; }
}
.js-motion .t-slide.is-enter .t-slide__card::after { animation: rule-in 0.9s var(--ease) 0.35s both; }
@keyframes rule-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Who */
.t-slide__who {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	text-align: left;
}
.t-slide__avatar {
	width: 58px; height: 58px;
	border-radius: 50%;
	display: grid; place-items: center;
	overflow: hidden;
	background: var(--gold-soft);
	color: var(--green);
	font-family: var(--serif);
	font-size: 1.3rem;
	font-weight: 700;
	box-shadow: 0 0 0 3px var(--green), 0 0 0 4px var(--gold);
	flex-shrink: 0;
}
.t-slide__avatar img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.js-motion .t-slide.is-enter .t-slide__avatar { animation: avatar-in 0.7s var(--ease) 0.3s both; }
@keyframes avatar-in { from { transform: scale(0.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.t-slide__name { display: flex; flex-direction: column; line-height: 1.35; }
.t-slide__name strong { color: var(--gold-soft); font-size: 1.05rem; }
.t-slide__name span { color: var(--on-green-muted); font-size: 0.92rem; }

/* ---------- Controls ---------- */
.t-slider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: clamp(26px, 3.5vw, 38px);
}
.t-slider__arrow,
.t-slider__toggle {
	width: 50px; height: 50px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	color: var(--white);
	display: grid; place-items: center;
	cursor: pointer;
	transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.t-slider__toggle { width: 40px; height: 40px; border-color: rgba(255, 255, 255, 0.18); }
.t-slider__arrow svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.t-slider__toggle svg { width: 15px; height: 15px; }
.t-slider__arrow:hover,
.t-slider__toggle:hover { background: var(--gold); border-color: var(--gold); color: var(--green); transform: scale(1.08); }
.t-slider__arrow:active { transform: scale(0.94); }
.t-slider__arrow[data-go="-1"]:hover svg { transform: translateX(-3px); }
.t-slider__arrow[data-go="1"]:hover svg { transform: translateX(3px); }
.t-slider__toggle span { display: grid; place-items: center; }
.t-slider__toggle .t-slider__i-play { display: none; }
.t-slider__toggle.is-off .t-slider__i-play { display: grid; }
.t-slider__toggle.is-off .t-slider__i-pause { display: none; }

.t-slider__dots { display: flex; gap: 8px; }
.t-slider__dot {
	position: relative;
	width: 36px; height: 24px;
	padding: 0; border: 0;
	background: none;
	cursor: pointer;
	transition: width 0.4s var(--ease);
}
.t-slider__dot.is-active { width: 56px; }
.t-slider__dot::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 50%;
	height: 3px; margin-top: -1.5px;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 2px;
	transition: background-color 0.2s;
}
.t-slider__dot:hover::before { background: rgba(255, 255, 255, 0.45); }
.t-slider__dot span {
	position: absolute; left: 0; top: 50%;
	height: 3px; margin-top: -1.5px; width: 0;
	background: var(--gold);
	border-radius: 2px;
}
.t-slider__dot.is-active span { animation: dot-fill var(--dur, 6000ms) linear forwards; }
.t-slider.is-paused .t-slider__dot.is-active span { animation-play-state: paused; }
@keyframes dot-fill { from { width: 0; } to { width: 100%; } }
.t-slider__count { color: var(--on-green-muted); font-size: 0.9rem; letter-spacing: 0.08em; min-width: 62px; }
.t-slider__count b { color: var(--gold-soft); font-weight: 700; }

.t-slider__admin-note {
	margin: 18px auto 0;
	max-width: 560px;
	padding: 10px 14px;
	border: 1px dashed rgba(227, 200, 144, 0.5);
	border-radius: 8px;
	font-size: 0.85rem;
	color: var(--gold-soft);
}
.t-slider__admin-note a { color: var(--white); }

@media (max-width: 640px) {
	.t-slider__count { display: none; }
	.t-slider__controls { gap: 10px; flex-wrap: wrap; }
	.t-slider__arrow { width: 44px; height: 44px; }
	.t-slider__dot { width: 22px; }
	.t-slider__dot.is-active { width: 38px; }
	.t-slide { padding: 0 2px; }
	.t-slide__who { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.t-slide { transition: opacity 0.2s linear; transform: none; }
	.t-slide.is-enter .qw,
	.t-slide.is-enter .t-slide__stars svg,
	.t-slide.is-enter .t-slide__avatar,
	.t-slide.is-enter .t-slide__card::after { animation: none !important; }
}

/* ---------- Reduced motion: stop all loops ---------- */
@media (prefers-reduced-motion: reduce) {
	.deco, .hero__threads, .stitch__needle { display: none; }
	.marquee__track { animation: none; }
	.process::before, .process__icon, .segments .sc-icon { animation: none; }
}

/* ==========================================================================
   Rolling (odometer) stats
   ========================================================================== */
.odo { display: inline-block; white-space: nowrap; }
.odo__wrap { display: inline-flex; align-items: flex-start; line-height: 1.1; }
.odo__col {
	position: relative;
	display: inline-block;
	height: 1.1em;
	overflow: hidden;
	/* soft fade at top/bottom so rolling digits blur in and out */
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.odo__reel {
	display: flex;
	flex-direction: column;
	will-change: transform;
}
.odo__reel > span {
	display: block;
	height: 1.1em;
	line-height: 1.1;
	text-align: center;
}
.odo__sym { display: inline-block; height: 1.1em; line-height: 1.1; }
/* "+" / "%" pops in once the digits have landed */
.odo__sym--pop { opacity: 0; transform: translateY(0.35em) scale(0.6); }
.odo.is-rolled .odo__sym--pop {
	opacity: 1;
	transform: none;
	transition: opacity 0.45s var(--ease) var(--odo-end, 1.5s), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) var(--odo-end, 1.5s);
	color: var(--gold-soft);
}
/* small gold flash when a number lands */
.odo.is-rolled { animation: odo-land 0.9s var(--ease) var(--odo-end, 1.5s) both; }
@keyframes odo-land {
	0% { text-shadow: none; }
	40% { text-shadow: 0 0 22px rgba(227, 200, 144, 0.55); }
	100% { text-shadow: none; }
}

/* Image "S": fade in to the opacity set in the Customizer */
.page-hero__mono--img { animation-name: mono-in-img; }
@keyframes mono-in-img {
	from { opacity: 0; transform: translateX(6%); }
	to { opacity: var(--mono-op, 1); transform: none; }
}
.page-hero__mono--img { translate: none !important; }
