/*
Theme Name: JAVI Uniform
Theme URI: https://javi.vn
Author: JAVI Uniform
Description: Giao diện modern industrial cho JAVI Uniform — xưởng may đồng phục theo yêu cầu. Có phòng thử đồ kéo thả, form báo giá, WooCommerce chế độ catalog, thanh liên hệ nhanh trên mobile.
Version: 1.0.16
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: javi
Tags: custom-logo, custom-menu, featured-images, e-commerce, one-column, translation-ready
*/

/* ==========================================================================
   01. Tokens
   ========================================================================== */
:root {
	--plum: #932860;
	--plum-ink: #6f1d48;
	--plum-soft: #c98aab;
	--plum-tint: #f7ecf1;
	--ink: #17151a;
	--ink-2: #4b4650;
	--muted: #8b858f;
	--line: #efece9;
	--line-strong: #e1dcd7;
	--grid: rgba(23, 21, 26, .045);
	--paper: #f6f4f1;
	--paper-2: #efece8;
	--white: #fff;
	--dark: #151317;

	--f-display: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-mono: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* labels share the single sans family */

	--wrap: 1320px;
	--gutter: clamp(16px, 3.2vw, 40px);
	--header-h: 76px;
	--r-sm: 6px;
	--r: 12px;
	--r-lg: 18px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--stitch: repeating-linear-gradient(90deg, rgba(147, 40, 96, .55) 0 9px, transparent 9px 15px);
}

/* ==========================================================================
   02. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--plum); color: #fff; }

.sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(800px + var(--gutter) * 2); }
.mono { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.muted { color: var(--muted); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ==========================================================================
   03. Type & atoms
   ========================================================================== */
.h-display {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(30px, 4vw, 56px);
	line-height: 1.2;
	letter-spacing: -.025em;
	color: var(--ink);
	text-wrap: balance;
}
.h-display em { font-style: normal; color: var(--plum); }

.tag {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 4px 14px 4px 4px; margin-bottom: 22px;
	border: 1px solid var(--line-strong); border-radius: 999px;
	font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0;
	color: var(--ink-2); background: var(--white);
}
.tag__num { background: var(--plum); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-variant-numeric: tabular-nums; }

.btn {
	--b: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 46px; padding: 0 22px; border-radius: 999px;
	font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap;
	border: 1.5px solid transparent;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico-arrow { transform: translate(2px, -2px); }
.btn:hover .ico-right { transform: translateX(3px); }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-ink); }
.btn--line { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--line:hover { background: var(--plum); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { height: 54px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--f-mono); font-size: 14px; font-weight: 500; letter-spacing: 0;
	padding-bottom: 4px; border-bottom: 1px solid currentColor;
	transition: color .2s;
}
.link-arrow:hover { color: var(--plum); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .3s var(--ease); }

.icon-btn {
	width: 48px; height: 48px; border-radius: 50%;
	display: inline-grid; place-items: center;
	border: 1px solid var(--line-strong); background: var(--white);
	transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 15px; border-radius: 999px;
	border: 1px solid var(--line-strong); background: var(--white);
	font-size: 14px; font-weight: 500; transition: all .2s;
}
.chip .mono { font-size: 12.5px; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active .mono { color: rgba(255, 255, 255, .6); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }

/* Technical placeholder (missing image) */
.ph {
	position: relative; display: grid; place-items: center;
	width: 100%; height: 100%; min-height: 160px;
	background: var(--paper);
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 24px 24px;
	color: var(--muted);
}
.ph__cross { position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)), linear-gradient(to top left, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)); }
.ph__label { position: relative; background: var(--white); padding: 6px 10px; border: 1px solid var(--line-strong); }

/* Section structure */
.section { position: relative; padding-block: clamp(88px, 11vw, 160px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section__head {
	position: relative; z-index: 1;
	display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap;
	margin-bottom: clamp(40px, 5.5vw, 76px);
}
.section__head .h-display { max-width: 760px; }
.section__aside { max-width: 380px; color: var(--ink-2); }

/* Visible column grid (industrial hairlines) */
.gridlines { position: relative; }
.gridlines::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: 0; pointer-events: none;
	width: min(var(--wrap), calc(100% - var(--gutter) * 2)); transform: translateX(-50%);
	background-image: linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 25% 100%;
	border-right: 1px solid var(--grid);
}
.gridlines > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .gridlines::before { display: none; } }

/* Registration marks (+) */
.reg { position: absolute; width: 13px; height: 13px; z-index: 4; pointer-events: none; opacity: .45;
	background: linear-gradient(var(--plum), var(--plum)) center / 1px 100% no-repeat, linear-gradient(var(--plum), var(--plum)) center / 100% 1px no-repeat; }

/* Tape-measure ruler */
.ruler {
	--tick: rgba(23, 21, 26, .13);
	--tick-major: rgba(147, 40, 96, .35);
	height: 14px; border-top: 1px solid var(--line);
	background:
		linear-gradient(90deg, var(--tick-major) 1px, transparent 1px) 0 0 / 100px 12px repeat-x,
		linear-gradient(90deg, var(--tick) 1px, transparent 1px) 0 0 / 50px 8px repeat-x,
		linear-gradient(90deg, var(--tick) 1px, transparent 1px) 0 0 / 10px 4px repeat-x;
}
.ruler--dark { --tick: rgba(255, 255, 255, .12); --tick-major: rgba(255, 255, 255, .3); border-top-color: rgba(255, 255, 255, .06); }

