/* ==========================================================================
   Mashaak — woodworks, doors, cladding, decor & trading
   Brand: charcoal #212322 · taupe #8c847b · sand #c9bca9 · cream #e2ded2 · white
   Type: Mersal Arabic only (brand corporate font, both scripts); Arabic headings use its "salt" alternates (مرسلة extended finals)
   Shapes: the monogram leaf tile (two rounded corners); the mishkat arch only in the home hero niches
   ========================================================================== */

@font-face { font-family: "Mersal"; src: url(../fonts/mersal-light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Mersal"; src: url(../fonts/mersal-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mersal"; src: url(../fonts/mersal-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mersal"; src: url(../fonts/mersal-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--ink: #212322;
	--ink-2: #2b2d2c;
	--ink-3: #353735;
	--taupe: #8c847b;
	--taupe-d: #6b645c;
	--sand: #c9bca9;
	--cream: #e2ded2;
	--paper: #f4f2ed;
	--white: #fff;
	--lamp: #f0cf9c;
	--line: rgba(33, 35, 34, .14);
	--line-l: rgba(226, 222, 210, .18);
	--f-ui: "Mersal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--f-display: "Mersal", system-ui, sans-serif;
	--wrap: 1360px;
	--gut: clamp(20px, 4.2vw, 64px);
	--header-h: 0px;
	--jamb: 92px;
	--leaf: 0 26px 0 26px;
	--leaf-s: 0 14px 0 14px;
	--ease: cubic-bezier(.22, .8, .2, 1);
	--arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 1000'%3E%3Cpath d='M0 1000V50C0 25 25 11 50 0C75 11 100 25 100 50V1000Z'/%3E%3C/svg%3E");
	--dir: 1;
	color-scheme: light;
}
[dir="rtl"] { --dir: -1; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1rem/1.7 var(--f-ui);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
:lang(ar) body, body:lang(ar) { font-size: 1.04rem; line-height: 1.9; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.2; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--leaf-s); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.main { display: block; min-height: 60vh; }

/* ---------- Type ---------- */
.display {
	font-family: var(--f-display);
	font-weight: 300;
	font-size: clamp(2.6rem, 6vw, 6.4rem);
	line-height: 1;
	letter-spacing: -.012em;
}
.display--m { font-size: clamp(2.1rem, 4.4vw, 4.4rem); }
.display--s { font-size: clamp(1.7rem, 3vw, 2.8rem); }
:lang(ar) .display { font-weight: 400; letter-spacing: 0; line-height: 1.3; font-size: clamp(2.4rem, 5.4vw, 5.6rem); }
/* Mersal's stylistic alternates (ss01 extended "mursala" finals + ss02 flat yeh/ain) on Arabic display text only; body copy stays default for legibility */
:lang(ar) :is(h1, h2, h3, .sched__label, .craft__title) { font-feature-settings: "salt" 1; }
:lang(ar) .display--m { font-size: clamp(2rem, 4vw, 3.9rem); }
:lang(ar) .display--s { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.display .line { display: block; overflow: clip; overflow-clip-margin: .3em; padding-block: .02em; }
:lang(ar) .display .line { overflow-clip-margin: .5em; }
.display .line > span { display: inline-block; }
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	font-size: .74rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--taupe-d);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow .icon { width: 16px; height: 16px; }
.eyebrow:has(.icon, .eyebrow__mono)::before { display: none; }
.eyebrow__mono { width: 22px; height: 22px; }
:lang(ar) .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.eyebrow--light { color: var(--sand); }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 64px); max-width: 820px; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.prose { max-width: 72ch; font-size: 1.05rem; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { font-weight: 500; margin-top: 1.6em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--taupe); }
.prose ul { list-style: disc; padding-inline-start: 1.2em; }
.prose-sec { padding: clamp(48px, 6vw, 88px) 0 0; }

/* ---------- Icons, buttons, links ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--dir { transform: scaleX(var(--dir)); }
.icon--down { transform: rotate(90deg); }
.btn {
	--bg: transparent; --fg: currentColor; --bd: currentColor;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid var(--bd);
	border-radius: var(--leaf-s);
	background: var(--bg);
	color: var(--fg);
	font-weight: 500;
	font-size: .95rem;
	line-height: 1.2;
	white-space: nowrap;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
	isolation: isolate;
	overflow: hidden;
}
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--fill, var(--taupe));
	transform: translateY(101%);
	transition: transform .5s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon--dir { transform: scaleX(var(--dir)) translateX(4px); }
.btn--solid { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); --fill: var(--taupe); }
.btn--solid:hover { --bd: var(--taupe); }
.btn--line { --bd: var(--ink); --fg: var(--ink); --fill: var(--ink); }
.btn--line:hover { --fg: var(--white); }
.btn--light { --bg: var(--cream); --fg: var(--ink); --bd: var(--cream); --fill: var(--white); }
.btn--ghost { --bd: rgba(226, 222, 210, .45); --fg: var(--cream); --fill: rgba(226, 222, 210, .14); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
[dir="rtl"] .link-arrow { background-position: 100% 100%; }
[dir="rtl"] .link-arrow:hover { background-position: 0 100%; }
.link-arrow .icon { width: 18px; height: 18px; }

/* ---------- Frames ---------- */
.frame { border-radius: var(--leaf); overflow: hidden; background: var(--cream); }
.frame__img { width: 100%; height: 100%; object-fit: cover; }
.leaf { border-radius: var(--leaf); overflow: hidden; }

/* ---------- Logobar: the door jamb ---------- */
body { padding-inline-start: var(--jamb); }
.jamb {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	z-index: 60;
	width: var(--jamb);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 20px 0 18px;
	background: var(--ink);
	color: var(--cream);
	isolation: isolate;
}
.jamb::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: 9px; width: 1px; background: rgba(226, 222, 210, .08); }
.jamb__home { display: block; width: 46px; transition: transform .5s var(--ease); }
.jamb__home:hover { transform: translateY(-2px); }
.jamb__mono { width: 46px; height: 46px; }
.jamb__menu { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; width: 60px; padding-top: 6px; color: var(--cream); }
.jamb__door { width: 38px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .55; transition: opacity .4s, fill .4s; }
.jamb__door circle { fill: currentColor; stroke: none; }
[dir="rtl"] .jamb__door { transform: scaleX(-1); }
.jamb__menu:hover .jamb__door, .menu-open .jamb__door { opacity: 1; fill: rgba(240, 207, 156, .12); }
.jamb__bars { position: absolute; top: 28px; width: 16px; height: 10px; }
.jamb__bars i { position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease), width .5s var(--ease); }
.jamb__bars i:first-child { top: 0; }
.jamb__bars i:last-child { top: 8px; width: 60%; margin-inline-start: 20%; }
.menu-open .jamb__bars i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .jamb__bars i:last-child { top: 4px; width: 100%; margin-inline-start: 0; transform: rotate(-45deg); }
.jamb__label { font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
:lang(ar) .jamb__label { letter-spacing: 0; font-size: .8rem; }
.jamb__word { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--taupe); transition: color .4s; }
.jamb__word:hover { color: var(--sand); }
.jamb__logo { flex: none; width: clamp(110px, 24vh, 210px); max-width: none; height: auto; transform: rotate(-90deg); }
.jamb__tools { display: grid; justify-items: center; gap: 4px; }
.jamb__tool { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .3s, color .3s; }
.jamb__tool:hover { background: rgba(226, 222, 210, .12); }
.jamb__lang { font-weight: 500; font-size: .86rem; border: 1px solid var(--line-l); }
.jamb__lang:lang(ar) { font-size: 1.05rem; }
.cart-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--lamp); color: var(--ink); font-size: .68rem; font-weight: 500; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.jamb__light { position: absolute; inset-block: 0; inset-inline-end: -1px; width: 2px; overflow: hidden; pointer-events: none; }
.jamb__light i { display: block; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(240, 207, 156, 0), var(--lamp) 55%, #fff6e6); box-shadow: 0 0 14px 2px rgba(240, 207, 156, .55); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.topbrand { display: none; }

/* ---------- Menu: a joinery drawing that unrolls from the jamb ---------- */
.menu { position: fixed; inset: 0; z-index: 55; }
.menu__shade { position: absolute; inset: 0; background: rgba(20, 21, 20, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.plan {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: var(--jamb);
	inset-inline-end: 0;
	overflow: hidden auto;
	overscroll-behavior: contain;
	color: var(--cream);
	background-color: #1d1f1e;
	background-image:
		linear-gradient(rgba(226, 222, 210, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(226, 222, 210, .06) 1px, transparent 1px),
		linear-gradient(rgba(226, 222, 210, .025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(226, 222, 210, .025) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	box-shadow: 0 0 80px rgba(0, 0, 0, .45);
}
.plan__in { min-height: 100%; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-rows: 1fr auto; gap: 28px clamp(28px, 4.5vw, 72px); padding: clamp(28px, 4vw, 56px) clamp(24px, 4.4vw, 72px); }
.plan__dwg { align-self: center; justify-self: center; height: min(74vh, 740px); }
.dwg { display: block; width: auto; height: 100%; max-width: 100%; direction: ltr; fill: none; stroke: rgba(226, 222, 210, .82); stroke-width: 1.5; stroke-linejoin: miter; }
.dwg .dwg__thin { stroke-width: .9; stroke: rgba(226, 222, 210, .5); }
.dwg text { fill: var(--sand); stroke: none; font-family: var(--f-ui); font-size: 15px; font-variant-numeric: tabular-nums; }
.dwg .dwg__num { font-size: 18px; fill: var(--cream); }
.dwg .dwg__tag { font-size: 12px; letter-spacing: .12em; }
.dwg__part { transition: stroke .35s, filter .35s; }
.dwg__part.is-hot { stroke: var(--lamp); filter: drop-shadow(0 0 6px rgba(240, 207, 156, .55)); }
.dwg__part.is-hot .dwg__thin { stroke: rgba(240, 207, 156, .8); }
.dwg__balloon { cursor: pointer; }
.dwg__balloon circle { fill: #1d1f1e; stroke: var(--cream); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.dwg__balloon text { fill: var(--cream); font-size: 12px; font-weight: 500; }
.dwg__balloon.is-hot circle { fill: var(--lamp); stroke: var(--lamp); }
.dwg__balloon.is-hot text { fill: var(--ink); }
.plan__nav { align-self: center; }
.plan__nav .eyebrow { margin-bottom: 14px; }
.sched { border-top: 1px dashed rgba(226, 222, 210, .22); }
.sched__row { padding: 14px 0; border-bottom: 1px dashed rgba(226, 222, 210, .22); }
.sched__link { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; align-items: center; }
.sched__no { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(226, 222, 210, .7); border-radius: 50%; font-size: .76rem; font-weight: 500; font-variant-numeric: tabular-nums; transition: background .3s, color .3s, border-color .3s; }
.sched__label { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 2.7vw, 2.6rem); line-height: 1.1; color: var(--white); transition: color .3s; }
:lang(ar) .sched__label { font-weight: 400; line-height: 1.25; }
.sched__hint { color: var(--sand); font-size: .88rem; }
.sched__row.is-hot .sched__no, .sched__link[aria-current] .sched__no { background: var(--lamp); border-color: var(--lamp); color: var(--ink); }
.sched__row.is-hot .sched__label { color: var(--lamp); }
.sched__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-inline-start: 62px; }
.sched__cats a { display: inline-flex; padding: 5px 12px; border: 1px solid var(--line-l); border-radius: 999px; font-size: .8rem; transition: background .3s, color .3s; }
.sched__cats a:hover { background: var(--cream); color: var(--ink); }
.plan__block { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; border: 1px solid rgba(226, 222, 210, .3); font-size: .86rem; }
.plan__cell { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.plan__cell + .plan__cell { border-inline-start: 1px solid rgba(226, 222, 210, .3); }
.plan__mono { width: 36px; height: 36px; flex: none; }
.plan__brand span { color: var(--sand); }
.menu__contact { flex-wrap: wrap; gap: 8px 24px; }
.menu__contact a, .menu__lang { display: inline-flex; align-items: center; gap: 10px; }
.menu__contact .icon, .menu__lang .icon { width: 17px; height: 17px; color: var(--sand); }
.plan__meta { gap: 16px; color: var(--taupe); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
:lang(ar) .plan__meta { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.menu__lang { font-weight: 500; transition: background .3s; }
.menu__lang:hover { background: rgba(226, 222, 210, .08); }

/* ---------- Loader & tile transition ---------- */
.loader { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; background: var(--ink); }
.mk-first .loader { display: grid; animation: mk-tiles-safety 0s linear 7s forwards; }
.loader__glow { position: absolute; width: 60vmin; height: 60vmin; border-radius: 50%; background: radial-gradient(circle, rgba(240, 207, 156, .28), rgba(240, 207, 156, 0) 65%); opacity: 0; }
.loader__mark { position: relative; width: clamp(92px, 11vw, 132px); height: auto; }
.loader__word { position: absolute; bottom: 12vh; inset-inline: 0; display: flex; justify-content: center; color: var(--taupe); opacity: 0; }
.loader__logo { width: min(52vw, 300px); height: auto; }
.tiles { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; direction: ltr; overflow: hidden; --tile: 120px; }
.mk-arriving .tiles, .tiles.is-on { display: block; }
.mk-arriving .tiles { animation: mk-tiles-safety 0s linear 3.5s forwards; }
@keyframes mk-tiles-safety { to { visibility: hidden; } }
.tiles__cover, .tiles__grid { position: absolute; inset: 0; }
.tiles__cover { background: var(--ink) url(../img/pattern-star-soft.svg) 0 0 / var(--tile) var(--tile); }
.tiles__grid { display: grid; grid-template-columns: repeat(var(--cols, 12), var(--tile)); grid-auto-rows: var(--tile); }
.tiles__grid i { background: var(--ink) url(../img/pattern-star-soft.svg) 0 0 / 100% 100%; will-change: transform; }
.tiles__mark { position: absolute; left: 50%; top: 50%; width: clamp(116px, 11.5vw, 176px); transform: translate(-50%, -50%); filter: drop-shadow(0 18px 40px rgba(33, 35, 34, .45)); }
.tiles__mono { width: 100%; height: auto; }

/* ---------- Home hero: three lit niches ---------- */
.hero { position: relative; background: var(--ink); color: var(--cream); padding: clamp(44px, 6vw, 96px) 0 clamp(48px, 6vw, 88px); overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; inset: auto 0 0; height: 80%; z-index: -1; background: radial-gradient(55% 60% at 50% 100%, rgba(240, 207, 156, .09), rgba(240, 207, 156, 0) 70%); pointer-events: none; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; }
.hero__top .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.hero__title { color: var(--white); }
.hero__side { padding-bottom: .6em; }
.hero__text { color: rgba(226, 222, 210, .8); max-width: 38ch; font-size: 1.05rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__niches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.6vw, 40px); align-items: end; margin-top: clamp(40px, 6vw, 88px); }
.niche { display: block; }
.niche__frame { position: relative; display: block; aspect-ratio: 3 / 3.9; background: var(--ink-3); -webkit-mask: var(--arch) top / 100% auto no-repeat; mask: var(--arch) top / 100% auto no-repeat; overflow: hidden; }
.niche--1 .niche__frame { aspect-ratio: 3 / 4.7; }
.niche__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
/* Landscape photos in portrait frames: keep the subject in view. */
img[src*="mtm-hands"] { object-position: 26% 50%; }
img[src*="factory-hall"] { object-position: 44% 50%; }
.niche:hover .niche__img { transform: scale(1.04); }
.niche__light { position: absolute; inset: 0; background: radial-gradient(80% 42% at 50% 0%, rgba(255, 228, 184, .42), rgba(255, 228, 184, 0) 72%); mix-blend-mode: screen; pointer-events: none; }
.niche__frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -80px 80px -40px rgba(33, 35, 34, .45); pointer-events: none; }
.niche__cap { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-l); font-size: 1.05rem; }
.niche__num { font-size: .72rem; letter-spacing: .12em; color: var(--taupe); }
.niche__name { flex: 1; }
.niche__cap .icon { width: 18px; transition: transform .4s var(--ease); }
.niche:hover .niche__cap .icon { transform: scaleX(var(--dir)) translateX(4px); }

/* ---------- Inner page hero ---------- */
.phero { position: relative; background: var(--ink); color: var(--cream); padding: clamp(56px, 7vw, 110px) 0 clamp(48px, 6vw, 88px); overflow: hidden; isolation: isolate; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px clamp(32px, 6vw, 96px); align-items: end; }
.phero .display { color: var(--white); }
.phero__text { margin-top: 28px; max-width: 46ch; color: rgba(226, 222, 210, .8); font-size: 1.05rem; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.phero__media { justify-self: end; width: min(100%, 420px); }
.phero__media .niche__frame { aspect-ratio: 3 / 4; -webkit-mask: none; mask: none; border-radius: var(--leaf); }
.phero--shop { padding-bottom: 36px; }
.phero--shop .phero__grid { grid-template-columns: 1fr; }

/* ---------- Intro (the mishkat) ---------- */
.intro { padding: clamp(80px, 11vw, 168px) 0; }
.intro__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.intro__media { aspect-ratio: 3 / 4; }
.intro__text { font-family: var(--f-ui); font-weight: 300; font-size: clamp(1.45rem, 2.6vw, 2.35rem); line-height: 1.38; margin-bottom: 36px; }
:lang(ar) .intro__text { font-weight: 400; font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.85; }
.lit {
	--p: 0%;
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	background-image: linear-gradient(90deg, var(--ink) 0 calc(var(--p) - 6%), #b0885a calc(var(--p) - 2%), var(--lamp) var(--p), rgba(140, 132, 123, .42) calc(var(--p) + 5%));
	-webkit-box-decoration-break: slice;
	box-decoration-break: slice;
}
[dir="rtl"] .lit { background-image: linear-gradient(270deg, var(--ink) 0 calc(var(--p) - 6%), #b0885a calc(var(--p) - 2%), var(--lamp) var(--p), rgba(140, 132, 123, .42) calc(var(--p) + 5%)); }
.reduced .lit, html:not(.js) .lit { color: inherit; background: none; }

/* ---------- Crafts: wall of niches ---------- */
.crafts { padding: clamp(72px, 9vw, 140px) 0; background: var(--cream); }
.crafts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.craft__link { display: grid; gap: 12px; align-content: start; height: 100%; }
.craft__media { display: block; aspect-ratio: 3 / 4.2; margin-bottom: 10px; }
.craft__media .frame__img { transition: transform 1.2s var(--ease); }
.craft__link:hover .frame__img { transform: scale(1.05); }
.craft:nth-child(even) { padding-top: clamp(0px, 4vw, 64px); }
.craft__num { font-size: .75rem; letter-spacing: .14em; color: var(--taupe-d); }
.craft__title { font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 500; line-height: 1.25; }
.craft__text { color: var(--taupe-d); font-size: .96rem; }
.craft .link-arrow { justify-self: start; margin-top: 6px; }

/* ---------- Carving ---------- */
.carve { background: var(--ink); color: var(--cream); position: relative; overflow: clip; }
.carve__pin { min-height: 100vh; display: flex; align-items: center; padding: clamp(72px, 8vw, 120px) 0; }
.carve__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.carve .display { color: var(--white); }
.carve__text { margin: 28px 0 32px; max-width: 44ch; color: rgba(226, 222, 210, .78); }
.carve__meter { margin-top: 40px; display: flex; align-items: baseline; gap: 10px; color: var(--taupe); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .carve__meter { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.carve__meter b { font-family: var(--f-ui); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--cream); letter-spacing: 0; min-width: 2.4ch; font-variant-numeric: tabular-nums; direction: ltr; }
.carve__panel { position: relative; border-radius: var(--leaf); overflow: hidden; box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.carve__svg { width: 100%; height: auto; }
.carve__cut { opacity: .42; mix-blend-mode: multiply; }

/* ---------- Made to measure section + teaser ---------- */
.mtm-sec { padding: clamp(80px, 10vw, 150px) 0; }
.mtm-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.mtm-sec--teaser .mtm-sec__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.mtm-sec__text { margin: 26px 0 36px; max-width: 48ch; color: var(--taupe-d); font-size: 1.05rem; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.mtm-sec:not(.mtm-sec--teaser) .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: grid; gap: 6px; padding: 20px 0 24px; border-top: 1px solid var(--line); }
.step__num { font-size: .74rem; letter-spacing: .14em; color: var(--taupe); }
.step__title { font-weight: 500; font-size: 1.15rem; }
.step__text { color: var(--taupe-d); font-size: .95rem; }
.teaser { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--cream); border-radius: var(--leaf); padding: clamp(20px, 3vw, 40px); gap: 24px; }
.teaser__hint { font-size: .9rem; color: var(--taupe-d); margin-bottom: 8px; }
.teaser__row { display: grid; grid-template-columns: 80px 1fr 84px; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.teaser__row output { text-align: end; font-variant-numeric: tabular-nums; font-weight: 500; }
.teaser__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.teaser__price { display: grid; }
.mtm__preview { background: var(--paper); border-radius: var(--leaf); padding: 12px; }
.teaser .mtm__preview { background: rgba(255, 255, 255, .5); }
.mtm__svg { width: 100%; height: auto; max-height: 440px; }
.mtm__svg text { font-family: var(--f-ui); font-size: 13px; fill: var(--taupe-d); }
.mtm__label { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-d); }
:lang(ar) .mtm__label { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.mtm__label small { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--taupe); margin-inline-start: 6px; }
.mtm__price { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 300; line-height: 1.2; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--fill, 50%), rgba(33, 35, 34, .18) var(--fill, 50%)); }
[dir="rtl"] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--ink) var(--fill, 50%), rgba(33, 35, 34, .18) var(--fill, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 0 8px 0 8px; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
input[type="range"]::-moz-range-track { height: 2px; background: rgba(33, 35, 34, .18); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 0 8px 0 8px; background: var(--ink); border: 3px solid var(--paper); }

/* Configurator on the product page */
.mtm { display: grid; gap: 22px; margin-top: 28px; }
.mtm__fields { display: grid; gap: 22px; }
.mtm__dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mtm__dim { display: grid; gap: 8px; }
.mtm__num { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--leaf-s); background: var(--white); padding-inline-end: 14px; }
.mtm__num input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 16px; font-size: 1.25rem; font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; }
.mtm__num input::-webkit-inner-spin-button { opacity: .4; }
.mtm__num:focus-within { border-color: var(--ink); }
.mtm__num.is-bad { border-color: #a4452c; }
.mtm__num span { color: var(--taupe-d); font-size: .9rem; }
.mtm__range { margin-top: -2px; }
.mtm__finishes { border: 0; padding: 0; margin: 0; min-width: 0; }
.mtm__finishes legend { padding: 0; margin-bottom: 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; padding-inline: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .92rem; background: var(--white); transition: border-color .3s; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.swatch__name small { color: var(--taupe-d); }
.swatch:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--taupe); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.mtm__total { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.mtm__area { display: block; color: var(--taupe-d); font-size: .88rem; }
.mtm__buy { display: flex; gap: 10px; align-items: stretch; }
.mtm__note { font-size: .86rem; color: var(--taupe-d); }
.mtm__error { color: #a4452c; font-size: .92rem; }

/* ---------- Collection & cards ---------- */
.collection { padding: clamp(72px, 9vw, 140px) 0; }
.collection--related { padding-top: 0; }
.grid { display: grid; gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--leaf); overflow: hidden; background: var(--cream); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__img { transform: scale(1.045); }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(244, 242, 237, .92); color: var(--ink); font-size: .74rem; font-weight: 500; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.badge .icon { width: 15px; height: 15px; }
.badge--sale { background: var(--ink); color: var(--white); }
.card__body { display: grid; gap: 6px; align-content: start; padding-top: 18px; }
.card__cat { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-d); }
:lang(ar) .card__cat { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.card__title { font-size: 1.12rem; font-weight: 500; line-height: 1.35; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--taupe); }
.card__price { color: var(--ink); margin-bottom: 10px; }
.card__body .btn { justify-self: start; }
.price-from, .price-unit { color: var(--taupe-d); font-size: .88em; }
.woocommerce-Price-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
del .woocommerce-Price-amount { color: var(--taupe); }
ins { text-decoration: none; }

/* ---------- Values ---------- */
.values { padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); }
.values__head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.values__mono { width: clamp(80px, 9vw, 120px); height: auto; margin-top: 12px; }
.value { display: grid; grid-template-columns: 64px minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.value:first-child { border-top: 1px solid var(--line); }
.value__num { font-size: .78rem; letter-spacing: .14em; color: var(--taupe); }
.value__title { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; }
.value__text { color: var(--taupe-d); }

/* ---------- Trade band ---------- */
.trade { position: relative; background: var(--ink-2); color: var(--cream); padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; isolation: isolate; }
.trade__pattern { position: absolute; inset: 0; z-index: -1; background: url(../img/pattern-star.svg) 0 0 / 108px 107px; opacity: .05; }
.trade__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.trade .display { color: var(--white); }
.trade__text { margin: 26px 0 30px; max-width: 46ch; color: rgba(226, 222, 210, .8); }
.trade__list { display: grid; gap: 12px; margin-bottom: 36px; }
.trade__list li { display: flex; gap: 12px; align-items: flex-start; }
.trade__list .icon { color: var(--sand); margin-top: 4px; }
.trade__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trade__media { border-radius: var(--leaf); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.trade__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Visit ---------- */
.visit { padding: clamp(80px, 10vw, 150px) 0; }
.visit__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.visit__media { aspect-ratio: 3 / 4; }
.visit__list { display: grid; margin: 32px 0 34px; }
.visit__list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.visit__list dt { display: flex; align-items: center; gap: 10px; color: var(--taupe-d); font-size: .92rem; }
.visit__list dt .icon { width: 18px; height: 18px; }
.visit__list dd { margin: 0; }
.visit__list a { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 4px; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Request forms ---------- */
.request { padding: clamp(72px, 9vw, 140px) 0; background: var(--cream); }
.request__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.request__copy { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; justify-items: start; }
.request__copy > p:not(.eyebrow) { color: var(--taupe-d); max-width: 44ch; }
.request__copy .display, .request__copy .eyebrow { margin-bottom: 0; }
.request__h { font-size: 1.4rem; font-weight: 500; margin-bottom: 18px; }
.request--contact { background: var(--paper); }
.request--contact .visit__list { margin-top: 0; }
.rq { background: var(--paper); border-radius: var(--leaf); padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 22px; }
.request--contact .rq { background: var(--cream); }
.rq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: .88rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea, .woo .input-text, .woo select, .woo textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	padding: 13px 15px;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color .25s, box-shadow .25s;
	outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus, .woo .input-text:focus, .woo select:focus, .woo textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(140, 132, 123, .18); }
.field select, .woo select { -webkit-appearance: none; appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645c' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-inline-end: 40px; }
[dir="rtl"] .field select, [dir="rtl"] .woo select { background-position: left 12px center; }
.field__error { min-height: 0; color: #a4452c; font-size: .84rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a4452c; }
.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 18px; border: 1px dashed rgba(33, 35, 34, .3); border-radius: 12px; background: var(--white); text-align: center; cursor: pointer; transition: border-color .25s, background .25s; }
.drop:hover, .drop:focus-within { border-color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .icon { width: 26px; height: 26px; color: var(--taupe-d); }
.drop__pick { font-weight: 500; }
.drop__hint { color: var(--taupe-d); font-size: .84rem; }
.rq__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rq__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.rq__privacy { display: flex; align-items: center; gap: 8px; color: var(--taupe-d); font-size: .86rem; }
.rq__privacy .icon { width: 17px; height: 17px; }
.rq__done, .rq__fail, .rq__status { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.rq__done, .rq__status.is-ok { background: #e3eadf; color: #2f4a2c; }
.rq__fail, .rq__status.is-bad { background: #f2e1da; color: #7c3320; }
.rq.is-sent .rq__grid, .rq.is-sent .rq__foot { display: none; }

/* ---------- Factory: story, inside ---------- */
.story { padding: clamp(80px, 10vw, 150px) 0; }
.story__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.story__media { aspect-ratio: 3 / 4; position: sticky; top: calc(var(--header-h) + 24px); }
.story__lead { font-weight: 300; font-size: clamp(1.35rem, 2.3vw, 2.05rem); line-height: 1.45; margin-bottom: 44px; }
:lang(ar) .story__lead { font-weight: 400; font-size: clamp(1.25rem, 2.1vw, 1.8rem); line-height: 1.9; }
.story__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.story__cols > div { padding-top: 22px; border-top: 1px solid var(--line); }
.story__h { font-size: 1.15rem; font-weight: 500; margin-bottom: 10px; }
.story__cols p { color: var(--taupe-d); }
.inside { padding: clamp(72px, 9vw, 140px) 0; background: var(--cream); }
.inside__text { max-width: 42ch; color: var(--taupe-d); }
.inside__grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: clamp(12px, 2vw, 28px); align-items: end; }
.inside__item { border-radius: var(--leaf); overflow: hidden; background: var(--sand); }
.inside__item--0 { aspect-ratio: 4 / 3.4; }
.inside__item--1 { aspect-ratio: 3 / 4; }
.inside__item--2 { aspect-ratio: 1 / 1; }
.inside__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Trading page ---------- */
.supply { padding: clamp(72px, 9vw, 130px) 0 0; }
.supply__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); }
.supply__h { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 400; margin-bottom: 22px; }
.supply__list li, .supply__who li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.supply__list li:first-child, .supply__who li:first-child { border-top: 1px solid var(--line); }
.supply__num { font-size: .75rem; letter-spacing: .14em; color: var(--taupe); }
.supply__mono { width: 26px; height: 26px; flex: none; }

/* ---------- Shop archive ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 4vw, 48px); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; transition: background .3s, color .3s, border-color .3s; }
.chip small { color: var(--taupe); font-size: .78em; }
.chip:hover { border-color: currentColor; }
.chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips--light .chip { border-color: var(--line-l); color: var(--cream); }
.chips--light .chip.is-on { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.shop { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(80px, 10vw, 140px); }
.shop.is-loading .grid, .shop.is-loading .woocommerce-pagination, .shop.is-loading .empty { opacity: .35; pointer-events: none; transition: opacity .2s; }
.shop.is-loading::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--lamp), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: mk-load 1s linear infinite; }
@keyframes mk-load { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-bottom: 22px; margin-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.shop__count { color: var(--taupe-d); font-size: .92rem; margin-inline-start: auto; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream); }
.seg__opt { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: .9rem; color: var(--taupe-d); transition: background .3s, color .3s; }
.seg__opt .icon { width: 16px; height: 16px; }
.seg__opt.is-on { background: var(--ink); color: var(--white); }
.woocommerce-ordering select { border: 1px solid var(--line); border-radius: 999px; padding: 10px 40px 10px 16px; padding-inline: 16px 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645c' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; -webkit-appearance: none; appearance: none; font-size: .9rem; }
[dir="rtl"] .woocommerce-ordering select { background-position: left 12px center; }
.woocommerce-pagination { margin-top: 56px; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--leaf-s); border: 1px solid var(--line); }
.woocommerce-pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.empty { display: grid; justify-items: center; gap: 18px; padding: 80px 0; text-align: center; color: var(--taupe-d); }
.empty__mono { width: 64px; height: 64px; }

/* ---------- Product page ---------- */
.product { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--taupe-d); margin-bottom: 26px; }
.crumbs a + a::before { content: "/"; margin-inline-end: 8px; color: var(--taupe); }
.crumbs a:hover { color: var(--ink); }
.product__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.product__gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.product__main { position: relative; border-radius: var(--leaf); overflow: hidden; background: var(--cream); aspect-ratio: 4 / 5; }
.product__img, .product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb { width: 78px; height: 78px; border-radius: 0 12px 0 12px; overflow: hidden; opacity: .6; outline: 1px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on, .thumb:hover { opacity: 1; outline-color: var(--ink); }
.product__title { font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 300; line-height: 1.12; margin: 6px 0 14px; }
:lang(ar) .product__title { font-weight: 500; line-height: 1.4; font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.product__price { font-size: 1.35rem; margin-bottom: 18px; }
.product__short { color: var(--taupe-d); max-width: 52ch; }
.product__summary form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 26px; }
.product__summary .stock { width: 100%; font-size: .9rem; color: #3f6b3a; margin: 20px 0 0; }
.product__summary .stock.out-of-stock { color: #a4452c; }
.quantity { display: inline-flex; }
.quantity .qty { width: 84px; min-height: 52px; border: 1px solid var(--line); border-radius: var(--leaf-s); background: var(--white); text-align: center; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.single_add_to_cart_button, .woo .button, .woocommerce-mini-cart__buttons .button, .checkout-button, #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid var(--ink);
	border-radius: var(--leaf-s);
	background: var(--ink);
	color: var(--white);
	font-weight: 500;
	font-size: .95rem;
	cursor: pointer;
	transition: background .3s, border-color .3s;
}
.single_add_to_cart_button:hover, .woo .button:hover, .checkout-button:hover, #place_order:hover { background: var(--taupe); border-color: var(--taupe); }
.single_add_to_cart_button { flex: 1; }
.product__notes { display: grid; gap: 10px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--taupe-d); }
.product__notes li { display: flex; gap: 12px; align-items: flex-start; }
.product__notes .icon { width: 19px; height: 19px; color: var(--ink); margin-top: 3px; }
.product__notes a { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 4px; }
.product__meta { display: grid; margin-top: 24px; }
.product__meta > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.product__meta dt { color: var(--taupe-d); }
.product__meta dd { margin: 0; }
.product .mtm { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.product .mtm__preview { background: var(--cream); }
.details { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.details__grid { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 32px; }
.details__grid > .eyebrow { align-self: start; }
.spec { margin-top: 0; max-width: 72ch; font-size: 1rem; }
.spec > div:first-child { padding-top: 0; }

/* ---------- WooCommerce pages (cart, checkout, account) ---------- */
.page-sec { padding: clamp(48px, 6vw, 96px) 0 clamp(72px, 9vw, 130px); }
.page-head { margin-bottom: clamp(28px, 4vw, 52px); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.notices:empty { display: none; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .wc-block-components-notice-banner {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 24px;
	padding: 16px 20px;
	border-radius: 12px;
	background: var(--cream);
	font-size: .95rem;
}
.woocommerce-message { background: #e3eadf; color: #2f4a2c; }
.woocommerce-error { background: #f2e1da; color: #7c3320; display: grid; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; padding: 0 16px; order: 2; }
.woo table.shop_table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.woo table.shop_table th, .woo table.shop_table td { padding: 16px 12px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woo table.shop_table thead th { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-d); }
:lang(ar) .woo table.shop_table thead th { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.woo .product-thumbnail img { width: 72px; height: 88px; object-fit: cover; border-radius: 0 12px 0 12px; }
.woo .product-remove a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.1rem; line-height: 1; color: var(--taupe-d); }
.woo .product-remove a:hover { background: var(--ink); color: var(--white); }
.woo .product-name a { font-weight: 500; }
.woo dl.variation { margin: 6px 0 0; font-size: .84rem; line-height: 1.6; color: var(--taupe-d); }
.woo dl.variation dt { display: inline; font-weight: 500; }
.woo dl.variation dd { display: inline; margin: 0; margin-inline-start: 4px; }
.woo dl.variation dd::after { content: ""; display: block; }
.woo dl.variation p { display: inline; margin: 0; }
.woo .actions { text-align: end; }
.woo .coupon { display: inline-flex; gap: 8px; float: inline-start; }
.woo .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.woo .coupon .input-text { width: 180px; }
.woo button[name="update_cart"] { background: transparent; color: var(--ink); }
.woo button[name="update_cart"]:disabled { opacity: .45; cursor: default; }
.woo .cart-collaterals { display: flex; justify-content: flex-end; margin-top: 40px; }
.woo .cart_totals { width: min(100%, 460px); background: var(--cream); border-radius: var(--leaf); padding: 28px; }
.woo .cart_totals h2 { font-size: 1.35rem; margin-bottom: 12px; }
.woo .cart_totals table th { font-weight: 500; width: 40%; }
.woo .wc-proceed-to-checkout { margin-top: 20px; }
.woo .checkout-button { width: 100%; }
.woo .woocommerce-shipping-methods { display: grid; gap: 6px; }
.woo .woocommerce-shipping-destination, .woo .woocommerce-shipping-calculator { font-size: .88rem; color: var(--taupe-d); }
.woo .includes_tax, .woo small.tax_label { color: var(--taupe-d); font-size: .82em; }
.woo .cross-sells { margin-top: 64px; }
.woo .cross-sells > h2 { font-size: 1.4rem; margin-bottom: 20px; }
.woo .return-to-shop { margin-top: 24px; }
.woo .cart-empty { font-size: 1.1rem; }
.woo form .form-row { display: grid; gap: 6px; margin: 0 0 16px; }
.woo form .form-row label { font-size: .88rem; font-weight: 500; }
.woo form .form-row .required { color: #a4452c; text-decoration: none; border: 0; }
.woo form .form-row .optional { color: var(--taupe); font-weight: 400; }
.woo .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
/* Billing spans both rows so the order box sits right under its heading (row 1 is kept for error notices). */
.woo form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto auto 1fr; gap: 0 clamp(28px, 5vw, 72px); align-items: start; }
.woo form.checkout > .woocommerce-NoticeGroup, .woo form.checkout > .wc-block-components-notices { grid-column: 1 / -1; grid-row: 1; margin-bottom: 20px; }
.woo form.checkout #customer_details { grid-column: 1; grid-row: 2 / span 2; }
.woo form.checkout #customer_details.col2-set { grid-template-columns: 1fr; }
.woo form.checkout #order_review_heading { grid-column: 2; grid-row: 2; font-size: 1.35rem; margin-bottom: 16px; }
.woo form.checkout #order_review { grid-column: 2; grid-row: 3; background: var(--cream); border-radius: var(--leaf); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.woo form.checkout .woocommerce-billing-fields h3, .woo form.checkout .woocommerce-shipping-fields h3, .woo .woocommerce-additional-fields h3 { font-size: 1.35rem; margin-bottom: 18px; }
.woo #ship-to-different-address label { display: flex; gap: 10px; align-items: center; font-size: 1rem; }
.woo #payment { margin-top: 20px; }
.woo #payment ul.payment_methods { display: grid; gap: 10px; margin-bottom: 18px; }
.woo #payment li { padding: 14px 16px; border-radius: 10px; background: var(--paper); }
.woo #payment li label { font-weight: 500; }
.woo #payment .payment_box { margin-top: 8px; font-size: .88rem; color: var(--taupe-d); }
.woo #payment .payment_box p { margin: 0; }
.woo .woocommerce-privacy-policy-text { font-size: .84rem; color: var(--taupe-d); margin-bottom: 16px; }
.woo #place_order { width: 100%; min-height: 58px; font-size: 1.02rem; }
.woo .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 18px; }
.woo .woocommerce-checkout-review-order-table { margin-bottom: 8px; }
.woo .woocommerce-checkout-review-order-table .product-total, .woo .woocommerce-checkout-review-order-table tfoot td { text-align: end; }
.woo .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 18px 0 32px; padding: 20px 24px; background: var(--cream); border-radius: var(--leaf); }
.woo .woocommerce-order-overview li { display: grid; font-size: .82rem; color: var(--taupe-d); }
.woo .woocommerce-order-overview strong { font-size: 1rem; color: var(--ink); font-weight: 500; }
.woo .woocommerce-thankyou-order-received { font-size: 1.3rem; margin-bottom: 12px; }
.woo .woocommerce-order-details, .woo .woocommerce-customer-details { margin-top: 36px; }
.woo .woocommerce-order-details__title, .woo .woocommerce-column__title { font-size: 1.3rem; margin-bottom: 14px; }
.woo address { font-style: normal; line-height: 1.8; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; }
.woo .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.woo .woocommerce-MyAccount-navigation a { display: inline-flex; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; }
.woo .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--white); border-color: var(--ink); }
.woo .woocommerce-form-login, .woo .woocommerce-form-register, .woo .woocommerce-ResetPassword { max-width: 480px; background: var(--cream); border-radius: var(--leaf); padding: 30px; }
.woo .u-columns.col2-set { align-items: start; }
.woo .woocommerce-form-login__rememberme { display: flex; gap: 8px; align-items: center; margin: 6px 0 14px; }
.woo .lost_password { margin-top: 14px; font-size: .9rem; }
.woo .password-input { display: flex; position: relative; }
.woo .password-input .input-text { flex: 1; }
.woo .show-password-input { position: absolute; inset-inline-end: 8px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; opacity: .5; }
.woo .show-password-input::after { content: "👁"; }
.woo fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 18px 0; }

/* ---------- Mini cart: the workshop order ticket ---------- */
.ticket { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.ticket__shade { position: absolute; inset: 0; background: rgba(20, 21, 20, .3); opacity: 0; pointer-events: auto; transition: opacity .45s; }
.ticket.is-open .ticket__shade { opacity: 1; }
.ticket__wrap {
	position: absolute;
	bottom: 22px;
	inset-inline-start: calc(var(--jamb) + 18px);
	width: min(420px, calc(100vw - var(--jamb) - 36px));
	pointer-events: auto;
	transform-origin: 0 100%;
	filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .32)) drop-shadow(0 2px 2px rgba(0, 0, 0, .12));
}
[dir="rtl"] .ticket__wrap { transform-origin: 100% 100%; }
.ticket__paper {
	position: relative;
	max-height: calc(100vh - 44px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 30px 26px 34px;
	background: #f7f4ec linear-gradient(180deg, rgba(201, 188, 169, .18), rgba(201, 188, 169, 0) 30%);
	color: var(--ink);
	/* Perforated top (torn from the pad) + zigzag bottom. */
	-webkit-mask:
		radial-gradient(circle at 50% 50%, #0000 3.4px, #000 4px) 0 0 / 14px 14px repeat-x,
		linear-gradient(#000 0 0) 0 14px / 100% calc(100% - 22px) no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 0h16L8 8z'/%3E%3C/svg%3E") 0 100% / 16px 8px repeat-x;
	mask:
		radial-gradient(circle at 50% 50%, #0000 3.4px, #000 4px) 0 0 / 14px 14px repeat-x,
		linear-gradient(#000 0 0) 0 14px / 100% calc(100% - 22px) no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 0h16L8 8z'/%3E%3C/svg%3E") 0 100% / 16px 8px repeat-x;
}
.ticket__close { position: absolute; top: 24px; inset-inline-end: 16px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--taupe-d); transition: background .3s, color .3s; }
.ticket__close:hover { background: var(--cream); color: var(--ink); }
.tk { position: relative; }
.tk__head { display: flex; align-items: center; gap: 12px; padding: 0 44px 16px 0; padding-inline: 0 44px; border-bottom: 1.5px dashed rgba(33, 35, 34, .32); }
.tk__mono { width: 34px; height: 34px; flex: none; }
.tk__title { font-size: .92rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.3; }
:lang(ar) .tk__title { font-size: 1.1rem; letter-spacing: 0; text-transform: none; }
.tk__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .76rem; color: var(--taupe-d); font-variant-numeric: tabular-nums; }
.tk__meta b { font-weight: 500; color: var(--ink); letter-spacing: .06em; }
.tk__lines { display: grid; }
.tk__line { position: relative; display: grid; grid-template-columns: 20px 46px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 15px 0 13px; border-bottom: 1px dotted rgba(33, 35, 34, .3); }
.tk__line.is-new { animation: tk-new 1.6s var(--ease); }
@keyframes tk-new { 0% { background: rgba(240, 207, 156, .6); } 100% { background: rgba(240, 207, 156, 0); } }
.tk__no { padding-top: 3px; font-size: .72rem; color: var(--taupe); font-variant-numeric: tabular-nums; }
.tk__thumb { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream); border-radius: 0 10px 0 10px; }
.tk__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tk__body { min-width: 0; }
.tk__name { display: block; font-weight: 500; font-size: .95rem; line-height: 1.35; }
.tk__name:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--taupe); }
.tk__line dl.variation { margin: 4px 0 0; font-size: .78rem; line-height: 1.55; color: var(--taupe-d); }
.tk__line dl.variation dt { display: inline; font-weight: 500; }
.tk__line dl.variation dd { display: inline; margin: 0 0 0 4px; margin-inline: 4px 0; }
.tk__line dl.variation dd::after { content: ""; display: block; }
.tk__line dl.variation p { display: inline; margin: 0; }
.tk__qtyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.tk__qty { display: inline-flex; align-items: center; border: 1px solid rgba(33, 35, 34, .22); border-radius: 999px; }
.tk__step { display: grid; place-items: center; width: 30px; height: 28px; font-size: 1rem; line-height: 1; color: var(--ink); border-radius: 999px; transition: background .25s; }
.tk__step:hover { background: var(--cream); }
.tk__qty output { min-width: 20px; text-align: center; font-size: .88rem; font-variant-numeric: tabular-nums; }
.tk__each { font-size: .76rem; color: var(--taupe-d); }
.tk__amount { padding-top: 1px; font-weight: 500; font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tk__remove { grid-column: 4; grid-row: 2; align-self: end; justify-self: end; font-size: .74rem; color: var(--taupe-d); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(107, 100, 92, .4); }
.tk__remove:hover { color: #a4452c; }
.tk.is-busy .tk__lines { opacity: .55; pointer-events: none; transition: opacity .2s; }
.tk__totals { position: relative; padding: 18px 0 4px; padding-inline-end: 92px; min-height: 96px; }
.tk__row { display: flex; align-items: baseline; gap: 10px; font-size: 1.05rem; }
.tk__row strong { font-weight: 500; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.tk__dots { flex: 1; border-bottom: 2px dotted rgba(33, 35, 34, .3); transform: translateY(-5px); }
.tk__note { margin-top: 4px; font-size: .76rem; color: var(--taupe-d); }
.tk__stamp { position: absolute; inset-inline-end: -4px; top: 6px; width: 88px; height: 88px; color: #8c847b; opacity: .6; transform: rotate(-14deg); mix-blend-mode: multiply; pointer-events: none; }
[dir="rtl"] .tk__stamp { transform: rotate(14deg); }
.tk__stamp { direction: ltr; }
.tk__stamp text { font-family: var(--f-ui); font-weight: 500; }
.tk__buttons { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 20px; }
.tk__buttons .btn { min-height: 48px; }
.tk__empty { display: grid; justify-items: center; gap: 16px; padding: 30px 8px 12px; text-align: center; color: var(--taupe-d); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--cream); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; isolation: isolate; }
.site-footer__pattern { position: absolute; inset: 0 0 auto; height: 220px; z-index: -1; background: url(../img/pattern-arch.svg) 0 0 / 59px 68px; opacity: .07; -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent); }
.site-footer__top { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; padding-bottom: 44px; border-bottom: 1px solid var(--line-l); }
.site-footer__logo { height: 46px; width: auto; color: var(--taupe); }
.site-footer__tag { color: var(--sand); max-width: 42ch; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr; gap: 32px; padding: 44px 0; }
.site-footer__h { font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; }
:lang(ar) .site-footer__h { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.site-footer__cols ul { display: grid; gap: 10px; }
.site-footer__cols a { transition: color .3s; }
.site-footer__cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--taupe); }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--taupe); }
.socials { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); transition: background .3s, color .3s; }
.socials a:hover { background: var(--cream); color: var(--ink); text-decoration: none !important; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-l); font-size: .86rem; color: var(--taupe); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__bottom a:hover { color: var(--cream); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 80; transform: translate(-50%, 20px); display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 20px; border-radius: var(--leaf-s); background: var(--ink); color: var(--white); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .35s, transform .45s var(--ease); font-size: .95rem; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 404 ---------- */
.nf { display: grid; justify-items: center; text-align: center; gap: 20px; padding: 40px 0; }
.nf__mono { width: 88px; height: 88px; }
.nf p { color: var(--taupe-d); }
.nf__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Motion initial states (only when JS + motion are on) ---------- */
.js:not(.reduced) [data-reveal] { opacity: 0; transform: translateY(28px); }
.js:not(.reduced) [data-reveal="rise"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
.js:not(.reduced) [data-lines] .line > span { transform: translateY(110%); }
.js:not(.reduced) [data-hero-in] { opacity: 0; transform: translateY(18px); }
.js:not(.reduced) [data-niche] .niche__frame { clip-path: inset(100% 0 0 0); }
.js:not(.reduced) [data-niche] .niche__img { filter: brightness(.25); transform: scale(1.12); }
.js:not(.reduced) [data-niche] .niche__light { opacity: 0; }
.js:not(.reduced) [data-niche] .niche__cap { opacity: 0; }
.js:not(.reduced) [data-craft] .craft__media { clip-path: inset(100% 0 0 0); }
.js:not(.reduced) [data-craft] .craft__num, .js:not(.reduced) [data-craft] .craft__title, .js:not(.reduced) [data-craft] .craft__text, .js:not(.reduced) [data-craft] .link-arrow { opacity: 0; transform: translateY(16px); }
.js.motion-failed [data-reveal], .js.motion-failed [data-hero-in], .js.motion-failed [data-lines] .line > span, .js.motion-failed [data-niche] *, .js.motion-failed [data-craft] * { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.plan__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
	.plan__dwg { height: min(62vh, 620px); }
	.plan__block { grid-template-columns: auto minmax(0, 1fr) auto; }
	.plan__meta { display: none; }
	.grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--4 > :nth-child(4) { display: none; }
	.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.hero__top, .phero__grid { grid-template-columns: 1fr; }
	.phero__media { justify-self: start; width: min(70%, 340px); }
	.intro__grid, .visit__grid, .trade__grid, .carve__grid, .story__grid, .request__grid, .values__grid, .product__grid, .details__grid { grid-template-columns: 1fr; }
	.intro__media, .visit__media, .story__media { width: min(100%, 420px); position: static; }
	.values__head, .request__copy, .product__gallery { position: static; }
	.crafts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.craft:nth-child(even) { padding-top: 40px; }
	.mtm-sec--teaser .mtm-sec__grid { grid-template-columns: 1fr; }
	.mtm-sec:not(.mtm-sec--teaser) .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--4 > :nth-child(4) { display: grid; }
	.value { grid-template-columns: 48px 1fr; }
	.value__text { grid-column: 2; }
	.carve__pin { min-height: 0; }
	.carve__panel { max-width: 560px; }
	.site-footer__top { grid-template-columns: 1fr; }
	.woo form.checkout { grid-template-columns: 1fr; }
	.woo form.checkout #customer_details, .woo form.checkout #order_review_heading, .woo form.checkout #order_review, .woo form.checkout > .woocommerce-NoticeGroup { grid-column: 1; grid-row: auto; position: static; }
	.woo form.checkout #order_review_heading { margin-top: 28px; }
	.supply__grid { grid-template-columns: 1fr; }
	.inside__grid { grid-template-columns: 1fr 1fr; }
	.inside__item--0 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: .98rem; }
	.hero__niches { gap: 10px; margin-top: 36px; }
	.niche__cap { font-size: .82rem; gap: 6px; margin-top: 10px; padding-top: 10px; }
	.niche__num, .niche__cap .icon { display: none; }
	.hero__ctas .btn, .phero__ctas .btn { flex: 1 1 auto; }
	.btn { padding: 0 20px; }
	.crafts__row { gap: 14px; }
	.craft__text { font-size: .88rem; }
	.grid--3, .grid--4 { gap: 28px 14px; }
	.card__title { font-size: 1rem; }
	.card__body .btn { justify-self: stretch; }
	.badge { top: 10px; inset-inline-start: 10px; padding: 5px 10px 5px 8px; font-size: .7rem; }
	.rq__grid { grid-template-columns: 1fr; }
	.mtm__dims { grid-template-columns: 1fr 1fr; gap: 10px; }
	.mtm__buy { width: 100%; }
	.mtm__buy .btn { flex: 1; }
	.steps, .mtm-sec:not(.mtm-sec--teaser) .steps { grid-template-columns: 1fr; }
	.teaser__row { grid-template-columns: 64px 1fr 70px; }
	.visit__list > div { grid-template-columns: 1fr; gap: 2px; }
	.site-footer__cols { grid-template-columns: 1fr; gap: 28px; }
	.shop__bar { gap: 12px; }
	.seg { width: 100%; }
	.seg__opt { flex: 1; justify-content: center; padding: 9px 8px; font-size: .84rem; }
	.shop__count { margin-inline-start: 0; }
	.woo .col2-set { grid-template-columns: 1fr; }
	.woo table.shop_table_responsive thead { display: none; }
	.woo table.shop_table_responsive tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.woo table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 6px 0; grid-column: 1 / -1; }
	.woo table.shop_table_responsive td::before { content: attr(data-title); color: var(--taupe-d); font-size: .86rem; }
	.woo table.shop_table_responsive td.product-remove, .woo table.shop_table_responsive td.product-thumbnail { grid-column: auto; }
	.woo table.shop_table_responsive td.product-remove::before, .woo table.shop_table_responsive td.product-thumbnail::before, .woo table.shop_table_responsive td.actions::before { display: none; }
	.woo .coupon { float: none; display: flex; margin-bottom: 12px; }
	.woo .coupon .input-text { flex: 1; width: auto; }
	.product__meta > div { grid-template-columns: 110px 1fr; }
	.details__grid { gap: 12px; }
	.inside__grid { grid-template-columns: 1fr; }
}

/* Phones: the jamb becomes a threshold bar at the bottom; the plan unrolls up from it. */
@media (max-width: 760px) {
	:root { --jamb: 0px; --bar: 66px; }
	body { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
	.jamb { top: auto; bottom: 0; inset-inline: 0; width: auto; height: calc(var(--bar) + env(safe-area-inset-bottom)); padding: 0 14px env(safe-area-inset-bottom); flex-direction: row; justify-content: space-between; gap: 6px; border-top: 1px solid rgba(226, 222, 210, .1); }
	.jamb::after { display: none; }
	.jamb__home { width: 40px; order: 1; }
	.jamb__mono { width: 40px; height: 40px; }
	.jamb__word { display: none; }
	.jamb__menu { order: 2; align-self: flex-end; width: 64px; height: 84px; padding-top: 0; margin-bottom: calc(10px + env(safe-area-inset-bottom)); }
	.jamb__door { position: absolute; inset: 0; width: 64px; height: 84px; fill: var(--ink); opacity: 1; stroke: rgba(226, 222, 210, .35); }
	.jamb__door circle { fill: rgba(226, 222, 210, .6); }
	.jamb__bars { top: 36px; }
	.jamb__label { position: absolute; bottom: 12px; }
	.jamb__tools { order: 3; display: flex; gap: 2px; }
	.jamb__tool { width: 40px; height: 40px; }
	.jamb__light { inset: 0 0 auto 0; width: auto; height: 2px; }
	.jamb__light i { transform-origin: left; transform: scaleX(var(--sp, 0)); }
	[dir="rtl"] .jamb__light i { transform-origin: right; }
	.topbrand { display: block; position: absolute; top: 18px; inset-inline-start: 20px; z-index: 5; color: var(--ink); }
	.has-dark-hero .topbrand { color: var(--cream); }
	.topbrand__logo { height: 26px; width: auto; }
	.hero { padding-top: 84px; }
	.phero, .product, .page-sec { padding-top: 88px; }
	.plan { inset: 0 0 calc(var(--bar) + env(safe-area-inset-bottom)) 0; }
	.plan__in { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 18px; padding: 24px 20px 28px; }
	.plan__dwg { height: 30vh; }
	.sched__row { padding: 10px 0; }
	.sched__link { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
	.sched__no { width: 32px; height: 32px; }
	.sched__label { font-size: 1.45rem; }
	.sched__hint { font-size: .8rem; }
	.sched__cats { padding-inline-start: 50px; }
	.plan__block { grid-template-columns: 1fr; }
	.plan__cell + .plan__cell { border-inline-start: 0; border-top: 1px solid rgba(226, 222, 210, .3); }
	.ticket__wrap { inset-inline: 10px; width: auto; bottom: calc(var(--bar) + 10px + env(safe-area-inset-bottom)); transform-origin: 50% 100%; }
	[dir="rtl"] .ticket__wrap { transform-origin: 50% 100%; }
	.ticket__paper { max-height: calc(100vh - var(--bar) - 48px); padding: 28px 18px 32px; }
	.tk__line { grid-template-columns: 18px 42px minmax(0, 1fr) auto; gap: 4px 10px; }
	.toast { bottom: calc(var(--bar) + 16px); }
}