/* ==========================================================================
   STARK Hardware — front-end styles
   Palette and type follow the approved Figma design. Logical properties keep
   every layout correct in Arabic (RTL).
   ========================================================================== */

:root {
	--taupe: #7E6D62;
	--taupe-deep: #7A6D62;
	--taupe-dark: #5E534A;
	--taupe-card: #9A8D82;
	--stone: #B3A8A0;
	--mist: #D9D3CF;
	--ivory: #F4EDE9;
	--ink: #141313;
	--ink-2: #2A2624;
	--grey: #727171;
	--placeholder: #B8B8B8;

	--line: rgba(244, 237, 233, 0.15);
	--line-soft: rgba(244, 237, 233, 0.08);
	--line-strong: rgba(244, 237, 233, 0.28);
	--line-light: rgba(20, 19, 19, 0.1);
	--line-light-strong: rgba(20, 19, 19, 0.18);

	--font: 'Jost', system-ui, sans-serif;
	--font-ar: 'IBM Plex Sans Arabic', 'Jost', system-ui, sans-serif;
	--mono: 'Courier New', Courier, monospace;

	--nav-h: 72px;
	--gutter: 24px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
	:root { --gutter: 64px; }
}

/* ── Base ─────────────────────────────────────────────────────────────── */

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

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

body {
	margin: 0;
	background: var(--taupe);
	color: var(--ivory);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

html[dir="rtl"] body,
html[lang^="ar"] body { font-family: var(--font-ar); }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, blockquote, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--ivory); outline-offset: 3px; }
.section--ivory :focus-visible { outline-color: var(--ink); }

::selection { background: var(--ink); color: var(--ivory); }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #6E6358; }
::-webkit-scrollbar-thumb { background: var(--stone); }
* { scrollbar-width: thin; scrollbar-color: var(--stone) #6E6358; }

.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:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	inset-inline-start: 16px; top: 16px; z-index: 300;
	padding: 12px 20px; background: var(--ink); color: var(--ivory);
}

.container {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ── Type utilities ───────────────────────────────────────────────────── */

.eyebrow {
	color: var(--mist);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	margin-bottom: 40px;
}
.eyebrow--on-light { color: var(--taupe); }

.label-xs {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--mist);
	margin-bottom: 16px;
}
.label-xs--muted { color: var(--mist); letter-spacing: 0.18em; font-size: 11px; margin-bottom: 0; }
.label-xs--bright { color: var(--ivory); }
.label-xs--taupe { color: var(--taupe); }

.label-sm {
	color: var(--mist);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	margin-bottom: 12px;
}

.link-xs {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--mist);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	transition: color 0.2s, gap 0.3s;
}
.link-xs:hover { color: var(--ivory); gap: 12px; }
.link-xs--taupe { color: var(--taupe); }
.link-xs--taupe:hover { color: var(--ink); }

.display-2,
.display-3,
.display-4 {
	color: var(--ivory);
	font-weight: 600;
	letter-spacing: -0.025em;
}
.display-2 { font-size: clamp(2.8rem, 5vw, 6rem); line-height: 1; letter-spacing: -0.03em; }
.display-3 { font-size: clamp(2.2rem, 4vw, 5rem); line-height: 1.05; }
.display-4 { font-size: clamp(2rem, 3.5vw, 4rem); line-height: 1.1; }
.on-light { color: var(--ink); }

.rule-sm { display: block; width: 28px; height: 1px; background: var(--mist); }

.hairline { width: 100%; height: 1px; background: rgba(244, 237, 233, 0.16); }
.section--ivory .hairline { background: var(--line-light); }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.8s var(--ease) var(--reveal-delay, 0ms),
		transform 0.8s var(--ease) var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 12px 24px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
	white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: var(--ink-2); }