/* ==========================================================================
   04. Header & navigation
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(23, 21, 26, .5); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__img { height: 46px; width: auto; }
.brand--invert .brand__img { filter: brightness(0) invert(1); }

.nav { flex: 1; display: flex; justify-content: center; }
.nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav .menu > li { position: relative; display: flex; align-items: center; }
.nav .menu > li > a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 999px;
	font-size: 14.5px; font-weight: 500; color: var(--ink);
	transition: background .2s, color .2s;
}
.nav .menu > li > a:hover { background: var(--paper); }
.nav .current-menu-item > a, .nav .current-menu-ancestor > a, .nav .current_page_item > a { color: var(--plum); }
.nav .current-menu-item > a::before, .nav .current_page_item > a::before { content: ""; width: 5px; height: 5px; background: var(--plum); }
.nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 2px; margin-top: -3px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; list-style: none;
	padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: 0 24px 48px -28px rgba(23, 21, 26, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav .menu > li:hover > .sub-menu, .nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: flex; padding: 10px 12px; border-radius: 8px; font-size: 14.5px; transition: background .15s, color .15s; }
.nav .sub-menu a:hover { background: var(--plum-tint); color: var(--plum); }
.sub-toggle, .nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 18px; flex: none; margin-left: auto; }
.site-header__tel { display: grid; line-height: 1.15; text-align: right; }
.site-header__tel .mono { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.site-header__tel strong { font-weight: 600; font-size: 16px; }
.site-header__tel:hover strong { color: var(--plum); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); place-items: center; }
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle__close { display: none; }

@media (max-width: 1180px) {
	.site-header__tel { display: none; }
}
@media (max-width: 1023px) {
	.menu-toggle { display: inline-grid; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 59;
		display: flex; flex-direction: column; justify-content: space-between;
		padding: 24px var(--gutter) calc(96px + env(safe-area-inset-bottom));
		background: var(--white); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s, transform .3s var(--ease), visibility .25s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav .menu > li > a { flex: 1; padding: 18px 0; border-radius: 0; font-family: var(--f-display); font-weight: 600; font-size: 30px; letter-spacing: -.02em; }
	.nav .menu > li > a:hover { background: none; color: var(--plum); }
	.nav .menu-item-has-children > a::after { display: none; }
	.sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .25s; }
	.sub-toggle[aria-expanded="true"] { transform: rotate(180deg); background: var(--ink); color: #fff; }
	.nav .sub-menu {
		position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none;
		border: 0; box-shadow: none; padding: 0 0 14px; background: none;
	}
	.nav .sub-menu.is-open { display: block; }
	.nav .sub-menu a { padding: 10px 0; font-size: 16px; }
	.nav__mobile-extra { display: grid; gap: 10px; margin-top: 32px; }
	.nav__tel { display: grid; font-family: var(--f-display); font-size: 28px; font-weight: 600; color: var(--plum); }
	.nav__tel small { color: var(--muted); }
	.nav__addr { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 12.5px; }
	.menu-open .menu-toggle__open { display: none; }
	.menu-open .menu-toggle__close { display: block; }
	.menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 560px) {
	:root { --header-h: 64px; }
	.site-header__cta { display: none; }
	.brand__img { height: 38px; }
}

/* ==========================================================================
   05. Hero
   ========================================================================== */
.hero { position: relative; background: var(--white); overflow: hidden; }
.hero__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(660px, calc(100svh - var(--header-h) - 86px), 880px); }

/* Plum field sits in the lower right, behind the two models */
.hero__block { position: absolute; z-index: 0; top: 47%; bottom: 0; left: 58%; right: calc(50% - 50vw); background: var(--plum); }
.hero__block-mark { position: absolute; right: 22px; top: 16px; color: rgba(255, 255, 255, .6); font-size: 12px; }

/* Left column: word stacked on two lines, then the pitch */
.hero__copy { position: relative; z-index: 3; grid-column: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 6vw, 96px) 0; }

.hero__title {
	margin: 0;
	font-family: var(--f-display); font-weight: 600;
	font-size: var(--fit, clamp(56px, 8.2vw, 124px));
	line-height: 1.02; letter-spacing: -.035em; white-space: nowrap;
	color: var(--ink);
}
.hero__word { display: block; width: max-content; }
.hero__sub { margin-top: clamp(20px, 2vw, 28px); font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; line-height: 1.45; color: var(--ink-2); }

