/* ==========================================================================
   Omeecron Textiles — "Atelier" design system
   Editorial, fashion-house aesthetic: linen, ink, madder red, indigo, thread gold
   ========================================================================== */

:root {
  --linen: #f4efe6;
  --linen-2: #ece4d6;
  --paper: #fbf8f2;
  --sand: #e6dccb;
  --ink: #1d1a17;
  --ink-2: #463f37;
  --muted: #6a6158;
  --line: #d9cebd;
  --line-soft: #e7dfd1;
  --madder: #8e2c36;
  --madder-ink: #7a2430;
  --madder-soft: #f3e3e1;
  --indigo: #263559;
  --gold: #b0802f;
  --gold-ink: #85601b;
  --charcoal: #1c1917;
  --charcoal-2: #27221e;
  --on-dark: #efe8dc;
  --on-dark-2: #b9ad9c;
  --wa: #15803d;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1320px;
  --gut: 32px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
html[lang="ar"] {
  --serif: "Noto Naskh Arabic", "Amiri", Georgia, serif;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--linen); color: var(--ink-2);
  font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="ar"] body { line-height: 1.95; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.45; letter-spacing: 0; font-weight: 600; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--madder); color: #fff; }
:focus-visible { outline: 2px solid var(--madder); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
[hidden] { display: none !important; }

/* subtle woven texture */
.weave-bg {
  background-color: var(--linen);
  background-image:
    repeating-linear-gradient(0deg, rgba(29,26,23,.022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(29,26,23,.02) 0 1px, transparent 1px 4px);
}

/* ---------- Type helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--madder-ink); margin-bottom: 22px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker.light { color: #e6b8a9; }
html[lang="ar"] .kicker, html[lang="ar"] .label, html[lang="ar"] .nav-link, html[lang="ar"] .btn { letter-spacing: 0; text-transform: none; }
.display { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 6.2rem); line-height: .98; letter-spacing: -.02em; }
.h-xl { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 4.1rem); line-height: 1.02; }
.h-lg { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); }
.display em, .h-xl em, .h-lg em, .page-title em, .quote em { font-style: italic; color: var(--madder); font-weight: 500; }
html[lang="ar"] .display em, html[lang="ar"] .h-xl em, html[lang="ar"] .h-lg em, html[lang="ar"] .page-title em, html[lang="ar"] .quote em { font-style: normal; }
.intro { font-size: 1.12rem; color: var(--ink-2); max-width: 600px; }
.label { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
.serif { font-family: var(--serif); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--linen);
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--madder); border-color: var(--madder); color: #fff; }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
[dir="rtl"] .btn .icon, [dir="rtl"] .arrow-link .icon, [dir="rtl"] .svc-row .icon, [dir="rtl"] .lib-card .icon { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon { transform: scaleX(-1) translateX(4px); }
.btn-madder { background: var(--madder); border-color: var(--madder); color: #fff; }
.btn-madder:hover { background: var(--ink); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.btn-light { background: var(--linen); border-color: var(--linen); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--linen); border-color: var(--linen); }
.btn-ghost-light { background: transparent; border-color: rgba(239,232,220,.5); color: var(--on-dark); }
.btn-ghost-light:hover { background: var(--linen); color: var(--ink); border-color: var(--linen); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #116b33; border-color: #116b33; }
.btn-sm { padding: 12px 18px; font-size: .68rem; }
.btn:disabled { opacity: .6; cursor: progress; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: color .3s, border-color .3s, gap .3s; }
.arrow-link:hover { color: var(--madder); border-color: var(--madder); gap: 16px; }
.arrow-link.light { color: var(--on-dark); border-color: var(--on-dark-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244,239,230,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(29,26,23,.6); }
.site-header .container { max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.55rem; color: var(--ink); letter-spacing: -.01em; }
.brand-word b i { font-style: italic; color: var(--madder); font-weight: 500; }
.brand-word small { font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { position: relative; padding: 10px 13px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: color .25s; }
html[lang="ar"] .main-nav a { font-size: .92rem; letter-spacing: 0; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 13px; bottom: 4px; height: 1px; background: var(--madder); transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--madder); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-extra { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s, background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* language switcher */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--ink); }
.lang-btn:hover, .lang-switch.open .lang-btn { border-color: var(--ink); }
.lang-btn .icon { width: 16px; height: 16px; }
.lang-btn .chev { width: 12px; height: 12px; transform: rotate(90deg); transition: transform .25s; }
.lang-switch.open .lang-btn .chev { transform: rotate(-90deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 210px; z-index: 130; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(29,26,23,.5); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 12px; font-size: .95rem; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.lang-menu li:last-child a { border-bottom: 0; }
.lang-menu a:hover { background: var(--linen); }
.lang-menu a.active { color: var(--madder); }
.lm-native { font-family: var(--serif); font-size: 1.1rem; }
.lang-menu a[lang="ar"] .lm-native { font-family: "Noto Naskh Arabic", Georgia, serif; }
.lm-code { font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }

/* ---------- Generic sections ---------- */
.sec { padding: 130px 0; position: relative; }
.sec-tight { padding: 90px 0; }
.sec.paper { background: var(--paper); }
.sec.sand { background: var(--sand); }
.sec.dark { background: var(--charcoal); color: var(--on-dark-2); }
.sec.dark h2, .sec.dark h3, .sec.dark h4 { color: var(--on-dark); }
.sec.dark .display em, .sec.dark .h-xl em, .sec.dark .h-lg em { color: #e6b8a9; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.sec-head .intro { margin: 0; justify-self: end; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .intro { justify-self: center; }
.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- Home hero ---------- */
.t-hero { position: relative; padding: 70px 0 0; overflow: hidden; }
.t-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: stretch; }
.th-copy { padding: 60px 0 90px; display: flex; flex-direction: column; justify-content: center; }
.th-copy .display { margin-bottom: 30px; }
.th-copy .intro { margin-bottom: 40px; }
.th-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-bottom: 64px; }
.th-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); }
.th-stats > div { padding: 22px 34px 0 0; margin-inline-end: 34px; border-inline-end: 1px solid var(--line); }
.th-stats > div:last-child { border: 0; margin: 0; }
[dir="rtl"] .th-stats > div { padding: 22px 0 0 34px; }
.th-stats strong { display: block; font-family: var(--serif); font-size: 2.7rem; font-weight: 500; color: var(--ink); line-height: 1; }
.th-stats strong sup { font-size: .5em; color: var(--madder); }
.th-stats > div > span { display: block; margin-top: 8px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
html[lang="ar"] .th-stats > div > span { letter-spacing: 0; }
.th-visual { position: relative; min-height: 680px; }
.th-main { position: absolute; inset: 0 0 0 12%; overflow: hidden; }
[dir="rtl"] .th-main { inset: 0 12% 0 0; }
.th-main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 2.4s var(--ease); }
.th-visual:hover .th-main img { transform: scale(1.09); }
.th-small { position: absolute; left: 0; bottom: 70px; width: 40%; aspect-ratio: 4/5; border: 10px solid var(--linen); overflow: hidden; z-index: 2; box-shadow: 0 30px 60px -30px rgba(29,26,23,.6); }
[dir="rtl"] .th-small { left: auto; right: 0; }
.th-small img { width: 100%; height: 100%; object-fit: cover; }
.th-vertical { position: absolute; right: -6px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; font-size: .66rem; letter-spacing: .4em; text-transform: uppercase; color: var(--on-dark); z-index: 2; white-space: nowrap; mix-blend-mode: difference; }
[dir="rtl"] .th-vertical { display: none; }
/* paper fabric tag */
.fabric-tag {
  position: absolute; right: 26px; top: 40px; z-index: 3; width: 210px; padding: 20px 20px 18px; background: var(--paper);
  box-shadow: 0 24px 50px -24px rgba(29,26,23,.55); transform: rotate(3deg);
  clip-path: polygon(14% 0, 86% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
}
[dir="rtl"] .fabric-tag { right: auto; left: 26px; transform: rotate(-3deg); }
.fabric-tag::before { content: ""; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--linen-2); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.fabric-tag .label { display: block; margin-top: 18px; }
.fabric-tag b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.1; margin: 4px 0 10px; }
.fabric-tag dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-family: var(--mono); font-size: .72rem; color: var(--ink-2); }
.fabric-tag dt { color: var(--muted); }
.fabric-tag dd { margin: 0; }
.ft-shades { display: flex; gap: 4px; margin-top: 14px; }
.ft-shades i { flex: 1; height: 18px; background: var(--c); }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--linen); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; padding: 22px 0; }
.ticker-track span { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--ink); padding-inline: 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 52px; }
.ticker-track span::after { content: "✶"; font-style: normal; font-size: .9rem; color: var(--madder); }
html[lang="ar"] .ticker-track span { font-style: normal; font-size: 1.6rem; }
@keyframes tick { to { transform: translateX(-50%); } }
[dir="rtl"] .ticker-track { animation-name: tickRtl; }
@keyframes tickRtl { to { transform: translateX(50%); } }