.btn--outline { border: 1px solid var(--line-strong); color: var(--ivory); }
.btn--outline:hover { border-color: var(--ivory); }
.btn--outline-dark { border: 1px solid var(--line-light-strong); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); }
.btn--whatsapp { background: #1F7A4D; color: #fff; }
.btn--whatsapp:hover { background: #18633e; }
.btn--lg { padding: 14px 32px; letter-spacing: 0.18em; }
.btn--sm { padding: 10px 18px; gap: 10px; }
.btn--nav { padding: 9px 20px; position: relative; }
.btn--block { width: 100%; padding-block: 16px; letter-spacing: 0.18em; }
.btn--grow { flex: 1; }
.btn--arrow span { transition: transform 0.3s; }
.btn--arrow:hover span { transform: translateX(4px); }
[dir="rtl"] .btn--arrow:hover span { transform: translateX(-4px); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.quote-badge {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding-inline: 5px;
	border-radius: 9px;
	background: var(--ivory);
	color: var(--ink);
	font-size: 10px;
	letter-spacing: 0;
}

/* ── Navigation ───────────────────────────────────────────────────────── */

.site-nav {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	transition: background 0.5s, border-color 0.5s;
	border-bottom: 1px solid transparent;
}
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }

.site-nav.is-solid,
.site-nav.is-scrolled,
.site-nav.is-open {
	background: rgba(126, 109, 98, 0.97);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border-bottom-color: var(--line);
}

.site-nav__inner {
	height: var(--nav-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.wordmark {
	font-family: var(--font);
	font-weight: 700;
	font-style: italic;
	font-size: 24px;
	letter-spacing: -0.025em;
	color: var(--ivory);
	flex-shrink: 0;
}
.wordmark--lg { font-size: 30px; display: block; margin-bottom: 8px; }
.wordmark__logo { max-height: 40px; width: auto; }

.site-nav__links { display: none; }
.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-list a,
.nav-link,
.lang-toggle {
	color: var(--mist);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	transition: color 0.2s;
}
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current_page_parent > a,
.nav-link:hover,
.lang-toggle:hover { color: var(--ivory); }

.nav-link--icon { display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.14em; }
.nav-link--bright { color: var(--ivory); }
.nav-link--bright:hover { color: var(--mist); }

.lang-toggle { border: 1px solid rgba(244, 237, 233, 0.25); padding: 4px 10px; }

.site-nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.hide-sm, .show-xl { display: none; }

.nav-toggle { color: var(--mist); padding: 8px; margin-inline-end: -8px; }
.nav-toggle:hover { color: var(--ivory); }
.nav-toggle__close { display: none; }
.is-open .nav-toggle__open { display: none; }
.is-open .nav-toggle__close { display: inline; }

.mobile-menu {
	background: rgba(126, 109, 98, 0.98);
	border-top: 1px solid var(--line);
	padding: 32px var(--gutter);
	max-height: calc(100vh - var(--nav-h));
	overflow-y: auto;
}
.mobile-menu__list { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu__list a {
	color: var(--mist);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}
.mobile-menu__list .current-menu-item > a,
.mobile-menu__list a:hover { color: var(--ivory); }
.mobile-menu__footer {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

@media (min-width: 768px) {
	.hide-sm { display: inline-flex; }
	.site-nav__actions { gap: 16px; }
}
@media (min-width: 1024px) {
	.site-nav__links { display: block; }
	.nav-toggle, .mobile-menu { display: none !important; }
}
@media (min-width: 1280px) {
	.show-xl { display: inline; }
	.nav-list { gap: 32px; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.site-main { display: block; }

.section { background: var(--taupe); padding-block: 128px; }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--deep { background: var(--taupe-deep); }
.section--tight { padding-block: 80px; }
@media (min-width: 1024px) {
	.section { padding-block: 192px; }
	.section--tight { padding-block: 112px; }
}

.section-head {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 64px;
}
.section-head--spaced { margin-bottom: 80px; }
@media (min-width: 768px) {
	.section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-head > .link-xs { margin-bottom: 8px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--taupe);
}
.hero__wash {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(20, 19, 19, 0.18) 0%, transparent 70%);
}
.hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	padding-top: var(--nav-h);
	min-height: 100vh;
	min-height: 100svh;
}
.hero__copy { padding-block: 96px; position: relative; }
.hero__title {
	color: var(--ivory);
	font-weight: 600;
	line-height: 0.88;
	font-size: clamp(3.8rem, 8.5vw, 9.5rem);
	letter-spacing: -0.03em;
}
.hero__line { display: block; }
[dir="rtl"] .hero__title { line-height: 1.15; letter-spacing: 0; }
.hero__rule { width: 48px; height: 1px; background: rgba(217, 211, 207, 0.5); margin-block: 40px; }
.hero__sub { color: var(--mist); font-size: 17px; line-height: 1.65; max-width: 380px; }
.hero__copy .btn { margin-top: 40px; }

.hero__media { display: none; position: relative; align-self: stretch; }
.hero__frame {
	position: absolute;
	inset: 0;
	top: var(--nav-h);
	overflow: hidden;
	background: var(--taupe-dark);
}
.hero__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: contrast(1.06) brightness(0.82);
	transform: scale(1.1);
	will-change: transform;
}
.hero__fade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to left, rgba(126, 109, 98, 0) 0%, rgba(126, 109, 98, 0.55) 100%);
}
[dir="rtl"] .hero__fade { background: linear-gradient(to right, rgba(126, 109, 98, 0) 0%, rgba(126, 109, 98, 0.55) 100%); }
.hero__sweep {
	position: absolute;
	top: 0;
	left: -40%;
	width: 45%;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 15%, rgba(244, 237, 233, 0.07) 40%, rgba(244, 237, 233, 0.11) 50%, rgba(244, 237, 233, 0.07) 60%, transparent 85%);
	animation: lightSweep 2.4s ease-out 1.1s 1 both;
}
@keyframes lightSweep {
	0% { transform: translateX(-120%) skewX(-8deg); opacity: 0; }
	8% { opacity: 1; }
	92% { opacity: 0.7; }
	100% { transform: translateX(320%) skewX(-8deg); opacity: 0; }
}

.hero__scroll { position: absolute; bottom: 32px; inset-inline-start: var(--gutter); text-align: center; }
.hero__scroll span { display: block; width: 1px; height: 56px; background: rgba(217, 211, 207, 0.35); margin: 0 auto 12px; }
.hero__scroll p { color: var(--mist); font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; }

@media (min-width: 1024px) {
	.hero__grid { grid-template-columns: 1fr 480px; }
	.hero__copy { padding-block: 144px; padding-inline-end: 80px; }
	.hero__media { display: block; }
}
@media (min-width: 1280px) {
	.hero__grid { grid-template-columns: 1fr 560px; }
}

/* ── Statement ────────────────────────────────────────────────────────── */

.statement { display: grid; gap: 64px; align-items: end; }
.statement__quote {
	color: var(--ink);
	font-weight: 300;
	line-height: 1.1;
	font-size: clamp(1.9rem, 3.8vw, 3.6rem);
	letter-spacing: -0.02em;
}
[dir="rtl"] .statement__quote { line-height: 1.4; letter-spacing: 0; }
.statement__body { padding-top: 32px; border-top: 1px solid rgba(126, 109, 98, 0.3); }
.statement__body,
.statement__body p { color: var(--grey); font-size: 15px; line-height: 1.75; }
.statement__body p + p { margin-top: 1em; }
@media (min-width: 1024px) {
	.statement { grid-template-columns: 1fr 1fr; gap: 112px; }
}

/* ── Values ───────────────────────────────────────────────────────────── */

.value-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: rgba(244, 237, 233, 0.1);
}
.value-card { background: var(--taupe); padding: 40px; height: 100%; }
.value-card__num { display: block; color: var(--mist); font-size: 14px; font-weight: 300; letter-spacing: 0.18em; margin-bottom: 32px; font-variant-numeric: tabular-nums; }
.value-card__title {
	color: var(--ivory);
	font-weight: 500;
	line-height: 1.15;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	letter-spacing: -0.015em;
	margin-bottom: 28px;
	max-width: 12ch;
}
.value-card .rule-sm { margin-bottom: 28px; }
.value-card__body { color: var(--mist); font-size: 14px; line-height: 1.75; }
@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .value-card { padding: 56px; } }