.hero__badge { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero__info { width: min(100%, 480px); margin-top: clamp(40px, 4.4vw, 64px); }
.hero__badge + .hero__cta { margin-top: 32px; }
.hero__badge-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--plum-tint); color: var(--plum); flex: none; }
.hero__badge-ico .ico { width: 20px; height: 20px; }
.hero__lead { margin: 24px 0 36px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__call { display: none; grid-template-columns: auto auto; align-items: center; gap: 2px 16px; margin-top: 26px; color: var(--ink); }
.hero__call-label { grid-column: 1; color: var(--muted); font-size: 12px; }
.hero__call-num { grid-column: 1; font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; }
.hero__call-ico { grid-column: 2; grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--plum); display: grid; place-items: center; transition: transform .35s var(--ease), background .25s, color .25s; }
.hero__call-ico .ico { width: 16px; height: 16px; }
.hero__call:hover .hero__call-ico { transform: rotate(45deg); background: var(--plum); color: #fff; border-color: var(--plum); }

/* Right column: one photo of the two models, four poses stacked; the active one is shown */
.hero__models { position: relative; z-index: 2; grid-column: 2; display: flex; justify-content: center; align-items: flex-end; padding-top: 40px; pointer-events: none; }
.hero__fig { position: relative; width: 122%; max-width: none; margin: 0 -14% 0 -8%; flex: none; aspect-ratio: 1448 / 1086; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.hero__fig[data-hero-poses] { cursor: pointer; }
.hero__fig:focus-visible { outline: 2px solid var(--plum); outline-offset: 6px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; opacity: 0; transition: opacity .28s ease-out; user-select: none; -webkit-user-drag: none; }
.hero__img.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__img { transition: none; } }

.reg--a { left: calc(58% - 7px); top: calc(47% - 7px); }
.reg--b { left: calc(var(--gutter) - 7px); bottom: -7px; }

/* Industry marquee */
.strip { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--white); }
.strip__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__list { display: flex; list-style: none; }
.strip__list li { display: flex; align-items: center; }
.strip__list li::after { content: ""; width: 12px; height: 12px; margin: 0 34px; background: linear-gradient(var(--plum), var(--plum)) center / 1.5px 100% no-repeat, linear-gradient(var(--plum), var(--plum)) center / 100% 1.5px no-repeat; }
.strip__list a { display: block; padding: 20px 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.01em; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.strip__list a:hover { color: var(--plum); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
	.hero__stage { display: flex; flex-direction: column; min-height: 0; }
	.hero__block, .reg--a { display: none; }
	.hero__copy { padding: 40px 0 0; }
	.hero__title { font-size: var(--fit, clamp(48px, 15vw, 72px)); }
	.hero__sub { font-size: 18px; }
	.hero__info { width: auto; margin-top: 36px; }
	.hero__lead { margin: 20px 0 32px; font-size: 15.5px; }
	.hero__cta .btn { flex: 1 1 auto; }
	.hero__models {
		width: calc(100% + var(--gutter) * 2); margin: 32px calc(var(--gutter) * -1) 0; padding-top: 0;
		background: linear-gradient(to bottom, transparent 46%, var(--plum) 46%);
	}
	.hero__fig { width: 100%; margin: 0; }
	.hero__call { display: inline-grid; }
}

/* ==========================================================================
   06. About + stats
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.about__head { grid-column: 1 / span 7; }
.about__body { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; color: var(--ink-2); font-size: 16.5px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .7); }
.stats__item { padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.stats__item:first-child { border-left: 0; }
.stats__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(44px, 5.6vw, 84px); line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.stats__num em { font-style: normal; color: var(--plum); }
.stats__label { color: var(--ink-2); line-height: 1.7; max-width: 240px; }

@media (max-width: 900px) {
	.about__head, .about__body { grid-column: 1 / -1; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats__item:nth-child(3) { border-left: 0; }
	.stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   07. Industries
   ========================================================================== */
.inds { background: var(--paper); }
.inds__grid { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inds__cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inds__link { position: relative; display: grid; grid-template-rows: auto 1fr auto auto; min-height: clamp(220px, 22vw, 300px); padding: 22px 24px 26px; overflow: hidden; background: var(--paper); transition: background .35s var(--ease); }
.inds__num { color: var(--muted); }
.inds__name { grid-row: 3; position: relative; z-index: 2; max-width: 60%; font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.02em; transition: color .3s; }
.inds__count { grid-row: 4; position: relative; z-index: 2; margin-top: 10px; color: var(--ink-2); }
.inds__media { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; width: 44%; clip-path: inset(58% 0 0 0); transition: clip-path .6s var(--ease); background: var(--paper-2); }
.inds__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .75; transition: filter .6s var(--ease), opacity .6s var(--ease); }
.inds__link:hover .inds__media img { filter: none; opacity: 1; }
.inds__go { position: absolute; z-index: 3; right: 20px; top: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); display: grid; place-items: center; transition: all .3s var(--ease); }
.inds__link:hover { background: var(--white); }
.inds__link:hover .inds__name { color: var(--plum); }
.inds__link:hover .inds__media { clip-path: inset(0 0 0 0); }
.inds__link:hover .inds__go { background: var(--plum); color: #fff; border-color: var(--plum); transform: rotate(45deg); }
@media (hover: none) { .inds__media { clip-path: none; opacity: .9; } }
@media (max-width: 900px) { .inds__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
	.inds__link { min-height: 168px; padding: 16px; }
	.inds__name { max-width: 100%; font-size: 21px; }
	.inds__media { width: 100%; height: 56%; top: auto; opacity: .18 !important; }
	.inds__go { width: 36px; height: 36px; right: 12px; top: 12px; }
}

/* ==========================================================================
   08. Try-on
   ========================================================================== */
.tryon { background: linear-gradient(var(--white), var(--paper)); }
.tryon__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.tryon__head .tag { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.tryon__lead { color: var(--ink-2); font-size: 16.5px; max-width: 440px; }

.tryon__app {
	position: relative;
	display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 16px;
	padding: 14px; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--r-lg);
	box-shadow: 0 40px 80px -60px rgba(23, 21, 26, .45);
}
.tryon__label { color: var(--ink); font-weight: 500; margin-bottom: 14px; }

/* list */
.tryon__list { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; min-width: 0; padding: 10px 4px 4px; }
.tryon__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tryon__filters .chip { padding: 6px 11px; font-size: 12.5px; }
.tryon__items { list-style: none; display: grid; gap: 10px; align-content: start; overflow-y: auto; max-height: 600px; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
.tryon__items li[hidden] { display: none; }
.tryon-item {
	position: relative; width: 100%;
	display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 14px;
	padding: 9px; text-align: left; border-radius: var(--r);
	border: 1.5px solid var(--line); background: var(--white);
	cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
	transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.tryon-item:hover { border-color: var(--plum-soft); transform: translateY(-1px); box-shadow: 0 10px 24px -18px rgba(147, 40, 96, .6); }
.tryon-item.is-active { border-color: var(--plum); background: var(--plum-tint); }
.tryon-item.is-lifted { opacity: .45; }
.tryon-item.is-pulse { animation: pulse 1s var(--ease) 2; }
.tryon-item__img { width: 82px; height: 82px; border-radius: 9px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.tryon-item__img img { width: 88%; height: 88%; object-fit: contain; pointer-events: none; }
.tryon-item__txt { display: grid; gap: 4px; min-width: 0; }
.tryon-item__group { font-size: 12px; color: var(--muted); }
.tryon-item__name { font-weight: 600; font-size: 15px; line-height: 1.4; }
.tryon-item__hint { position: absolute; right: 10px; bottom: 8px; color: var(--plum); opacity: 0; transform: translateY(4px); transition: all .25s var(--ease); }
.tryon-item__hint .ico { width: 22px; height: 22px; }
.tryon-item:hover .tryon-item__hint, .tryon-item.is-active .tryon-item__hint { opacity: 1; transform: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(147, 40, 96, .18); border-color: var(--plum); } }

/* stage */
.tryon__stage { grid-column: 2; grid-row: 1; padding-bottom: 72px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; border-radius: var(--r); background: radial-gradient(120% 80% at 50% 30%, #fbfaf9, var(--paper-2)); overflow: hidden; }
.tryon__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(23, 21, 26, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 21, 26, .028) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(closest-side, #000 60%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); }
.tryon__tools { position: absolute; z-index: 6; top: 14px; right: 14px; display: flex; align-items: center; gap: 2px; padding: 5px; background: var(--white); border-radius: var(--r); box-shadow: 0 8px 24px -14px rgba(23, 21, 26, .35); }
.tryon__tools button { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; transition: background .15s, color .15s, opacity .15s; }
.tryon__tools button:hover:not(:disabled) { background: var(--paper); color: var(--plum); }
.tryon__tools button:disabled { opacity: .3; cursor: default; }
.tryon__tools-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.tryon__canvas { position: relative; width: min(100%, 400px); aspect-ratio: 9 / 16; margin-top: 46px; user-select: none; -webkit-user-select: none; }
.tryon__model { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; pointer-events: none; transition: opacity .18s ease-out; }
.tryon__result { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; pointer-events: none; opacity: 0; transition: opacity .18s ease-out; }
.has-result .tryon__result { opacity: 1; transform: none; }
.tryon__canvas.can-spin { cursor: grab; touch-action: pan-y; }
.tryon__canvas.is-spinning { cursor: grabbing; }
.tryon__canvas:focus-visible { outline-offset: 6px; border-radius: 12px; }
.tryon__spin { position: absolute; z-index: 6; left: 50%; bottom: -54px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px; background: var(--white); border-radius: 999px; box-shadow: 0 10px 24px -14px rgba(23, 21, 26, .45); }
.tryon__spin[hidden] { display: none; }
.tryon__spin button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .15s, color .15s; }
.tryon__spin button:hover { background: var(--plum-tint); color: var(--plum); }
.tryon__spin button .ico { width: 16px; height: 16px; }
.tryon__spin-label { display: grid; justify-items: center; gap: 3px; min-width: 52px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--plum); }
.tryon__spin-dots { display: flex; gap: 4px; }
.tryon__spin-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); transition: background .15s; }
.tryon__spin-dots i.is-on { background: var(--plum); }
.has-result .tryon__model { opacity: 0; transition-delay: .18s; }
.has-result .tryon__fit { opacity: 0; transition: opacity .3s; }
.is-loading .tryon__garment { opacity: .55; transition: opacity .3s; }
.is-scanning .tryon__scan::before { animation-iteration-count: infinite; }
.tryon__ruler { position: absolute; left: -2px; top: 8%; bottom: 6%; width: 16px; z-index: 1; opacity: .35;
	background: linear-gradient(var(--plum) 1.5px, transparent 1.5px) 0 0 / 16px 60px repeat-y, linear-gradient(rgba(23, 21, 26, .35) 1px, transparent 1px) 0 0 / 10px 12px repeat-y; }

.tryon__fit { --x: 50; --y: 16; --w: 66; position: absolute; z-index: 3; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); transform: translateX(-50%); pointer-events: none; }
.tryon__fit.is-landing { animation: land .55s var(--ease); }
.tryon__garment { display: block; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 12px 14px rgba(23, 21, 26, .16)); }
@keyframes land { 0% { transform: translateX(-50%) scale(1.08); } 60% { transform: translateX(-50%) scale(.98); } 100% { transform: translateX(-50%) scale(1); } }