/* ---------- Atelier intro ---------- */
.atelier { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.atelier-img { position: relative; }
.atelier-img .ai-1 { aspect-ratio: 4/5; overflow: hidden; width: 78%; }
.atelier-img .ai-1 img, .atelier-img .ai-2 img { width: 100%; height: 100%; object-fit: cover; }
.atelier-img .ai-2 { position: absolute; right: 0; bottom: -50px; width: 46%; aspect-ratio: 1; overflow: hidden; border: 10px solid var(--linen); }
[dir="rtl"] .atelier-img .ai-2 { right: auto; left: 0; }
.atelier-img figcaption { margin-top: 14px; }
.atelier-text .dropcap::first-letter { float: left; font-family: var(--serif); font-size: 4.6rem; line-height: .8; padding: 8px 12px 0 0; color: var(--madder); }
[dir="rtl"] .atelier-text .dropcap::first-letter { float: right; padding: 8px 0 0 12px; }
html[lang="ar"] .atelier-text .dropcap::first-letter { font-size: inherit; float: none; padding: 0; color: inherit; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin: 36px 0 38px; }
.facts div { padding: 20px 18px 0 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--ink); font-weight: 500; line-height: 1; }
.facts span { font-size: .78rem; color: var(--muted); }
.ticks { display: grid; gap: 12px; margin: 26px 0 34px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 16px; height: 1px; background: var(--madder); }
.sec.dark .ticks li { color: var(--on-dark-2); }