.cert-strip {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.cert-strip__title { color: var(--ivory); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-top: 8px; }
@media (min-width: 768px) {
	.cert-strip { flex-direction: row; align-items: center; justify-content: space-between; }
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
	color: var(--ivory);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	padding: 6px 12px;
	border: 1px solid rgba(244, 237, 233, 0.35);
}

/* ── Category cards (home) ────────────────────────────────────────────── */

.cat-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--mist); }
.cat-card { background: var(--ivory); display: flex; flex-direction: column; height: 100%; }
.cat-card__media { overflow: hidden; background: var(--mist); flex-shrink: 0; }
.cat-card__media img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.7s; }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.cat-card__title { color: var(--ink); font-size: 20px; font-weight: 500; letter-spacing: -0.012em; margin-bottom: 12px; }
.cat-card__text { color: var(--grey); font-size: 14px; line-height: 1.7; margin-bottom: 24px; flex: 1; }
.cat-card__more {
	color: var(--taupe);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	display: inline-flex;
	gap: 8px;
	transition: gap 0.3s;
}
.cat-card:hover .cat-card__more { gap: 12px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-card__media img { height: 400px; } }

/* ── Audience ─────────────────────────────────────────────────────────── */

.audience-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.audience-card { padding-top: 32px; border-top: 1.5px solid rgba(244, 237, 233, 0.5); }
.audience-card__title {
	color: var(--ivory);
	font-weight: 500;
	line-height: 1.2;
	font-size: clamp(1.3rem, 1.8vw, 1.6rem);
	letter-spacing: -0.012em;
	margin-bottom: 20px;
	max-width: 14ch;
}
.audience-card__body { color: var(--mist); font-size: 14px; line-height: 1.75; }
@media (min-width: 768px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .audience-grid { gap: 64px; } }

/* ── Material study strip (home) ──────────────────────────────────────── */

.study { display: flex; flex-direction: column; gap: 8px; }
.study__top, .study__row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.study__stack { display: flex; flex-direction: column; gap: 8px; }
.study__tile { overflow: hidden; background: var(--taupe-dark); }
.study__tile img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) brightness(0.86); }
.study__tile--xl { height: 400px; }
.study__tile--md { height: 200px; }
.study__tile--sm { height: 220px; }
@media (min-width: 768px) {
	.study__top { grid-template-columns: 1fr 1fr; }
	.study__row { grid-template-columns: repeat(3, 1fr); }
	.study__tile--xl { height: 580px; }
	.study__tile--md { height: 285px; flex: 1; }
}
@media (min-width: 1024px) {
	.study, .study__top, .study__row, .study__stack { gap: 12px; }
	.study__tile--sm { height: 260px; }
}

/* ── Contact (home + contact page) ────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
.contact-grid .display-4 { margin-bottom: 32px; }
.contact-grid__body { color: var(--grey); font-size: 15px; line-height: 1.75; margin-bottom: 56px; max-width: 400px; }
.contact-grid__rfq { margin-top: 24px; color: var(--grey); font-size: 13px; }
.contact-grid__rfq a { color: var(--taupe); border-bottom: 1px solid currentColor; }
.contact-grid__rfq a:hover { color: var(--ink); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 128px; } }

.detail-list { border-bottom: 1px solid var(--line-light); }
.detail-list__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 16px;
	border-top: 1px solid var(--line-light);
}
.detail-list dt { color: var(--grey); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; flex-shrink: 0; }
.detail-list dd { color: var(--ink); font-size: 14px; text-align: end; }
.detail-list a:hover { color: var(--taupe); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.map { background: var(--taupe-dark); }
.map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(0.85) sepia(0.15) contrast(0.95); }

/* ── Forms ────────────────────────────────────────────────────────────── */

.stark-form .field { border-bottom: 1px solid var(--line-strong); }
.stark-form input,
.stark-form textarea,
.stark-form select {
	width: 100%;
	background: transparent;
	border: 0;
	border-radius: 0;
	padding-block: 20px;
	font-size: 14px;
	color: var(--ivory);
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}
.stark-form textarea { resize: vertical; min-height: 120px; }
.stark-form input::placeholder,
.stark-form textarea::placeholder { color: var(--stone); }
.stark-form .field:focus-within { border-bottom-color: var(--ivory); }