.tryon__drop { position: absolute; z-index: 4; inset: 10% 12% 14%; display: grid; place-content: center; justify-items: center; gap: 10px; border: 2px dashed rgba(147, 40, 96, .35); border-radius: 18px; background: rgba(147, 40, 96, .04); color: var(--plum); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease), background .2s, border-color .2s; }
.tryon__drop-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 8px 20px -10px rgba(147, 40, 96, .6); }
.tryon__drop-ico .ico { width: 26px; height: 26px; }
.is-dragging .tryon__drop { opacity: 1; }
.is-over .tryon__drop { border-color: var(--plum); background: rgba(147, 40, 96, .1); transform: scale(1.02); }

.tryon__scan { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.tryon__scan::before { content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 2px; background: var(--stitch); box-shadow: 0 0 18px 4px rgba(147, 40, 96, .25); opacity: 0; }
.is-scanning .tryon__scan::before { animation: scan .9s var(--ease); }
@keyframes scan { 0% { top: 8%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 92%; opacity: 0; } }

.tryon-ghost { position: fixed; z-index: 999; left: 0; top: 0; width: 120px; pointer-events: none; filter: drop-shadow(0 18px 22px rgba(23, 21, 26, .3)); transition: none; will-change: transform; }
.tryon-ghost img { width: 100%; height: auto; }
.tryon-ghost.is-dropped { transition: opacity .15s ease-out, transform .15s ease-out; opacity: 0; }
.tryon-ghost.is-flying { transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }

/* result bar under the stage */
.tryon__bar { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 4px 6px 4px 8px; }
.tryon__bar-txt { display: grid; gap: 4px; min-width: 0; }
.tryon__name { font-family: var(--f-display); font-size: 19px; font-weight: 600; line-height: 1.3; }
.tryon__status { color: var(--muted); font-size: 14px; line-height: 1.5; }
.tryon__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1100px) {
	.tryon__app { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.tryon__list, .tryon__stage, .tryon__bar { grid-column: 1; grid-row: auto; }
	.tryon__list { padding: 6px 2px 0; }
	.tryon__items { grid-auto-flow: column; grid-auto-columns: 240px; overflow-x: auto; overflow-y: hidden; max-height: none; padding-bottom: 8px; scroll-snap-type: x mandatory; }
	.tryon__items li { scroll-snap-align: start; }
	.tryon-item { touch-action: pan-x; }
}
@media (max-width: 720px) {
	.tryon__head { grid-template-columns: 1fr; }
	.tryon__app { padding: 8px; gap: 8px; }
	/* keep the drag path short: model on top, garments directly beneath it, details last */
	.tryon__stage { order: 1; padding-bottom: 64px; }
	.tryon__list { order: 2; padding: 0; }
	.tryon__bar { order: 3; padding: 10px 6px 4px; }
	.tryon__canvas { margin-top: 52px; width: min(58%, 230px); }
	.tryon__tools { top: 8px; right: 8px; }
	.tryon__list .tryon__label { display: none; }
	.tryon__list-head { order: 2; }
	.tryon__items { order: 1; grid-auto-columns: 136px; gap: 8px; padding: 2px 2px 8px; }
	.tryon-item { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 8px 6px 10px; }
	.tryon-item__img { width: 72px; height: 72px; }
	.tryon-item__group, .tryon-item__hint { display: none; }
	.tryon-item__name { font-size: 13px; line-height: 1.35; }
	.tryon__filters { flex-wrap: nowrap; overflow-x: auto; margin: 4px 0 0; padding-bottom: 4px; scrollbar-width: none; }
	.tryon__filters .chip { flex: none; }
	.tryon__name { font-size: 17px; }
	.tryon__actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 8px; }
	.tryon__actions .btn { height: 48px; }
	.tryon__actions [data-quote] { order: -1; }
}
}