/* ---------- Fabric library (horizontal) ---------- */
.library { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 26px; scrollbar-width: thin; scrollbar-color: var(--ink) var(--line); }
.library::-webkit-scrollbar { height: 3px; }
.library::-webkit-scrollbar-track { background: var(--line); }
.library::-webkit-scrollbar-thumb { background: var(--ink); }
.lib-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.lib-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--sand); }
.lib-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92); }
.lib-card:hover .lib-img img { transform: scale(1.07); filter: saturate(1.08); }
.lib-num { position: absolute; top: 14px; inset-inline-start: 16px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.lib-meta { padding-top: 16px; border-top: 1px solid var(--ink); margin-top: 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lib-meta h3 { font-size: 1.55rem; margin: 0; }
.lib-meta small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 4px; }
html[lang="ar"] .lib-meta small { letter-spacing: 0; }
.lib-meta .icon { width: 22px; height: 22px; margin-top: 6px; transition: transform .35s var(--ease); color: var(--madder); }
.lib-card:hover .lib-meta .icon { transform: translateX(5px); }
.scroll-hint { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.coll { position: relative; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; color: #fff; isolation: isolate; }
.coll:nth-child(2) { margin-top: 90px; min-height: 550px; }
.coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.coll:hover img { transform: scale(1.06); }
.coll::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,17,15,.1) 25%, rgba(20,17,15,.88) 100%); }
.coll .label { color: #ead8c6; margin-bottom: 14px; }
.coll h3 { color: #fff; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); margin-bottom: 14px; }
.coll p { color: #e7ded2; max-width: 480px; }
.coll .tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 28px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #f2e7da; }
html[lang="ar"] .coll .tags { font-style: normal; }
.coll .tags span::after { content: " /"; color: rgba(255,255,255,.4); margin-inline-start: 18px; }
.coll .tags span:last-child::after { content: ""; }
.coll .arrow-link { align-self: flex-start; }

/* ---------- Swatch book (featured) ---------- */
.swatchbook { display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px 26px; }
.sw-card { display: block; }
.sw-img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--sand);
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/16px 9px repeat-x;
  mask: linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/16px 9px repeat-x; }
.sw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.sw-card:hover .sw-img img { transform: scale(1.07); }
.sw-seg { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--paper); color: var(--ink); font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; }
html[lang="ar"] .sw-seg { letter-spacing: 0; font-size: .74rem; }
.sw-body { padding-top: 16px; }
.sw-body h3 { font-size: 1.45rem; margin-bottom: 6px; transition: color .3s; }
.sw-card:hover h3 { color: var(--madder); }
.sw-spec { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
.sw-spec span + span::before { content: "·"; margin-inline-end: 12px; color: var(--muted); }
.sw-body p { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.sw-count { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--madder-ink); }
html[lang="ar"] .sw-count { letter-spacing: 0; }

/* ---------- Colour lab ---------- */
.colourlab { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.shadecard { background: var(--paper); padding: 30px; box-shadow: 0 40px 70px -40px rgba(29,26,23,.55); position: relative; }
.shadecard::before { content: ""; position: absolute; inset: 10px; border: 1px dashed var(--line); pointer-events: none; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; position: relative; }
.sc-top b { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-weight: 600; }
.sc-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; }
.sc-chips div span { display: block; aspect-ratio: 2/3; background: var(--c); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sc-chips b { display: block; font-size: .7rem; color: var(--ink); margin-top: 6px; line-height: 1.2; }
.sc-chips small { font-family: var(--mono); font-size: .6rem; color: var(--muted); }
.sc-bottom { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; color: var(--muted); position: relative; }

/* ---------- Services (numbered rows) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.sec.dark .svc-list, .sec.dark .svc-row { border-color: rgba(239,232,220,.16); }
.svc-row { display: grid; grid-template-columns: 90px 1.1fr 1.4fr 40px; gap: 30px; align-items: baseline; padding: 34px 10px; border-bottom: 1px solid var(--line); transition: background .4s var(--ease), padding .4s var(--ease); }
.svc-row:hover { background: rgba(255,255,255,.04); padding-inline: 22px; }
.sec:not(.dark) .svc-row:hover { background: var(--paper); }
.svc-num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--madder); }
.sec.dark .svc-num { color: #e6b8a9; }
.svc-row h3 { font-size: 1.9rem; margin: 0; }
.svc-row p { margin: 0; color: inherit; }
.svc-row .icon { width: 22px; height: 22px; color: var(--madder); align-self: center; transition: transform .35s var(--ease); }
.sec.dark .svc-row .icon { color: #e6b8a9; }
.svc-row:hover .icon { transform: translateX(6px); }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: st; border-top: 1px solid var(--ink); }
.tl-step { padding: 28px 22px 0 0; position: relative; }
.tl-step::before { counter-increment: st; content: counter(st, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ink); margin-bottom: 18px; }
.sec.dark .tl-step::before { -webkit-text-stroke-color: var(--on-dark-2); }
.sec.dark .timeline { border-color: rgba(239,232,220,.3); }
.tl-step::after { content: ""; position: absolute; top: -5px; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--madder); }
.tl-step h4 { font-size: 1.35rem; margin-bottom: 8px; }
.tl-step p { font-size: .9rem; color: var(--muted); margin: 0; }
.sec.dark .tl-step p { color: var(--on-dark-2); }

/* ---------- Figures band ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(239,232,220,.16); }
.figures div { padding: 36px 26px; border-inline-end: 1px solid rgba(239,232,220,.16); }
.figures div:last-child { border: 0; }
.figures .label { color: #e6b8a9; }
.figures strong { display: block; font-family: var(--serif); font-size: 3.1rem; color: var(--on-dark); font-weight: 500; line-height: 1.05; margin: 10px 0 6px; }
.figures strong small { font-size: .42em; font-family: var(--sans); font-weight: 600; color: var(--on-dark-2); margin-inline-start: 6px; }
.figures p { margin: 0; font-size: .86rem; }
.fig-note { margin: 22px 0 0; font-size: .82rem; color: var(--on-dark-2); }
.fig-note a { color: #e6b8a9; border-bottom: 1px solid rgba(230,184,169,.4); }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.mk-list { border-top: 1px solid rgba(239,232,220,.16); }
.mk-row { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(239,232,220,.16); }
.mk-row i { font-family: var(--serif); font-style: italic; color: #e6b8a9; font-size: 1.15rem; }
.mk-row b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--on-dark); font-weight: 500; line-height: 1.2; }
.mk-row span { font-size: .88rem; }
.port-card { margin-top: 40px; padding: 26px; border: 1px solid rgba(239,232,220,.2); }
.port-card .label { color: #e6b8a9; }
.port-card p { margin: 10px 0 0; font-family: var(--serif); font-size: 1.35rem; color: var(--on-dark); line-height: 1.4; }

/* ---------- Gallery (masonry) ---------- */
.gallery { columns: 3; column-gap: 22px; }
.gallery figure { margin: 0 0 22px; break-inside: avoid; cursor: zoom-in; }
.gallery figure img { width: 100%; height: auto; transition: filter .5s; }
.gallery figure:hover img { filter: brightness(1.06) saturate(1.1); }
.gallery figcaption { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 10px; }
html[lang="ar"] .gallery figcaption { letter-spacing: 0; }

/* ---------- Quote ---------- */
.quote-block { text-align: center; max-width: 980px; margin: 0 auto; }
.quote { font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2vw, 3.1rem); line-height: 1.22; color: var(--ink); font-weight: 500; margin: 0 0 30px; }
.quote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--madder); margin-bottom: 10px; }
.quote-sign { display: inline-flex; align-items: center; gap: 14px; text-align: start; }
.quote-sign svg { width: 44px; height: 44px; }
.quote-sign b { display: block; color: var(--ink); font-size: .9rem; }
.quote-sign span { font-size: .8rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { background: var(--madder); color: #f5e4e2; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 9px); pointer-events: none; }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 50px; align-items: center; padding-block: 100px; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.9rem); margin-bottom: 14px; }
.cta p { margin: 0; font-size: 1.08rem; max-width: 640px; color: #f5e4e2; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Inner page hero ---------- */
.p-hero { padding: 80px 0 90px; border-bottom: 1px solid var(--line); }
.p-hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; }
.crumbs { display: flex; gap: 12px; flex-wrap: wrap; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 30px; }
html[lang="ar"] .crumbs { letter-spacing: 0; font-size: .85rem; }
.crumbs a:hover { color: var(--madder); }
.crumbs .sep { opacity: .5; }
.page-title { font-size: clamp(2.6rem, 1.5rem + 4vw, 5.6rem); line-height: 1; margin-bottom: 26px; }
.p-hero .intro { margin: 0; }
.p-hero-img { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.p-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.p-hero-img::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.55); pointer-events: none; }

/* ---------- Catalogue ---------- */
.catalog-layout { display: grid; grid-template-columns: 270px 1fr; gap: 60px; align-items: start; }
.cat-side { position: sticky; top: calc(var(--header-h) + 30px); }
.search { position: relative; display: block; margin-bottom: 30px; }
.search input { width: 100%; padding: 14px 0 14px 30px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; outline: none; font-size: .95rem; }
[dir="rtl"] .search input { padding: 14px 30px 14px 0; }
.search .icon { position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.side-group { margin-bottom: 32px; }
.side-group .label { display: block; margin-bottom: 12px; }
.seg-switch, .tabs { display: flex; flex-direction: column; }
.seg-btn, .tab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line-soft); background: none; cursor: pointer; text-align: start; font-family: var(--serif); font-size: 1.2rem; color: var(--ink-2); transition: color .25s, padding .25s; }
.seg-btn span, .tab .count { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.seg-btn:hover, .tab:hover { color: var(--madder); padding-inline-start: 6px; }
.seg-btn.active, .tab.active { color: var(--madder); font-style: italic; }
html[lang="ar"] .seg-btn.active, html[lang="ar"] .tab.active { font-style: normal; font-weight: 700; }
.side-help { padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.side-help p { font-size: .88rem; margin-bottom: 14px; }
.catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 34px; }
.pcard { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 18px; }
.pcard .ph { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; background: var(--sand); margin-bottom: 20px; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.pcard:hover .ph img { transform: scale(1.06); }
.pcard .ph .n { position: absolute; bottom: 12px; inset-inline-end: 12px; background: var(--paper); color: var(--ink); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; display: inline-flex; gap: 6px; align-items: center; }
html[lang="ar"] .pcard .ph .n { letter-spacing: 0; font-size: .8rem; }
.pcard .ph .n .icon { width: 13px; height: 13px; }
.pc-top { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.pcard h3 { font-size: 1.9rem; margin: 0 0 6px; }
.pcard h3 a:hover { color: var(--madder); }
.pcard .desc { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.pcard ul { columns: 2; column-gap: 24px; margin-bottom: 14px; flex: 1; }
.pcard li { break-inside: avoid; font-size: .88rem; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.pcard li mark { background: #f1d9a8; color: inherit; padding: 0 2px; }
.pcard li.extra { display: none; }
.pcard.expanded li.extra { display: block; }
.pcard li[hidden] { display: none !important; }
.toggle-more { align-self: flex-start; background: none; border: 0; padding: 0; margin-bottom: 18px; color: var(--madder-ink); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.pc-foot .label b { display: block; color: var(--ink); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .86rem; margin-top: 2px; }
.pc-actions { display: flex; gap: 18px; align-items: center; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.spec-tags span { font-family: var(--mono); font-size: .72rem; padding: 3px 8px; border: 1px solid var(--line); color: var(--ink-2); }
.empty { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1px dashed var(--line); }
.empty h3 { font-size: 1.8rem; }

/* downloads */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.download { display: flex; align-items: center; gap: 20px; padding: 24px 6px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; }
.download:hover { background: var(--paper); padding-inline: 16px; }
.d-pdf { font-family: var(--mono); font-size: .7rem; font-weight: 700; padding: 8px 10px; border: 1px solid var(--madder); color: var(--madder); }
.d-body { flex: 1; min-width: 0; }
.d-body strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 500; }
.d-body span { display: block; font-size: .86rem; color: var(--muted); }
.d-body small { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.d-go .icon { width: 22px; height: 22px; color: var(--madder); }

/* process / finishes list */
.finish-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.finish-grid div { padding: 26px 22px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.finish-grid b { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-weight: 500; }
.finish-grid span { font-size: .85rem; color: var(--muted); }

/* ---------- Product detail ---------- */
.prod { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.prod-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pg-main { position: relative; margin: 0; aspect-ratio: 4/5; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.pg-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; margin-top: 12px; }
.pg-thumb { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; aspect-ratio: 1; overflow: hidden; opacity: .7; transition: opacity .25s, border-color .25s; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb.active, .pg-thumb:hover { opacity: 1; border-color: var(--ink); }
.prod-info .kicker { margin-bottom: 16px; }
.prod-info h1 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); line-height: 1; margin-bottom: 20px; }
.prod-lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; color: var(--ink); margin-bottom: 24px; }
html[lang="ar"] .prod-lead { font-size: 1.3rem; }
.prod-desc p { color: var(--ink-2); }
.avail { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 28px; }
.avail span { padding: 7px 14px; border: 1px solid var(--ink); font-size: .8rem; font-weight: 600; color: var(--ink); }
.prod-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* specification as fabric label */
.spec-label { margin-top: 34px; background: var(--paper); padding: 30px; position: relative; box-shadow: 0 30px 60px -40px rgba(29,26,23,.5); }
.spec-label::before { content: ""; position: absolute; inset: 9px; border: 1px dashed var(--line); pointer-events: none; }
.sl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); position: relative; }
.sl-head b { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); font-weight: 600; }
.spec-table { width: 100%; border-collapse: collapse; position: relative; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; text-align: start; font-size: .92rem; }
.spec-table th { width: 36%; padding-inline-end: 16px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
html[lang="ar"] .spec-table th { letter-spacing: 0; font-size: .85rem; }
.spec-table td { font-family: var(--mono); font-size: .84rem; color: var(--ink); }
html[lang="ar"] .spec-table td { font-family: var(--sans); }
.sl-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; position: relative; }
.qualities { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.qualities a { display: grid; grid-template-columns: 40px 1fr 20px; gap: 12px; align-items: baseline; padding: 18px 10px 18px 0; border-bottom: 1px solid var(--line); transition: color .25s, background .25s, padding .25s; }
.qualities a:hover { color: var(--madder); background: var(--paper); padding-inline: 10px; }
.qualities i { font-family: var(--serif); font-style: italic; color: var(--madder); }
.qualities span { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.qualities .icon { width: 16px; height: 16px; color: var(--muted); }
[dir="rtl"] .qualities .icon { transform: scaleX(-1); }

/* ---------- Zigzag rows (custom dev / export) ---------- */
.zig { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.zig:first-child { padding-top: 0; }
.zig:nth-child(even) .zig-img { order: 2; }
.zig-img { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.zig-img img { width: 100%; height: 100%; object-fit: cover; }
.zig-num { font-family: var(--serif); font-size: 6rem; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--madder); display: block; margin-bottom: 18px; }
.zig h3 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem); }

/* split figure + text */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split2.rev > :first-child { order: 2; }
.stack-img { position: relative; }
.stack-img .s1 { aspect-ratio: 4/5; overflow: hidden; width: 80%; }
.stack-img .s2 { position: absolute; bottom: -40px; inset-inline-end: 0; width: 50%; aspect-ratio: 1; overflow: hidden; border: 10px solid var(--linen); }
.sec.paper .stack-img .s2 { border-color: var(--paper); }
.stack-img img { width: 100%; height: 100%; object-fit: cover; }
.stack-img .s3 { position: absolute; top: 30px; inset-inline-end: 6%; width: 32%; aspect-ratio: 3/4; overflow: hidden; border: 8px solid var(--linen); }

/* mission/values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.values div { padding: 34px 34px 0 0; }
.values div + div { padding-inline-start: 34px; border-inline-start: 1px solid var(--line); }
.values i { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--madder); }
.values h3 { font-size: 2rem; margin: 10px 0 12px; }
.values p { color: var(--muted); margin: 0; }

/* tables */
.t-table { width: 100%; border-collapse: collapse; }
.t-table th { text-align: start; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 14px 16px 14px 0; border-bottom: 2px solid var(--ink); }
.t-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.t-table td:first-child { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.t-table td.mono { font-family: var(--mono); font-size: .84rem; color: var(--madder-ink); }
.t-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* columns list (docs, terms) */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.cols3 > div { padding: 30px 30px 0 0; }
.cols3 > div + div { padding-inline-start: 30px; border-inline-start: 1px solid var(--line); }
.cols3 h3 { font-size: 1.7rem; margin-bottom: 14px; }
.chips-line { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips-line span { padding: 6px 12px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--paper); }
.doc-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.doc-list div { display: flex; gap: 18px; align-items: baseline; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.doc-list i { font-family: var(--serif); font-style: italic; color: var(--madder); min-width: 26px; }
.doc-list b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); font-weight: 500; }
.doc-list span { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border: 1px solid var(--ink); display: grid; place-items: center; flex: none; transition: transform .3s, background .3s, color .3s; }
.faq summary .pm .icon { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: var(--linen); }
.faq .ans { padding: 0 60px 26px 0; color: var(--ink-2); }
.faq .ans p:last-child { margin: 0; }

/* sister */
.sister { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; padding: 40px 0; border-block: 1px solid var(--line); }
.sister svg { width: 76px; height: 76px; }
.sister h3 { font-size: 2rem; margin-bottom: 6px; }
.sister p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; border: 1px solid var(--line); }
.contact-side { background: var(--charcoal); color: var(--on-dark-2); padding: 50px 44px; }
.contact-side h2 { color: var(--on-dark); font-size: 2.6rem; }
.cs-item { padding: 20px 0; border-bottom: 1px solid rgba(239,232,220,.14); }
.cs-item .label { color: #e6b8a9; display: block; margin-bottom: 6px; }
.cs-item p, .cs-item a { margin: 0; color: var(--on-dark); font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.cs-item a:hover { color: #e6b8a9; }
.contact-side .btn { margin-top: 30px; }
.form-side { background: var(--paper); padding: 50px 50px 44px; }
.form-side h2 { font-size: 2.6rem; margin-bottom: 8px; }
.form-side > p { color: var(--muted); margin-bottom: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .field label { letter-spacing: 0; font-size: .82rem; }
.field label .req { color: var(--madder); }
.field input, .field select, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink-2); background: transparent; outline: none; font-size: 1rem; color: var(--ink); border-radius: 0; transition: border-color .25s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .field select { background-position: 10px 55%, 15px 55%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--madder); border-bottom-width: 2px; }
.field .err { display: none; font-size: .78rem; color: #b42318; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.field.invalid .err { display: block; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 16px; }
.form-success, .form-error { display: none; padding: 16px 18px; margin: 20px 0 0; font-weight: 600; border-inline-start: 3px solid; }
.form-success { background: #e8f3ec; color: #14532d; border-color: #15803d; }
.form-error { background: #fbeaea; color: #8a1c1c; border-color: #b42318; }
.form-success.show, .form-error.show { display: block; }
.form-side > .form-success.show, .form-side > .form-error.show { margin: 0 0 24px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map { margin-top: 60px; height: 420px; filter: grayscale(.85) contrast(1.05); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* credits */
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); border-top: 1px solid var(--line); }
.credit { display: flex; gap: 16px; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.credit img { width: 92px; height: 70px; object-fit: cover; flex: none; }
.credit b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); line-height: 1.3; word-break: break-word; }
.credit span { display: block; font-size: .78rem; color: var(--muted); }
.credit a { font-size: .74rem; font-weight: 700; color: var(--madder-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-2); padding-top: 100px; overflow: hidden; }
.ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; padding-bottom: 70px; }
.ft-top h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: #e6b8a9; margin-bottom: 22px; font-weight: 700; }
html[lang="ar"] .ft-top h4 { letter-spacing: 0; font-size: .85rem; }
.ft-about { font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; color: var(--on-dark); margin-bottom: 26px; }
.ft-links { display: grid; gap: 10px; }
.ft-links a { font-size: .92rem; transition: color .25s, padding .25s; }
.ft-links a:hover { color: var(--on-dark); padding-inline-start: 4px; }
.ft-contact li { display: flex; gap: 12px; font-size: .9rem; margin-bottom: 12px; }
.ft-contact .icon { width: 16px; height: 16px; color: #e6b8a9; margin-top: 4px; }
.ft-contact a:hover { color: var(--on-dark); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(239,232,220,.2); transition: background .3s, color .3s; }
.socials a:hover { background: var(--on-dark); color: var(--charcoal); }
.socials .icon { width: 17px; height: 17px; }
.ft-word { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(3rem, .6rem + 10.4vw, 11.5rem); line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(239,232,220,.22); white-space: nowrap; text-align: center; padding: 10px 0 20px; user-select: none; letter-spacing: -.02em; }
.ft-word i { color: rgba(142,44,54,.55); -webkit-text-stroke: 0; }
.ft-bottom { border-top: 1px solid rgba(239,232,220,.12); padding: 22px 0; font-size: .8rem; }
.ft-bottom .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ft-bottom a { color: var(--on-dark); }
.ft-bottom a:hover { color: #e6b8a9; }

/* floating */
.float-wa { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -12px rgba(21,128,61,.8); transition: transform .3s; }
.float-wa:hover { transform: translateY(-3px); }
.float-wa svg { width: 28px; height: 28px; fill: #fff; }
.to-top { position: fixed; inset-inline-end: 28px; bottom: 92px; z-index: 90; width: 44px; height: 44px; border: 1px solid var(--ink); background: var(--linen); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--ink); color: var(--linen); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20,17,15,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; }
.lightbox .lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--on-dark-2); font-family: var(--serif); font-size: 1.1rem; }
.lightbox button { position: absolute; top: 22px; inset-inline-end: 22px; width: 46px; height: 46px; border: 1px solid rgba(239,232,220,.4); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 30px var(--gut) 40px; background: var(--linen); overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .main-nav a { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 2rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
  html[lang="ar"] .main-nav a { font-size: 1.6rem; }
  .main-nav a::after { display: none; }
  .nav-extra { display: block; margin-top: 30px; }
  .nav-extra a { font-family: var(--sans); font-size: .9rem; border: 0; padding: 6px 0; color: var(--muted); }
  .t-hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .th-copy { padding: 30px 0 20px; }
  .th-visual { min-height: 560px; }
}
@media (max-width: 1080px) {
  .sec { padding: 100px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .sec-head .intro { justify-self: start; }
  .atelier, .colourlab, .markets, .split2, .prod, .zig { grid-template-columns: 1fr; gap: 50px; }
  .zig:nth-child(even) .zig-img, .split2.rev > :first-child { order: 0; }
  .collections { grid-template-columns: 1fr; }
  .coll:nth-child(2) { margin-top: 0; }
  .swatchbook { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figures div:nth-child(2) { border-inline-end: 0; }
  .figures div:nth-child(-n+2) { border-bottom: 1px solid rgba(239,232,220,.16); }
  .catalog-layout { grid-template-columns: 1fr; gap: 30px; }
  .cat-side { position: static; }
  .seg-switch { flex-direction: row; gap: 20px; flex-wrap: wrap; }
  .seg-switch .seg-btn { width: auto; border: 0; }
  .tabs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 6px; }
  .tabs .tab { width: auto; white-space: nowrap; border: 0; }
  .side-help { display: none; }
  .prod-gallery { position: static; }
  .p-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .p-hero-img { aspect-ratio: 16/9; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .values, .cols3 { grid-template-columns: 1fr; }
  .values div + div, .cols3 > div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .values div, .cols3 > div { padding: 30px 0; }
  .finish-grid { grid-template-columns: repeat(2, 1fr); }
  .qualities { grid-template-columns: repeat(2, 1fr); }
  .cta .wrap { grid-template-columns: 1fr; padding-block: 80px; }
  .sister { grid-template-columns: auto 1fr; }
  .sister .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 720px) {
  :root { --gut: 18px; }
  body { font-size: 15.5px; }
  .sec { padding: 76px 0; }
  .brand-word b { font-size: 1.3rem; }
  .brand-word small { letter-spacing: .24em; }
  .header-cta .btn { display: none; }
  .lang-btn .chev { display: none; }
  .t-hero { padding-top: 30px; }
  .th-actions { gap: 18px; margin-bottom: 40px; }
  .th-stats { grid-template-columns: repeat(3, 1fr); }
  .th-stats > div { padding: 16px 10px 0 0; margin-inline-end: 10px; }
  .th-stats strong { font-size: 2rem; }
  .th-stats > div > span { font-size: .6rem; letter-spacing: .08em; line-height: 1.3; }
  .th-visual { min-height: 440px; }
  .th-main { inset: 0 0 0 8%; }
  .fabric-tag { width: 168px; right: 10px; top: 16px; padding: 16px; }
  .fabric-tag b { font-size: 1.2rem; }
  .th-small { width: 46%; bottom: 30px; border-width: 6px; }
  .ticker-track span { font-size: 1.4rem; gap: 30px; padding-inline: 16px; }
  .atelier-img .ai-2 { bottom: -30px; }
  .facts strong { font-size: 1.8rem; }
  .library { grid-auto-columns: 74%; }
  .coll { min-height: 480px; padding: 28px 22px; }
  .coll:nth-child(2) { min-height: 440px; }
  .swatchbook { grid-template-columns: 1fr 1fr; gap: 34px 14px; }
  .sw-body h3 { font-size: 1.2rem; }
  .sw-body p { display: none; }
  .sc-chips { grid-template-columns: repeat(4, 1fr); }
  .shadecard { padding: 20px; }
  .svc-row { grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 24px 0; }
  .svc-row:hover { padding-inline: 0; }
  .svc-row p { grid-column: 2; }
  .svc-row .icon { display: none; }
  .svc-row h3 { font-size: 1.5rem; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .tl-step::before { font-size: 2.8rem; }
  .figures { grid-template-columns: 1fr; }
  .figures div { border-inline-end: 0 !important; border-bottom: 1px solid rgba(239,232,220,.16); }
  .figures div:last-child { border-bottom: 0; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery figure { margin-bottom: 12px; }
  .catalog { grid-template-columns: 1fr; }
  .pcard ul { columns: 1; }
  .pcard h3 { font-size: 1.6rem; }
  .qualities { grid-template-columns: 1fr; }
  .finish-grid, .doc-list { grid-template-columns: 1fr; }
  .spec-label { padding: 22px 18px; }
  .spec-table th, .spec-table td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .spec-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .zig-num { font-size: 4.4rem; }
  .ft-top { grid-template-columns: 1fr; gap: 36px; }
  .contact-side, .form-side { padding: 34px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.22rem; }
  .faq .ans { padding-inline-end: 0; }
  .sister { grid-template-columns: 1fr; }
  .p-hero { padding: 50px 0 60px; }
  .cta .actions .btn { flex: 1; justify-content: center; }
}

/* Menu that adapts when labels don't fit (any language) — toggled by main.js */
.nav-tight .main-nav a { padding: 10px 9px; letter-spacing: .1em; }
.nav-tight .main-nav a::after { inset-inline: 9px; }
.nav-collapse .nav-toggle { display: inline-flex; }
.nav-collapse .main-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  flex-direction: column; align-items: stretch; gap: 0; padding: 30px var(--gut) 40px; background: var(--linen); overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.nav-collapse.nav-open .main-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.nav-collapse .main-nav a { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 2rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav-collapse .main-nav a::after { display: none; }
.nav-collapse .nav-extra { display: block; margin-top: 30px; }
.nav-collapse .nav-extra a { font-family: var(--sans); font-size: .9rem; border: 0; padding: 6px 0; color: var(--muted); }
.nav-measure .main-nav { position: static !important; flex-direction: row !important; height: auto !important; padding: 0 !important; visibility: hidden !important; opacity: 0 !important; transform: none !important; }
.nav-measure .main-nav a { font-family: var(--sans) !important; font-size: .74rem !important; letter-spacing: .16em !important; text-transform: uppercase !important; padding: 10px 13px !important; border: 0 !important; }
.nav-measure.nav-tight .main-nav a { padding: 10px 9px !important; letter-spacing: .1em !important; }
.nav-measure .nav-toggle, .nav-measure .nav-extra { display: none !important; }
html[lang="ar"] .nav-measure .main-nav a { letter-spacing: 0 !important; font-size: .92rem !important; text-transform: none !important; }
.nav-extra a { display: block; }

/* ---------- Inner-page additions ---------- */
.std-strip { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--ink); }
.std-strip > div { padding: 26px 22px; display: grid; gap: 4px; }
.std-strip > div + div { border-inline-start: 1px solid rgba(29,26,23,.18); }
.std-strip b { font-size: .78rem; color: var(--madder-ink); letter-spacing: .1em; }
.std-strip strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.std-strip span { font-size: .84rem; color: var(--ink-2); }
.stamp { position: absolute; bottom: -30px; inset-inline-end: 4%; width: 190px; height: 190px; border-radius: 50%; background: var(--madder); color: #fff; display: grid; place-content: center; text-align: center; padding: 26px; box-shadow: 0 30px 60px -30px rgba(29,26,23,.6); }
.stamp::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.55); }
.stamp strong { font-family: var(--serif); font-size: 2.8rem; line-height: 1; font-weight: 500; }
.stamp span { font-size: .78rem; line-height: 1.35; margin-top: 6px; }
.sec.dark .stack-img .s2, .sec.dark .stack-img .s3 { border-color: var(--charcoal); }
.sec.sand .stack-img .s2, .sec.sand .stack-img .s3 { border-color: var(--sand); }
.doc-list p { margin: 0; }
.sec.dark .intro { color: var(--on-dark-2); }
.contact + .map, .wrap > .map { margin-top: 60px; }
.nf { padding-top: 90px; min-height: 60vh; }
.nf-num { display: block; font-family: var(--serif); font-size: clamp(7rem, 4rem + 14vw, 16rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--madder); margin-bottom: 24px; }
@media (max-width: 1080px) {
  .std-strip { grid-template-columns: repeat(3, 1fr); }
  .std-strip > div:nth-child(4) { border-inline-start: 0; }
  .std-strip > div:nth-child(n+4) { border-top: 1px solid rgba(29,26,23,.18); }
}
@media (max-width: 720px) {
  .std-strip { grid-template-columns: 1fr 1fr; }
  .std-strip > div { border-inline-start: 0 !important; border-top: 1px solid rgba(29,26,23,.18); }
  .std-strip > div:nth-child(even) { border-inline-start: 1px solid rgba(29,26,23,.18) !important; }
  .std-strip > div:nth-child(-n+2) { border-top: 0; }
  .stamp { width: 140px; height: 140px; padding: 18px; bottom: -20px; }
  .stamp strong { font-size: 2rem; }
  .stamp span { font-size: .68rem; }
}
.sec.sand { --muted: #5c544c; }
.catalog-layout > *, .split2 > *, .prod > *, .contact > *, .markets > * { min-width: 0; }

/* ---------- Mobile hardening: header & narrow phones ---------- */
.sister > *, .cols3 > *, .values > *, .figures > *, .timeline > *, .zig > * { min-width: 0; }
h1, h2, h3, .page-title, .h-xl, .display { overflow-wrap: break-word; }
@media (max-width: 720px) {
  .site-header .container { gap: 10px; }
  .brand { flex: 0 1 auto; min-width: 0; gap: 9px; }
  .brand-word { min-width: 0; }
  .brand-word b { white-space: nowrap; }
  .brand-word small { white-space: nowrap; overflow: hidden; letter-spacing: .16em; }
  .header-cta { flex: none; gap: 8px; }
  .nav-toggle, .lang-btn { height: 42px; }
  .nav-toggle { width: 42px; }
  .lang-btn { padding: 0 10px; }
  .sister .btn { white-space: normal; max-width: 100%; }
}
@media (max-width: 400px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand-word b { font-size: 1.12rem; }
  .brand-word small { font-size: .5rem; letter-spacing: .1em; }
  .lang-btn .chev { display: none; }
}
@media (max-width: 340px) { .brand-word small { display: none; } }
.th-stats strong { white-space: nowrap; }
@media (max-width: 720px) {
  .th-vertical { display: none; }
  .th-stats { grid-template-columns: repeat(3, minmax(0, auto)); }
  .th-stats > div { padding-inline-end: 16px; margin-inline-end: 16px; }
  [dir="rtl"] .th-stats > div { padding: 22px 0 0 16px; }
}
@media (max-width: 400px) {
  .th-stats strong { font-size: 2rem; }
  .th-stats > div { padding-inline-end: 12px; margin-inline-end: 12px; }
}
[dir="rtl"] .th-stats strong { direction: ltr; text-align: right; }

/* ---------- Long translated text (fr/es/ru/pt/ar) at every width ---------- */
.btn { max-width: 100%; }
.catalog > *, .pcard > *, .swatchbook > *, .collections > *, .colourlab > *, .facts > *, .std-strip > *, .finish-grid > *, .library > *, .doc-list > *, .credits > *, .form-grid > *, .contact-side, .form-side, .prod-info, .prod-gallery, .atelier > *, .markets > * { min-width: 0; }
.pcard h3, .pcard .desc, .pcard li, .sw-body h3, .lib-card h3, .shadecard *, .std-strip strong, .finish-grid b, .finish-grid span, .facts span, .cs-item p, .cs-item a, .doc-list b { overflow-wrap: break-word; }
.pc-actions { flex-wrap: wrap; }
.sl-head { flex-wrap: wrap; }
@media (max-width: 1080px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .colourlab { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.4; padding: 15px 20px; letter-spacing: .12em; }
  .shadecard { padding: 22px 18px; }
  .std-strip > div { padding: 20px 14px; }
}

/* ---------- Legal pages (privacy policy) ---------- */
.legal { max-width: 820px; color: var(--ink-2); }
.legal-updated { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--madder-ink); border: 1px solid var(--madder); padding: 7px 14px; margin-bottom: 22px; }
html[lang="ar"] .legal-updated { letter-spacing: 0; font-size: .85rem; text-transform: none; }
.legal-intro { font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--ink); margin-bottom: 34px; }
html[lang="ar"] .legal-intro { font-size: 1.25rem; }
.legal-toc { border-block: 1px solid var(--ink); padding: 22px 0; margin-bottom: 30px; }
.legal-toc b { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
html[lang="ar"] .legal-toc b { letter-spacing: 0; font-size: .85rem; }
.legal-toc ol { list-style: decimal-leading-zero; margin: 0; padding-inline-start: 30px; columns: 2; column-gap: 40px; }
.legal-toc li { padding: 4px 0; break-inside: avoid; color: var(--madder); font-family: var(--serif); }
.legal-toc a { color: var(--ink); font-family: var(--serif); font-size: 1.12rem; }
.legal-toc a:hover { color: var(--madder); }
.legal section { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h2 { font-size: 2rem; margin: 0 0 14px; color: var(--ink); }
.legal p, .legal li { line-height: 1.8; overflow-wrap: break-word; }
.legal ul { list-style: none; padding: 0; margin: 0 0 14px; }
.legal ul li { position: relative; padding-inline-start: 26px; margin-bottom: 8px; }
.legal ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 14px; height: 1px; background: var(--madder); }
.legal a { color: var(--madder-ink); border-bottom: 1px solid currentColor; }
.legal-toc a { border-bottom: 0; }
.form-note a { color: var(--madder-ink); text-decoration: underline; }
@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
  .legal h2 { font-size: 1.6rem; }
  .legal-intro { font-size: 1.25rem; }
}
.p-hero .wrap > * { min-width: 0; }
.page-title, .h-xl, .display, .legal h2 { hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 1080px) { .p-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .page-title { font-size: 2.15rem; } }

/* ==========================================================================
   Short enquiry (contact) + fabric requirement form
   ========================================================================== */
.field-hint { margin: -14px 0 0; font-size: .8rem; color: var(--muted); }
.field-hint.full { grid-column: 1 / -1; }
.rq-detail-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .86rem; font-weight: 700; color: var(--madder-ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rq-detail-link:hover { color: var(--ink); }
.ct-done { border-top: 3px solid var(--madder); background: var(--linen); padding: 30px 28px; }
.ct-done[hidden], .rq-done[hidden] { display: none; }
.ct-done h3 { font-size: 2rem; margin-bottom: 10px; }
.ct-done p { color: var(--ink-2); }
.ct-done .kicker { margin-bottom: 14px; }
.ct-done-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.rq-sec { padding-top: 70px; }
.rq-wrap { max-width: 980px; }
.rq-step { margin-bottom: 54px; }
.rq-step-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 22px; }
.rq-num { font-family: var(--serif); font-size: 3.2rem; line-height: .9; color: var(--madder); font-weight: 500; flex: none; }
.rq-step-head h2 { font-size: 2.3rem; margin-bottom: 6px; }
.rq-step-head h2 small { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; vertical-align: middle; margin-inline-start: 8px; }
.rq-step-head p { color: var(--muted); margin: 0; }
.rq-card { background: var(--paper); border: 1px solid var(--line); padding: 30px 32px; }
.rq-fabrics { display: grid; gap: 22px; }
.rq-fab { position: relative; border-top: 3px solid var(--ink); }
.rq-fab-head { display: flex; justify-content: space-between; align-items: center; margin: -6px 0 18px; }
.rq-fab-n { font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--madder-ink); }
.rq-x { width: 34px; height: 34px; border: 1px solid var(--line); background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.rq-x:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.rq-x[hidden] { display: none; }
.rq-card .form-grid { gap: 22px 28px; }
.rq-g3 { grid-template-columns: 1fr 2fr; margin-top: 4px; }
.rq-span2 { grid-column: auto; }
.rq-q { margin-top: 24px; }
.rq-ql { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.rq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-chip { padding: 8px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .86rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; line-height: 1.3; text-align: start; }
.rq-chip:hover { border-color: var(--ink); }
.rq-chip.on { background: var(--ink); border-color: var(--ink); color: var(--linen); }
.rq-chip.on::before { content: "✓ "; color: #e6b8a9; }
.rq-qty { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; margin-top: 24px; }
.rq-qty .field { flex: 0 1 200px; }
.rq-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; padding-bottom: 8px; }
.rq-check input { width: 18px; height: 18px; accent-color: var(--madder); }
.rq-more { margin-top: 26px; border-top: 1px dashed var(--line); padding-top: 16px; }
.rq-more summary { cursor: pointer; font-weight: 700; color: var(--madder-ink); font-size: .92rem; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.rq-more summary::-webkit-details-marker { display: none; }
.rq-more summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; font-weight: 600; }
.rq-more[open] summary::before { content: "–"; }
.rq-more summary small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.rq-more[open] summary { margin-bottom: 18px; }
.rq-inline { margin-top: 10px; width: 100%; max-width: 280px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink-2); background: transparent; outline: none; }
.rq-inline:focus { border-color: var(--madder); }
.rq-add { margin-top: 22px; width: 100%; padding: 20px; border: 1px dashed var(--ink-2); background: transparent; font-weight: 700; color: var(--ink); cursor: pointer; letter-spacing: .04em; }
.rq-add:hover { background: var(--ink); color: var(--linen); border-style: solid; }
.rq-order .rq-q:first-child { margin-top: 0; }
.rq-q-2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 22px 28px; align-items: end; }
.rq-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.rq-sec .form-error { margin: 0 0 18px; }
.rq-sec .form-note { text-align: end; }
.rq-sec .form-note a { color: var(--madder-ink); font-weight: 700; border-bottom: 1px solid currentColor; }
.rq-restored { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 16px; margin-bottom: 26px; background: var(--paper); border-inline-start: 3px solid var(--gold); font-size: .9rem; }
.rq-restored button { border: 0; background: none; color: var(--madder-ink); font-weight: 700; cursor: pointer; text-decoration: underline; }
.rq-done { text-align: center; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--madder); padding: 56px 32px; }
.rq-done h2 { font-size: 2.5rem; }
.rq-done p { max-width: 620px; margin-inline: auto; }
.rq-done .ct-done-btns { justify-content: center; }
body.rq-lock { overflow: hidden; }
.rq-modal { position: fixed; inset: 0; z-index: 400; background: rgba(29,26,23,.62); display: grid; place-items: center; padding: 18px; }
.rq-modal[hidden] { display: none; }
.rq-modal-box { width: min(900px, 100%); max-height: calc(100vh - 36px); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); }
.rq-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.rq-modal-head h2 { font-size: 1.7rem; margin: 0; }
.rq-modal-body { overflow: auto; padding: 22px; background: var(--linen-2); flex: 1; }
.rq-paper { background: #fff; max-width: 794px; margin: 0 auto; padding: 34px 36px; box-shadow: 0 6px 24px -10px rgba(29,26,23,.35); min-height: 60vh; }
.rq-modal-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .rq-card { padding: 22px 18px; }
  .rq-step-head { gap: 14px; }
  .rq-num { font-size: 2.4rem; }
  .rq-step-head h2 { font-size: 1.8rem; }
  .rq-g3, .rq-q-2 { grid-template-columns: 1fr; }
  .rq-qty .field { flex: 1 1 100%; }
  .rq-actions .btn { flex: 1 1 100%; justify-content: center; }
  .rq-sec .form-note { text-align: start; }
  .rq-modal { padding: 0; }
  .rq-modal-box { max-height: 100vh; height: 100%; }
  .rq-modal-body { padding: 10px; }
  .rq-paper { padding: 18px 14px; }
  .rq-modal-foot { display: grid; grid-template-columns: 1fr 1fr; }
  .rq-modal-foot #rqModalSubmit { grid-column: 1 / -1; }
  .rq-modal-foot .btn { justify-content: center; }
  .ct-done { padding: 24px 18px; }
  .ct-done-btns .btn { flex: 1 1 100%; justify-content: center; }
  .rq-done { padding: 40px 18px; }
  .rq-done h2 { font-size: 2rem; }
}