.stark-form--light .field { border-bottom-color: var(--line-light-strong); }
.stark-form--light input,
.stark-form--light textarea,
.stark-form--light select { color: var(--ink); }
.stark-form--light input::placeholder,
.stark-form--light textarea::placeholder { color: var(--placeholder); }
.stark-form--light select:invalid,
.stark-form--light select option[value=""] { color: var(--placeholder); }
.stark-form--light .field:focus-within { border-bottom-color: var(--ink); }

.stark-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23806F61' stroke-width='1.2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	padding-inline-end: 24px;
	cursor: pointer;
}
[dir="rtl"] .stark-form select { background-position: left 4px center; }

.stark-form .field.has-error { border-bottom-color: #a3332a; }
.field-grid { display: grid; grid-template-columns: 1fr; column-gap: 32px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }

.field--file { border-bottom: 0 !important; padding-top: 20px; }
.file-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px;
	border: 1px dashed var(--line-light-strong);
	color: var(--grey);
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}
.file-label:hover, .field--file:focus-within .file-label { border-color: var(--ink); color: var(--ink); }

.form-actions { padding-top: 32px; }
.form-status { margin-top: 16px; font-size: 13px; line-height: 1.6; min-height: 1em; }
.form-status.is-error { color: #a3332a; }
.form-status.is-success { color: #2c5e3f; }
.stark-form:not(.stark-form--light) .form-status.is-error { color: #ffd9d4; }
.stark-form:not(.stark-form--light) .form-status.is-success { color: var(--ivory); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Page header (inner pages) ────────────────────────────────────────── */

.page-header { border-bottom: 1px solid var(--line); padding-top: var(--nav-h); }
.page-header__inner { padding-top: 128px; padding-bottom: 64px; }
.page-header__row {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-bottom: 0;
}
.page-header__row:not(:last-child) { margin-bottom: 48px; }
.page-header__sub { color: var(--mist); font-size: 15px; line-height: 1.7; margin-top: 20px; max-width: 520px; }
@media (min-width: 768px) {
	.page-header__row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.stats { display: flex; align-items: center; gap: 40px; }
.stats div { display: flex; flex-direction: column-reverse; text-align: center; }
.stats dd { color: var(--ivory); font-weight: 300; font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.stats dt { color: var(--stone); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; }

/* ── Catalogue controls ───────────────────────────────────────────────── */

.search-field {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--line-strong);
	color: var(--stone);
}
.search-field:focus-within { border-bottom-color: var(--ivory); }
.search-field input {
	flex: 1;
	background: transparent;
	border: 0;
	padding-block: 12px;
	font-size: 14px;
	color: var(--ivory);
	caret-color: var(--ivory);
	outline: none;
	-webkit-appearance: none;
}
.search-field input::placeholder { color: var(--stone); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field__clear { color: var(--stone); }
.search-field__clear:hover { color: var(--ivory); }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row--sub { margin-top: 12px; padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.pill {
	display: inline-block;
	padding: 8px 16px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--mist);
	border: 1px solid rgba(244, 237, 233, 0.25);
	background: transparent;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover { color: var(--ivory); border-color: rgba(244, 237, 233, 0.5); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.pill--sub { padding: 6px 12px; font-size: 10px; }
.pill--sm { padding: 7px 16px; font-size: 10px; }

.filter-selects { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.select-field { display: inline-flex; align-items: center; gap: 10px; }
.select-field span { color: var(--stone); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; }
.select-field select {
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23D9D3CF' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 2px center;
	border: 0;
	border-bottom: 1px solid var(--line-strong);
	border-radius: 0;
	color: var(--ivory);
	font-size: 12px;
	padding: 6px 22px 6px 0;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
[dir="rtl"] .select-field select { background-position: left 2px center; padding: 6px 0 6px 22px; }
.select-field select option { color: var(--ink); background: var(--ivory); }

.tagline { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.tagline .rule-sm { width: 24px; background: rgba(244, 237, 233, 0.35); }
.tagline p { color: var(--mist); font-size: 13px; font-style: italic; }

/* ── Catalogue grid & product cards ───────────────────────────────────── */

.catalog, .listing { padding-block: 64px; }

.count-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; min-height: 18px; }
.count-row__count { color: var(--mist); font-size: 12px; letter-spacing: 0.1em; }
.count-row__count em { color: var(--stone); font-style: normal; margin-inline-start: 8px; }

.product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--line-soft);
}
.product-grid__cell { background: var(--taupe); }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
	display: block;
	height: 100%;
	background: var(--taupe-card);
	border: 1px solid var(--line-soft);
	transition: background 0.3s;
}
.product-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ivory);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.product-card__media img {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.5s;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.skeleton {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #C5BFBB 25%, var(--mist) 50%, #C5BFBB 75%);
	background-size: 200% 100%;
	animation: shimmer 1.8s ease-in-out infinite;
	transition: opacity 0.5s;
}
.is-loaded .skeleton { opacity: 0; animation: none; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.product-card__placeholder { position: relative; z-index: 2; color: var(--taupe); font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; }
@media (min-width: 1024px) { .product-card__media { padding: 32px; } }

.product-card__body { padding: 20px; border-top: 1px solid rgba(244, 237, 233, 0.12); }
.product-card__code { color: var(--mist); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 6px; }
.product-card__name { color: var(--ivory); font-size: 13px; font-weight: 500; line-height: 1.375; margin-bottom: 8px; }
.product-card:hover .product-card__name { color: #fff; }
.product-card__spec {
	color: var(--mist);
	font-size: 12px;
	line-height: 1.6;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.product-card__more {
	margin-top: 16px;
	display: inline-flex;
	gap: 6px;
	color: var(--ivory);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	transition: gap 0.3s;
}
.product-card:hover .product-card__more { gap: 10px; }

.empty-state { padding-block: 128px; text-align: center; color: var(--mist); font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty-state--light { color: var(--grey); }

.catalog-cta {
	margin-top: 64px;
	padding: 32px;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
}
.catalog-cta p { color: var(--mist); font-size: 15px; }
@media (min-width: 768px) {
	.catalog-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── Back bar ─────────────────────────────────────────────────────────── */

.back-bar {
	position: sticky;
	top: var(--nav-h);
	z-index: 30;
	background: var(--taupe);
	border-bottom: 1px solid var(--line);
	margin-top: var(--nav-h);
}
.admin-bar .back-bar { top: calc(var(--nav-h) + 32px); }
.back-bar__inner { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back-bar__crumb { color: var(--stone); }

/* ── Product detail ───────────────────────────────────────────────────── */

.product {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: start;
	padding-block: 64px;
}
@media (min-width: 1024px) {
	.product { grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 96px; }
	.product__media { position: sticky; top: 128px; }
}

.product-viewer { position: relative; aspect-ratio: 1; overflow: hidden; }
.product-viewer__panel {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-viewer__panel.is-active { opacity: 1; pointer-events: auto; }
.product-viewer__panel--photo {
	background: var(--ivory);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}
.product-viewer__img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transition: filter 0.55s ease-in-out; }
.product-viewer__img img { width: 100%; height: 100%; object-fit: contain; }
.product-viewer__img.is-matte { filter: saturate(0) brightness(0.24) contrast(1.12); }
.product-viewer__panel--blueprint { background: #7A6A5E; display: flex; align-items: center; justify-content: center; }
.product-viewer__panel--blueprint svg,
.product-viewer__panel--blueprint img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1024px) { .product-viewer__panel--photo { padding: 56px; } }

.view-toggle { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 10; display: flex; }
.view-toggle button {
	padding: 6px 12px;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	background: rgba(126, 109, 98, 0.75);
	color: var(--mist);
	border: 1px solid rgba(244, 237, 233, 0.22);
	backdrop-filter: blur(4px);
	transition: background 0.2s, color 0.2s;
}
.view-toggle button.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs__item { width: 72px; height: 72px; flex-shrink: 0; background: var(--ivory); padding: 6px; border: 1px solid transparent; opacity: 0.7; }
.thumbs__item.is-active, .thumbs__item:hover { opacity: 1; border-color: var(--ink); }
.thumbs__item img { width: 100%; height: 100%; object-fit: contain; }

.product__title {
	color: var(--ivory);
	font-weight: 600;
	line-height: 1.1;
	font-size: clamp(1.6rem, 2.8vw, 2.8rem);
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}
.product__code { color: var(--mist); font-size: 13px; font-weight: 300; letter-spacing: 0.08em; margin-bottom: 24px; }
.finish-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.finish-switch .pill { border-color: var(--line-strong); }
.product__info > .hairline { margin-bottom: 32px; }
.product__description { margin-bottom: 48px; }

.prose { font-size: 15px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose--dark { color: var(--mist); }
.prose a { border-bottom: 1px solid currentColor; }
.prose h2, .prose h3 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; margin-top: 1.6em; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.prose ul { list-style: disc; }
.prose--page { max-width: 760px; color: var(--grey); }
.prose--page h2, .prose--page h3 { color: var(--ink); }

.spec-block { margin-bottom: 40px; }
.spec-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec-table thead th {
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(244, 237, 233, 0.18);
	color: var(--stone);
	font-size: 9px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	text-align: start;
}
.spec-table thead th:last-child { text-align: end; }
.spec-table tbody tr { border-bottom: 1px solid rgba(244, 237, 233, 0.07); }
.spec-table tbody th {
	padding: 16px 16px 16px 0;
	padding-inline: 0 16px;
	width: 42%;
	color: var(--stone);
	font-size: 10px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	text-align: start;
	vertical-align: top;
}
.spec-table tbody td {
	padding-block: 16px;
	color: var(--ivory);
	font-family: var(--mono);
	font-size: 13px;
	line-height: 1.6;
	text-align: end;
	transition: opacity 0.3s;
}
.spec-table--wide tbody th { width: 30%; color: var(--ivory); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: none; }
.spec-table--wide tbody td { font-family: inherit; color: var(--mist); text-align: start; font-size: 14px; }

.model-table-wrap { border: 1px solid var(--line); overflow-x: auto; }
.model-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.model-table th {
	padding: 12px 20px;
	background: rgba(244, 237, 233, 0.06);
	border-bottom: 1px solid var(--line);
	color: var(--stone);
	font-size: 9px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	text-align: start;
}
.model-table td { padding: 14px 20px; color: var(--mist); font-family: var(--mono); font-size: 13px; }
.model-table td:first-child { color: var(--ivory); }
.model-table tbody tr:not(:last-child) { border-bottom: 1px solid rgba(244, 237, 233, 0.07); }
.model-table tbody tr:nth-child(even) { background: rgba(244, 237, 233, 0.03); }

.quote-box { margin-block: 32px 24px; display: flex; flex-direction: column; gap: 20px; }
.quote-box__row { display: flex; gap: 8px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); }
.qty button { width: 40px; display: grid; place-items: center; color: var(--mist); }
.qty button:hover { color: var(--ivory); }
.qty input {
	width: 52px;
	background: transparent;
	border: 0;
	text-align: center;
	color: var(--ivory);
	font-size: 14px;
	-moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.doc-box { padding: 32px; background: var(--taupe-card); border: 1px solid rgba(244, 237, 233, 0.13); }
.doc-box__title { color: var(--ivory); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 4px; }
.doc-box__text { color: var(--mist); font-size: 13px; line-height: 1.6; margin-bottom: 24px; }
.doc-box__meta { color: var(--stone); letter-spacing: 0.08em; }

.related { padding-bottom: 96px; }
.related .hairline { margin-bottom: 64px; }

/* ── Projects ─────────────────────────────────────────────────────────── */

.project-grid { display: grid; grid-template-columns: 1fr; gap: 56px 32px; }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card { display: block; }
.project-card__media { position: relative; overflow: hidden; background: var(--taupe-dark); aspect-ratio: 16 / 10; }
.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.88) contrast(1.04);
	transition: transform 0.7s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.4s;
	background: linear-gradient(to top, rgba(20, 19, 19, 0.72) 0%, transparent 60%);
	color: var(--ivory);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}
.project-card:hover .project-card__overlay, .project-card:focus-visible .project-card__overlay { opacity: 1; }
.project-card__badge {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	padding: 4px 10px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	background: rgba(244, 237, 233, 0.12);
	color: var(--mist);
	border: 1px solid var(--line);
	backdrop-filter: blur(6px);
}
.project-card__badge.is-bright { background: rgba(244, 237, 233, 0.18); color: var(--ivory); }
.project-card__body { padding-top: 20px; }
.project-card__title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.project-card__name { color: var(--ivory); font-size: 14px; font-weight: 500; line-height: 1.375; letter-spacing: -0.01em; }
.project-card__year { color: var(--stone); font-size: 12px; flex-shrink: 0; }
.project-card__location { color: var(--mist); font-size: 12px; letter-spacing: 0.02em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { color: var(--stone); font-size: 10px; letter-spacing: 0.1em; padding: 2px 8px; border: 1px solid rgba(244, 237, 233, 0.12); }
.tag--more { border-color: transparent; color: var(--grey); }

.project-grid--on-light .project-card__name { color: var(--ink); }
.project-grid--on-light .project-card__year { color: var(--grey); }
.project-grid--on-light .project-card__location { color: var(--grey); }
.project-grid--on-light .tag { color: var(--taupe); border-color: var(--line-light); }

.project-hero { width: 100%; height: clamp(300px, 55vw, 680px); overflow: hidden; background: var(--taupe-dark); }
.project-hero--short { height: clamp(240px, 40vw, 520px); }
.project-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.84) contrast(1.06); }

.project { padding-block: 64px; }
.project__intro { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.project__intro .display-3 { font-size: clamp(2rem, 4vw, 4.5rem); margin-bottom: 24px; }
.project__narrative { max-width: 560px; }
.project > .hairline { margin-bottom: 64px; }
.project__details { display: grid; grid-template-columns: 1fr; gap: 64px; }
.project__details .label-xs { margin-bottom: 32px; }
@media (min-width: 1024px) {
	.project { padding-block: 96px; }
	.project__intro { grid-template-columns: 1fr 380px; gap: 80px; }
	.project__details { grid-template-columns: 1fr 1fr; gap: 96px; }
}

.meta-card { background: var(--taupe-card); padding: 32px; border: 1px solid rgba(244, 237, 233, 0.12); }
.meta-card__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; border-bottom: 1px solid rgba(244, 237, 233, 0.1); }
.meta-card__label { color: var(--mist); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; }
.meta-card__value { color: var(--ivory); font-family: var(--mono); font-size: 13px; text-align: end; }
.meta-card .btn { margin-top: 16px; padding-block: 12px; }

.hardware-list { border-bottom: 1px solid var(--line-soft); }
.hardware-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 16px; border-top: 1px solid var(--line-soft); }
.hardware-list__item { color: var(--mist); font-size: 14px; }
.hardware-list__code { color: var(--stone); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; flex-shrink: 0; text-align: end; }
a.hardware-list__code { border-bottom: 1px solid rgba(244, 237, 233, 0.25); }
a.hardware-list__code:hover { color: var(--ivory); }

.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-gallery__item { overflow: hidden; background: var(--taupe-dark); aspect-ratio: 4 / 3; }
.detail-gallery__item.is-wide { grid-column: span 2; aspect-ratio: 16 / 7; }
.detail-gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) contrast(1.06); transition: transform 0.7s var(--ease); }
.detail-gallery__item:hover img { transform: scale(1.04); }

/* ── Gallery page ─────────────────────────────────────────────────────── */

.gallery-wrap { padding-block: 48px; }
.masonry { display: flex; flex-direction: column; gap: 12px; }
.masonry__item { position: relative; display: block; overflow: hidden; background: var(--taupe-dark); aspect-ratio: 4 / 3; }
.masonry__item--feature, .masonry__item--wide, .masonry__item--banner { aspect-ratio: 16 / 9; }
.masonry__item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.84) contrast(1.06); transition: transform 0.7s var(--ease); }
.masonry__caption {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 16px;
	color: var(--ivory);
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.03em;
	background: linear-gradient(to top, rgba(20, 13, 9, 0.7) 0%, transparent 60%);
}
.masonry__expand { display: none; }

@media (min-width: 640px) {
	.masonry {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-auto-rows: 110px;
		grid-auto-flow: dense;
		gap: 8px;
	}
	.masonry__item { aspect-ratio: auto; }
	.masonry__item--small { grid-row: span 1; }
	.masonry__item--standard { grid-row: span 2; }
	.masonry__item--tall { grid-row: span 3; }
	.masonry__item--banner { grid-column: span 2; grid-row: span 2; }
	.masonry__item--wide { grid-column: span 2; grid-row: span 3; }
	.masonry__item--feature { grid-column: span 2; grid-row: span 4; }
	.masonry__item:hover img { transform: scale(1.04); }
	.masonry__caption { opacity: 0; transition: opacity 0.3s; background: linear-gradient(to top, rgba(20, 13, 9, 0.78) 0%, transparent 55%); }
	.masonry__item:hover .masonry__caption, .masonry__item:focus-visible .masonry__caption { opacity: 1; }
	.masonry__expand {
		display: grid;
		place-items: center;
		position: absolute;
		top: 12px;
		inset-inline-end: 12px;
		width: 28px;
		height: 28px;
		background: rgba(20, 13, 9, 0.6);
		color: rgba(244, 237, 233, 0.8);
		opacity: 0;
		transition: opacity 0.3s;
	}
	.masonry__item:hover .masonry__expand { opacity: 1; }
}
@media (min-width: 1024px) {
	.gallery-wrap { padding-block: 64px; }
	.masonry { gap: 12px; }
}

/* ── Lightbox ─────────────────────────────────────────────────────────── */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(14, 11, 9, 0.96);
}
.lightbox__figure { display: flex; flex-direction: column; align-items: center; max-width: min(90vw, 1100px); }
.lightbox__figure img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox__caption { color: var(--mist); font-size: 12px; letter-spacing: 0.06em; margin-top: 16px; text-align: center; }
.lightbox__count { color: var(--grey); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; margin-top: 8px; }
.lightbox__btn { position: absolute; color: var(--mist); padding: 8px; }
.lightbox__btn:hover { color: var(--ivory); }
.lightbox__close { top: 24px; inset-inline-end: 24px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
@media (min-width: 1024px) { .lightbox__prev { left: 32px; } .lightbox__next { right: 32px; } }

/* ── Resources ────────────────────────────────────────────────────────── */

.catalog-feature {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 40px;
	background: var(--taupe-card);
	border: 1px solid rgba(244, 237, 233, 0.13);
	margin-bottom: 48px;
}
.catalog-feature__title { color: var(--ivory); font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; margin-top: 10px; max-width: 640px; }
@media (min-width: 768px) {
	.catalog-feature { flex-direction: row; align-items: center; justify-content: space-between; }
}

.doc-list { border-bottom: 1px solid var(--line); }
.doc-list__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 20px;
	align-items: center;
	padding-block: 24px;
	border-top: 1px solid var(--line);
}
.doc-list__icon { color: var(--stone); grid-row: span 2; align-self: start; padding-top: 4px; }
.doc-list__type { color: var(--stone); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 4px; }
.doc-list__title { color: var(--ivory); font-size: 16px; font-weight: 500; }
.doc-list__summary { color: var(--mist); font-size: 13px; line-height: 1.6; margin-top: 4px; }
.doc-list__meta { color: var(--stone); font-family: var(--mono); font-size: 11px; grid-column: 2; }
.doc-list__item .btn { grid-column: 2; justify-self: start; }
@media (min-width: 768px) {
	.doc-list__item { grid-template-columns: auto 1fr auto auto; }
	.doc-list__icon { grid-row: auto; }
	.doc-list__meta, .doc-list__item .btn { grid-column: auto; }
}

/* ── About ────────────────────────────────────────────────────────────── */

.cert-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--mist); }
.cert-card { background: var(--ivory); padding: 32px; }
.cert-card__name { color: var(--ink); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.cert-card__body { color: var(--grey); font-size: 14px; line-height: 1.7; margin-top: 12px; }
@media (min-width: 640px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }

.two-col { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: 96px; } }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.team-card { padding-top: 24px; border-top: 1px solid var(--line-light-strong); }
.team-card__name { color: var(--ink); font-size: 18px; font-weight: 500; }
.team-card__role { color: var(--grey); font-size: 13px; margin-top: 4px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.cta-band { background: var(--taupe-deep); padding-block: 112px; }
.cta-band__inner { display: flex; flex-direction: column; gap: 32px; }
.cta-band .display-4 { max-width: 18ch; }
.cta-band__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
@media (min-width: 1024px) {
	.cta-band__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ── Request for quotation ────────────────────────────────────────────── */

.rfq-intro { max-width: 720px; color: var(--grey); margin-bottom: 48px; }
.rfq { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .rfq { grid-template-columns: 1fr 1fr; gap: 96px; } }

.rfq .label-xs { color: var(--taupe); margin-bottom: 16px; }
.rfq__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.rfq__head .link-xs { color: var(--taupe); }
.rfq__head .link-xs:hover { color: var(--ink); }
.rfq__list { position: relative; }
@media (min-width: 1024px) { .rfq__list { position: sticky; top: 112px; } }

.quote-list { border-top: 1px solid var(--line-light-strong); }
.quote-list:empty { border-top: 0; }
.quote-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 16px;
	align-items: center;
	padding-block: 16px;
	border-bottom: 1px solid var(--line-light);
}
.quote-item__img { width: 64px; height: 64px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.quote-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.quote-item__img span { color: var(--stone); font-family: var(--mono); font-size: 9px; }
.quote-item__code { color: var(--taupe); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
.quote-item__name { color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.35; }
.quote-item__name a:hover { color: var(--taupe); }
.quote-item__finish { color: var(--grey); font-size: 12px; margin-top: 2px; }
.quote-item__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.quote-item .qty { border-color: var(--line-light-strong); }
.quote-item .qty button { color: var(--grey); width: 30px; }
.quote-item .qty button:hover { color: var(--ink); }
.quote-item .qty input { color: var(--ink); width: 44px; padding-block: 6px; }
.quote-item__remove { color: var(--grey); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
.quote-item__remove:hover { color: #a3332a; }
.quote-list__empty { color: var(--grey); font-size: 14px; line-height: 1.7; padding: 24px 0; border-top: 1px solid var(--line-light-strong); }

.quote-manual { display: flex; gap: 8px; margin-top: 24px; align-items: stretch; }
.quote-manual input {
	flex: 1;
	min-width: 0;
	border: 0;
	border-bottom: 1px solid var(--line-light-strong);
	background: transparent;
	padding: 12px 0;
	font-size: 14px;
	color: var(--ink);
	outline: none;
}
.quote-manual input::placeholder { color: var(--placeholder); }
.quote-manual input:focus { border-bottom-color: var(--ink); }
.quote-manual .btn--outline { color: var(--ink); border-color: var(--line-light-strong); }
.quote-manual .btn--outline:hover { border-color: var(--ink); }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer { background: var(--taupe); border-top: 1px solid var(--line); padding-block: 64px; }
.site-footer__top { display: flex; flex-direction: column; gap: 40px; margin-bottom: 48px; }
.footer-list { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.footer-list a { color: var(--mist); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; transition: color 0.2s; }
.footer-list a:hover { color: var(--ivory); }
.site-footer .hairline { margin-bottom: 32px; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 16px; }
.site-footer__legal { color: var(--stone); font-size: 12px; }
.site-footer__legal a:hover { color: var(--ivory); }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.site-footer__web { color: var(--mist); font-size: 12px; }
@media (min-width: 768px) {
	.site-footer__top, .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
	.footer-list { gap: 40px; }
}
@media (min-width: 1024px) { .site-footer { padding-block: 80px; } }

/* ── Floating WhatsApp + toast ────────────────────────────────────────── */

.wa-float {
	position: fixed;
	bottom: 24px;
	inset-inline-end: 24px;
	z-index: 60;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	background: var(--ink);
	color: var(--ivory);
	border: 1px solid var(--line);
	box-shadow: 0 8px 24px rgba(20, 19, 19, 0.25);
	transition: background 0.3s, transform 0.3s;
}
.wa-float:hover { background: #1F7A4D; transform: translateY(-2px); }

.toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 210;
	transform: translate(-50%, 20px);
	opacity: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
	background: var(--ink);
	color: var(--ivory);
	font-size: 13px;
	box-shadow: 0 12px 32px rgba(20, 19, 19, 0.3);
	transition: opacity 0.3s, transform 0.3s;
	max-width: calc(100vw - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--mist); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; white-space: nowrap; border-bottom: 1px solid currentColor; }
.toast a:hover { color: var(--ivory); }

/* ── Misc pages ───────────────────────────────────────────────────────── */

.not-found { min-height: 80vh; display: flex; align-items: center; padding-top: var(--nav-h); }
.not-found__actions { display: flex; gap: 24px; align-items: center; margin-top: 40px; }

.post-list { border-bottom: 1px solid var(--line-light); }
.post-list__item { padding-block: 32px; border-top: 1px solid var(--line-light); }
.post-list__item .label-xs { margin-bottom: 8px; }
.post-list__title { color: var(--ink); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; }
.post-list__title a:hover { color: var(--taupe); }
.post-list__excerpt { color: var(--grey); font-size: 14px; line-height: 1.7; margin-top: 8px; max-width: 720px; }
.pagination { margin-top: 40px; color: var(--ink); }
.pagination .nav-links { display: flex; gap: 12px; }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--line-light-strong); font-size: 13px; }
.pagination .current { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Elementor / block content inside the default page template keeps the container width. */
.prose--page .alignwide, .prose--page .alignfull { max-width: none; }

/* Lock function table (ANSI mortise locks) */
.function-table td { vertical-align: top; }
.function-table td:nth-child(2) { color: var(--ivory); font-family: inherit; font-size: 12px; white-space: nowrap; }
.function-table td:last-child { font-family: inherit; font-size: 12px; line-height: 1.55; color: var(--mist); min-width: 260px; }

/* Brand wordmark (vector logo) */
.wordmark { display: inline-flex; align-items: center; line-height: 0; }
.wordmark__svg { display: block; height: 22px; width: auto; color: var(--ivory); transition: opacity 0.2s; }
.wordmark:hover .wordmark__svg { opacity: 0.85; }
.wordmark--lg .wordmark__svg { height: 30px; }
@media (min-width: 1024px) { .wordmark__svg { height: 24px; } }