/* ==========================================================================
   09. Process
   ========================================================================== */
.process__list { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; }
.process__list::before { content: ""; position: absolute; left: 0; right: 0; top: 41px; height: 1px; background: var(--stitch); }
.process__step { position: relative; padding-right: 24px; display: grid; gap: 14px; align-content: start; }
.process__num { color: var(--muted); }
.process__knot { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--plum); margin: 4px 0 10px; position: relative; z-index: 1; transition: background .3s, transform .3s var(--ease); }
.process__step:hover .process__knot { background: var(--plum); transform: scale(1.25); }
.process__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -.015em; }
.process__text { color: var(--ink-2); font-size: 15px; }
@media (max-width: 1100px) and (min-width: 901px) { .process__list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } .process__list::before { display: none; } }
@media (max-width: 900px) {
	.process__list { grid-template-columns: 1fr; gap: 28px; padding-left: 34px; }
	.process__list::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--plum) 0 9px, transparent 9px 15px); }
	.process__step { padding-right: 0; }
	.process__knot { position: absolute; left: -34px; top: 24px; margin: 0; }
}

/* ==========================================================================
   10. Capability (plum block)
   ========================================================================== */
.cap { position: relative; background: var(--plum); color: #fff; padding-block: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.cap::before { content: ""; position: absolute; inset: 0; left: 50%; width: min(var(--wrap), calc(100% - var(--gutter) * 2)); transform: translateX(-50%); background-image: linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 25% 100%; border-right: 1px solid rgba(255, 255, 255, .06); pointer-events: none; }
.cap__inner { position: relative; }
.cap__head { display: grid; justify-items: center; text-align: center; }
.cap .tag { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.cap .tag__num { background: #fff; color: var(--plum); }
.cap .h-display { color: #fff; max-width: 920px; font-size: clamp(36px, 5.2vw, 76px); }
.cap__text { max-width: 620px; margin-top: 22px; color: rgba(255, 255, 255, .78); font-size: 16.5px; }
.cap__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin-top: 30px; }
.cap__tags li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: 13.5px; }
.cap__tags .ico { width: 14px; height: 14px; }
.cap__media { position: relative; margin-top: clamp(48px, 6vw, 80px); aspect-ratio: 16 / 7.5; overflow: hidden; background: rgba(0, 0, 0, .15); }
.cap__media .cap__img { width: 100%; height: 100%; object-fit: cover; }
.cap__media .ph { background-color: rgba(255, 255, 255, .06); background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px); color: #fff; }
.cap__media .ph__cross { opacity: .3; }
.cap__media .ph__label { background: var(--plum); border-color: rgba(255, 255, 255, .35); color: #fff; }
.cap__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 132px; height: 132px; border-radius: 50%; background: #fff; color: var(--plum); display: grid; place-content: center; justify-items: center; gap: 6px; transition: transform .35s var(--ease); }
.cap__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.cap__play .ico { width: 30px; height: 30px; }
.cap__play .mono { font-size: 13px; }
.cap__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cap__corner { position: absolute; left: 0; bottom: 0; padding: 12px 16px; background: var(--plum); color: rgba(255, 255, 255, .85); font-size: 12px; }
@media (max-width: 560px) { .cap__media { aspect-ratio: 4 / 3; } .cap__play { width: 96px; height: 96px; } }

/* ==========================================================================
   11. Products
   ========================================================================== */
.rail { overflow: hidden; }
.rail__nav { display: flex; align-items: center; gap: 10px; }
.rail__nav .link-arrow { margin-left: 14px; }
.rail__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); cursor: grab; }
.rail__viewport::-webkit-scrollbar { display: none; }
.rail__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__viewport.is-dragging a { pointer-events: none; }
.rail__track { display: flex; gap: 20px; list-style: none; width: max-content; }
.rail__item { width: clamp(236px, 23vw, 312px); scroll-snap-align: start; }
@media (max-width: 560px) { .rail__nav .icon-btn { display: none; } .rail__nav .link-arrow { margin-left: 0; } }

.pcard__link { display: grid; gap: 14px; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--paper); }
.pcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard__link:hover .pcard__img { transform: scale(1.045); }
.pcard__go { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--plum); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: all .3s var(--ease); }
.pcard__link:hover .pcard__go { opacity: 1; transform: none; }
.pcard__body { display: grid; gap: 6px; }
.pcard__meta { display: flex; gap: 10px; color: var(--muted); font-size: 12px; }
.pcard__meta span + span::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.pcard__title { font-weight: 600; font-size: 16px; line-height: 1.45; transition: color .2s; }
.pcard__link:hover .pcard__title { color: var(--plum); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; list-style: none; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; } .pcard__title { font-size: 14.5px; } }

/* ==========================================================================
   12. Posts
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.post-card__link { display: grid; gap: 14px; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-sm); background: var(--paper); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card__link:hover .post-card__img { transform: scale(1.04); }
.post-card__meta { display: flex; gap: 16px; color: var(--muted); font-size: 12px; }
.post-card__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.38; letter-spacing: -.01em; transition: color .2s; }
.post-card__link:hover .post-card__title { color: var(--plum); }
.post-card__excerpt { color: var(--ink-2); font-size: 15px; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); }
.post-card__more .ico { width: 16px; transition: transform .3s var(--ease); }
.post-card__link:hover .post-card__more .ico { transform: translateX(4px); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
	.post-grid { grid-template-columns: 1fr; }
	.news .post-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.news .post-grid::-webkit-scrollbar { display: none; }
	.news .post-card { flex: 0 0 80%; scroll-snap-align: start; }
	.news .post-card__excerpt { display: none; }
}

/* ==========================================================================
   13. Quote + forms
   ========================================================================== */
.quote { background: var(--paper); border-top: 1px solid var(--line); }
.quote__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote__lead { margin: 22px 0 32px; color: var(--ink-2); max-width: 440px; }
.quote__card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 60px -50px rgba(23, 21, 26, .45); }
.quote__card::before, .quote__card::after { content: ""; position: absolute; width: 15px; height: 15px; background: linear-gradient(var(--plum), var(--plum)) center / 1.5px 100% no-repeat, linear-gradient(var(--plum), var(--plum)) center / 100% 1.5px no-repeat; }
.quote__card::before { left: -8px; top: -8px; }
.quote__card::after { right: -8px; bottom: -8px; }
.contact-list { list-style: none; display: grid; gap: 4px; }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.contact-list a:hover { color: var(--plum); }
.contact-list .ico { width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white); }
.contact-list span { display: grid; font-weight: 600; font-size: 17px; }
.contact-list small { font-weight: 400; color: var(--muted); font-size: 12px; }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label b { color: var(--plum); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1px solid var(--line-strong); border-radius: 9px; background: #fbfaf8;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.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: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); background-color: var(--white); box-shadow: 0 0 0 4px rgba(147, 40, 96, .12); }
.field input.is-invalid { border-color: #c0392b; }
.quote-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.quote-form__note { color: var(--muted); font-size: 12px; text-transform: none; letter-spacing: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 9px; font-size: 14.5px; }
.notice--ok { background: #eaf6ee; color: #1d6b3a; }
.notice--err { background: #fbecea; color: #9b2c1f; }
@media (max-width: 900px) { .quote__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .quote-form { grid-template-columns: 1fr; } .quote-form__foot .btn { width: 100%; } }

/* Contact template */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__form-title { font-family: var(--f-display); font-weight: 600; font-size: 26px; margin-bottom: 22px; }
.contact-cards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.contact-cards a { position: relative; display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: border-color .2s, background .2s; }
.contact-cards a:hover { border-color: var(--plum); background: var(--plum-tint); }
.contact-cards .mono { color: var(--muted); font-size: 12.5px; }
.contact-cards strong { font-family: var(--f-display); font-weight: 600; font-size: 19px; word-break: break-word; }
.contact-cards .ico { position: absolute; right: 14px; top: 14px; color: var(--plum); }
.contact__map { margin-top: 24px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }

/* Specs list */
.specs { display: grid; border-top: 1px solid var(--line); margin: 28px 0; }
.specs > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-top: 3px; }
.specs dd { margin: 0; font-size: 15px; }
.specs--compact > div { grid-template-columns: 96px 1fr; padding: 12px 0; }

/* ==========================================================================
   14. Inner pages
   ========================================================================== */
.phead { position: relative; background: var(--paper); overflow: hidden; }
.phead__inner { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(44px, 6vw, 80px); }
.phead__inner .trail { margin-bottom: 26px; }
.phead__title { position: relative; z-index: 1; max-width: 900px; font-size: clamp(40px, 6.4vw, 92px); line-height: 1.1; letter-spacing: -.035em; }
.phead__lead { position: relative; z-index: 1; max-width: 620px; margin-top: 22px; color: var(--ink-2); font-size: 17px; }
.phead__lead p { margin: 0; }
.phead__block { position: absolute; z-index: 0; top: 0; bottom: 0; right: calc(50% - 50vw); width: calc(18% + (50vw - 50%)); background: var(--plum); }
.phead__block::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, #fff 0 9px, transparent 9px 15px); opacity: .5; left: 18px; }
@media (max-width: 760px) { .phead__block { width: 54px; right: 0; } }

.trail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.trail a:hover { color: var(--plum); }

.page-cover { margin: 0 0 40px; border-radius: var(--r); overflow: hidden; }

.prose { max-width: 760px; font-size: 17px; line-height: 1.85; color: #2b282e; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.32; letter-spacing: -.015em; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; margin-top: 1.6em; color: var(--ink); }
.prose h4 { font-weight: 600; font-size: 18px; margin-top: 1.4em; }
.prose a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--plum); }
.prose img { border-radius: var(--r-sm); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 8px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--plum); font-family: var(--f-display); font-size: 21px; line-height: 1.45; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--paper); font-weight: 600; }
.prose hr { border: 0; height: 2px; background: var(--stitch); opacity: .5; margin-block: 2.4em; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-image img { border-radius: var(--r-sm); }
.fs-compat + .fs-compat { margin-top: 1.1em; }

.article__head { padding-block: clamp(36px, 5vw, 64px) 28px; }
.article__head .trail { margin-bottom: 26px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); margin-bottom: 18px; }
.article__meta a { color: var(--plum); }
.article__title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.18; }
.article__cover { margin: 8px auto 48px; }
.article__cover img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 8; object-fit: cover; }
.article__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 56px 0 24px; padding: 22px 24px; border: 1px dashed var(--plum-soft); border-radius: var(--r); background: var(--plum-tint); }

.pagination, .navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); display: inline-grid; place-items: center; font-family: var(--f-mono); font-size: 13px; transition: all .2s; }
.page-numbers:hover { border-color: var(--ink); }
.page-numbers.current { background: var(--plum); border-color: var(--plum); color: #fff; }
.page-numbers.dots { border: 0; }

.empty { padding: 48px 0; display: grid; gap: 14px; justify-items: start; color: var(--ink-2); }
.search-form { display: flex; width: min(100%, 420px); border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--white); }
.search-form input { flex: 1; min-width: 0; border: 0; padding: 0 20px; height: 50px; background: transparent; }
.search-form input:focus { outline: none; }
.search-form button { width: 54px; display: grid; place-items: center; color: var(--plum); }

.notfound { padding-block: clamp(80px, 12vw, 160px); background: var(--paper); }
.notfound__code { color: var(--plum); }
.notfound__title { font-size: clamp(120px, 24vw, 340px); line-height: .85; letter-spacing: -.05em; margin: 18px 0; font-weight: 700; }
.notfound__text { font-size: 18px; color: var(--ink-2); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments__title, .comment-reply-title { font-family: var(--f-display); font-size: 26px; font-weight: 600; margin-bottom: 20px; }
.comments__list { list-style: none; display: grid; gap: 20px; margin-bottom: 40px; }
.comment-body { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.comment-form { display: grid; gap: 14px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 9px; }

/* ==========================================================================
   15. WooCommerce single
   ========================================================================== */
.product-wrap { padding-block: 28px clamp(64px, 8vw, 110px); }
.product-wrap > .trail { margin-bottom: 26px; }
.product-wrap div.product { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.product-wrap .woocommerce-tabs, .product-wrap .related, .product-wrap .upsells { grid-column: 1 / -1; }
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: var(--paper); border-radius: var(--r-sm); overflow: hidden; }
.woocommerce-product-gallery__image img { width: 100%; }
.woocommerce-product-gallery__trigger { position: absolute; z-index: 5; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 0; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .4); }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 1.6px solid var(--ink); border-radius: 50%; margin: -3px 0 0 -3px; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 7px; height: 1.6px; background: var(--ink); transform: rotate(45deg); margin: 13px 0 0 13px; }
.woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; list-style: none; }
.flex-control-thumbs img { border-radius: 4px; opacity: .55; cursor: pointer; transition: opacity .2s; background: var(--paper); }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }
.product-wrap .summary { position: sticky; top: calc(var(--header-h) + 24px); }
.product__title { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.16; margin-bottom: 18px; }
.woocommerce-product-details__short-description { color: var(--ink-2); font-size: 16.5px; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product__note { margin-top: 16px; color: var(--muted); font-size: 12px; text-transform: none; letter-spacing: 0; max-width: 420px; }
.woocommerce-tabs { margin-top: clamp(40px, 6vw, 72px); }
.woocommerce-tabs ul.tabs { display: flex; gap: 28px; list-style: none; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.woocommerce-tabs ul.tabs a { display: block; padding: 14px 0; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-color: var(--plum); }
.woocommerce-Tabs-panel { max-width: 780px; font-size: 16.5px; line-height: 1.85; color: #2b282e; }
.woocommerce-Tabs-panel p + p { margin-top: 1em; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-product-attributes th { width: 200px; font-size: 14px; color: var(--muted); font-weight: 400; }
.related, .upsells { margin-top: clamp(56px, 7vw, 96px); }
.related > h2, .upsells > h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.02em; margin-bottom: 32px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 14px 18px; border-radius: 9px; background: var(--paper); margin-bottom: 20px; list-style: none; }
@media (max-width: 900px) {
	.product-wrap div.product { grid-template-columns: 1fr; }
	.product-wrap .summary { position: static; }
}

/* ==========================================================================
   16. Footer + mobile bar
   ========================================================================== */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); font-size: 15px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__brand { display: grid; gap: 18px; max-width: 340px; }
.site-footer__brand .brand__img { height: 56px; }
.site-footer__big { display: inline-flex; align-items: center; gap: 22px; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 68px); letter-spacing: -.03em; line-height: 1; color: #fff; }
.site-footer__big span:first-child { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 8px; transition: background-size .5s var(--ease); }
.site-footer__big:hover span:first-child { background-size: 100% 1.5px; }
.site-footer__big-ico { width: clamp(52px, 5vw, 76px); height: clamp(52px, 5vw, 76px); border-radius: 50%; background: var(--plum); display: grid; place-items: center; transition: transform .4s var(--ease); flex: none; }
.site-footer__big-ico .ico { width: 40%; height: 40%; }
.site-footer__big:hover .site-footer__big-ico { transform: rotate(45deg); }
.site-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-block: 48px; }
.site-footer__col h3 { color: rgba(255, 255, 255, .45); margin-bottom: 18px; font-size: 12px; }
.site-footer__col p + p { margin-top: 8px; }
.site-footer__col strong { color: #fff; font-weight: 500; }
.site-footer__col ul { list-style: none; display: grid; gap: 10px; }
.site-footer__col a { transition: color .2s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col .mono { font-size: 12.5px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__contact .ico { color: var(--plum-soft); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .45); font-size: 12px; }
@media (max-width: 900px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
	.site-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 36px; }
	.site-footer__col:first-child, .site-footer__col:last-child { grid-column: 1 / -1; }
}

.mbar { display: none; }
@media (max-width: 900px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.mbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		display: grid; grid-template-columns: 1fr 1fr 1.6fr;
		height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
		background: var(--white); border-top: 1px solid var(--line);
		box-shadow: 0 -10px 30px -24px rgba(23, 21, 26, .5);
	}
	.mbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--ink); }
	.mbar__item .ico { width: 22px; height: 22px; color: var(--plum); }
	.mbar__item + .mbar__item { border-left: 1px solid var(--line); }
	.mbar__item--cta { flex-direction: row; gap: 8px; background: var(--plum); color: #fff; font-size: 14.5px; border-left: 0 !important; }
	.mbar__item--cta .ico { color: #fff; width: 18px; height: 18px; }
}

/* ==========================================================================
   17. Motion
   ========================================================================== */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.strip__track { animation: none; }
	.strip { overflow-x: auto; }
	.rv { opacity: 1; transform: none; }
}
