/* B2B showcase site — quiet, editorial, mobile-first. Accent colour comes from brand.accent. */
:root {
  --ink: #16181b;
  --ink-2: #4a4f57;
  --line: #e4e1db;
  --paper: #faf9f6;
  --white: #fff;
  --dark: #121417;
  --accent: #9a6b2f;
  --radius: 4px;
  --max: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
html[data-theme="editorial-luxury"] {
  --ink: #191715;
  --ink-2: #57524b;
  --line: #ded8ce;
  --paper: #f6f3ee;
  --dark: #141311;
  --radius: 2px;
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; }
html[data-theme="editorial-luxury"]:not([dir="rtl"]) h1,
html[data-theme="editorial-luxury"]:not([dir="rtl"]) h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1.1em; }
.note { font-size: .86rem; color: var(--ink-2); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad); background: rgba(250, 249, 246, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
html[data-theme="editorial-luxury"] .site-header { background: rgba(246, 243, 238, .94); }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-width: 0; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; }
.logo-text { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .92rem; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.nav-cta { padding: 10px 18px; border-radius: var(--radius); background: var(--accent); border: 1px solid var(--accent); color: var(--white) !important; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { filter: brightness(.9); }
.lang-menu { position: relative; font-size: .88rem; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-2); padding: 6px 0; white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 18px; height: 18px; flex-shrink: 0; }
.lang-list { position: absolute; top: 100%; inset-inline-end: 0; min-width: 170px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 6px 0; z-index: 30; }
.lang-list a { display: block; padding: 9px 16px; white-space: nowrap; }
.lang-list a[aria-current] { font-weight: 700; color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font: inherit; font-size: .9rem; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  background: var(--accent); color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid var(--accent); cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(.9); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { filter: none; background: var(--ink); color: var(--white); }
.dark .btn-ghost, .cta-band .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.text-link { text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 7vw, 96px) var(--pad); max-width: var(--max); margin: 0 auto; }
html[data-theme="editorial-luxury"] .hero { grid-template-columns: .95fr 1.25fr; }
.hero-media img, .detail-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero-media video.hero-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #1a1917; }
html[data-theme="editorial-luxury"] .hero-media img,
html[data-theme="editorial-luxury"] .hero-media video { aspect-ratio: 16 / 9; object-fit: cover; }
html[data-theme="editorial-luxury"] .detail-hero img { aspect-ratio: 3 / 2; object-fit: cover; }
.audience { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li { font-size: .82rem; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); background: var(--white); }
.proof-strip { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.proof-strip div { border-top: 1px solid var(--ink); padding-top: 14px; }
.proof-strip strong { display: block; font-size: 1.6rem; font-weight: 500; }
.proof-strip span { font-size: .86rem; color: var(--ink-2); }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 7vw, 96px) var(--pad); }
.section.dark { max-width: none; background: var(--dark); color: #e9e7e2; }
.section.dark > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.section.dark .eyebrow { color: #d7b98c; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); }
.prose { max-width: 62ch; }
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--pad) 8px; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.scene-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scene-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scene-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: var(--ink); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scene img { aspect-ratio: 3 / 4; }
html[data-theme="editorial-luxury"] .card img,
html[data-theme="editorial-luxury"] .gallery img,
html[data-theme="editorial-luxury"] .evidence img { aspect-ratio: 3 / 2; object-fit: cover; }
html[data-theme="editorial-luxury"] .scene img { aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 18px 20px 22px; position: relative; }
.card-body h3 { padding-inline-end: 26px; }
[dir="rtl"] .card .arrow { right: auto; left: 18px; }
.card-body p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.card .arrow { position: absolute; right: 18px; top: 18px; color: var(--accent); }
.media { margin: 0; position: relative; }
.media figcaption { font-size: .8rem; color: var(--ink-2); padding-top: 8px; }
.media .concept-tag { position: absolute; inset-inline-start: 10px; bottom: 10px; padding: 3px 8px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(18,20,23,.66); color: #fff; border-radius: 3px; }

/* swatches (materials / leather / stone finishes) */
.swatches-wrap { margin-top: 22px; }
.swatches { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: .85rem; color: var(--ink); }
.swatch-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex-shrink: 0; display: inline-block; }
.swatch-thumb { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { border-top: 1px solid currentColor; padding-top: 18px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent); display: block; margin-bottom: 10px; }
.dark .step-n { color: #d7b98c; }
.steps p { opacity: .85; font-size: .95rem; }
.step-pay { font-size: .82rem !important; font-weight: 600; letter-spacing: .02em; }

/* evidence */
.evidence-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.evidence-grid.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.evidence img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 12px; }
.evidence p { color: var(--ink-2); font-size: .93rem; }

/* detail pages */
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--pad) 20px; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 20px; }
.facts span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.facts strong { font-weight: 600; }
.facts.stacked { flex-direction: column; gap: 14px; }
.ticks { padding-inline-start: 1.1em; margin: 0 0 1.6em; }
.ticks li { margin-bottom: .4em; }
.ticks li::marker { color: var(--accent); }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); }
.resp { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.resp > div { background: var(--white); border: 1px solid var(--line); padding: 24px 26px 8px; border-radius: var(--radius); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.04rem; list-style: none; padding-right: 28px; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.3rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; max-width: 70ch; }

/* cta band */
.cta-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: var(--dark); color: #eceae5; padding: clamp(44px, 7vw, 88px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.cta-band .eyebrow { color: #d7b98c; }
.cta-band p { color: #c9c6bf; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn-ghost { background: transparent; color: #fff; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 6vw, 80px); }
.brief label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.brief input, .brief select, .brief textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; font-size: 16px;
  border: 1px solid #cfcac1; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.brief input:focus, .brief select:focus, .brief textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.brief .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: #a1271b; font-weight: 600; }
.contact-side { border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 44px); }
.contact-side .btn { margin-bottom: 18px; }
.legal p { max-width: 72ch; }

/* footer */
.site-footer { background: #0d0e10; color: #b9b6af; padding: 56px var(--pad) 90px; font-size: .92rem; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-img.logo-invert { filter: brightness(0) invert(1); }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { text-decoration: none; color: #e7e4de; }
.site-footer .eyebrow { color: #d7b98c; margin-bottom: 4px; }
.footer-bottom { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #26282c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.wa-float:hover { transform: scale(1.05); }

/* rtl */
[dir="rtl"] .card .arrow { right: auto; left: 18px; transform: scaleX(-1); }
[dir="rtl"] .contact-side { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: clamp(20px, 4vw, 44px); }
[dir="rtl"] .faq summary { padding-right: 0; padding-left: 28px; }
[dir="rtl"] .faq summary::after { right: auto; left: 0; }
[dir="rtl"] .wa-float { right: auto; left: 18px; }

/* small laptop / tablet: keep 4-item Russian/Spanish/French nav on one row <= 110px at 1024px */
@media (max-width: 1180px) {
  .site-header { gap: 12px; padding: 12px clamp(18px, 3vw, 34px); }
  .site-nav { gap: 14px; font-size: .86rem; }
  .nav-cta { padding: 9px 14px; font-size: .86rem; }
}
@media (max-width: 1060px) {
  .card-grid, .gallery, .evidence-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-grid, .scene-grid.n3, .evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { gap: 10px; padding: 11px 20px; }
  .logo-text { font-size: .86rem; letter-spacing: .04em; }
  .logo-img { height: 28px; }
  .site-nav { gap: 11px; font-size: .82rem; flex-wrap: nowrap; }
  .site-nav > a { white-space: nowrap; }
  .lang-menu { font-size: .82rem; }
  .nav-cta { padding: 8px 12px; font-size: .82rem; }
}
/* mobile */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; flex-wrap: wrap; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; white-space: normal; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 1px solid var(--accent) !important; }
  .lang-menu { padding: 6px 0; border-bottom: 1px solid var(--line); }
  .lang-menu summary { padding: 8px 0; font-size: 1rem; }
  .lang-list { position: static; box-shadow: none; border: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang-list a { padding: 10px 0; border-bottom: 0 !important; }
  .hero, html[data-theme="editorial-luxury"] .hero, .detail-hero, .split, .cta-band, .contact-grid, .resp, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 28px; }
  .hero-media { order: -1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .contact-side { border-left: 0; border-right: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 560px) {
  .card-grid, .scene-grid, .scene-grid.n3, .scene-grid.n2, .gallery, .evidence-grid, .evidence-grid.wide, .brief .row { grid-template-columns: minmax(0, 1fr); }
  .scene img { aspect-ratio: 4 / 3; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .spec th { width: 45%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* products page: all families on one page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { text-decoration: none; font-size: .88rem; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); }
.jump a:hover { border-color: var(--ink); }
.product-block { border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.product-title-link { text-decoration: none; }
.product-title-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-hero.flush { padding: 0; margin-bottom: 36px; }
.product-more h3 { margin-top: 0; }
div.card.scene:hover { border-color: var(--line); }

/* worldwide line under hero copy */
.worldwide { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); margin: 0 0 12px; }
.worldwide svg { width: 18px; height: 18px; color: var(--accent); }

/* advantages icon strip */
.adv-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.adv-strip ul { list-style: none; margin: 0 auto; max-width: var(--max); padding: 22px var(--pad); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.adv-strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.adv-strip svg { flex: 0 0 auto; color: var(--accent); }
.proof-strip { padding-top: 28px; }

/* process flow diagram */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 28px; counter-reset: none; }
.flow li { position: relative; text-align: center; padding: 0 6px; }
.flow-icon { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; }
.dark .flow-icon { color: #d7b98c; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; top: 20px; right: -22px; font-size: 1.3rem; opacity: .6; }
.flow .step-n { font-size: 1rem; margin-bottom: 4px; }
.flow h3 { margin-bottom: 6px; }
.flow p { font-size: .9rem; opacity: .85; margin: 0; }
[dir="rtl"] .flow li:not(:last-child)::after { content: "←"; right: auto; left: -22px; }

@media (max-width: 1060px) {
  .adv-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .flow { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .flow li { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; text-align: left; padding: 0; }
  .flow-icon { width: 56px; height: 56px; margin: 0; grid-row: span 3; }
  .flow li:not(:last-child)::after { content: "↓"; top: auto; bottom: -30px; right: auto; left: 20px; }
  [dir="rtl"] .flow li { text-align: right; }
  [dir="rtl"] .flow li:not(:last-child)::after { content: "↓"; left: auto; right: 20px; }
}
@media (max-width: 560px) {
  .adv-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-strip li { font-size: .88rem; }
}

/* downloads */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; font-weight: 600; }
.dl small { color: var(--ink-2); font-weight: 400; white-space: nowrap; }
.dl:hover { border-color: var(--ink); }
.lang-404 { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }

/* languages: long words must wrap, Arabic right-to-left, no letter-spacing for scripts that do not use it */
h1, h2, h3, .btn, .nav-cta, .adv-strip li, .flow h3 { overflow-wrap: break-word; hyphens: manual; }
h1, h2 { text-wrap: balance; }
.hero h1.long { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.hero h1.very-long { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
/* 4 product cards: 2 x 2 instead of 3 + 1 */
@media (min-width: 561px) { .card-grid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phones: product photo first, then text; leave room so the floating WhatsApp button does not cover the footer */
@media (max-width: 860px) {
  .product-block .detail-hero > div:last-child { order: -1; }
  .site-footer { padding-bottom: 96px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  [dir="rtl"] .wa-float { right: auto; left: 14px; }
}
.btn { text-align: center; }
[dir="rtl"] body, :lang(ar) { font-family: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, Arial, sans-serif; }
[dir="rtl"] .eyebrow, [dir="rtl"] .logo-text { letter-spacing: 0; }
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .spec th, [dir="rtl"] .spec td { text-align: right; }
[dir="rtl"] h1 em, [dir="rtl"] h2 em, [dir="rtl"] .step-n { font-family: inherit; font-style: normal; }

/* buyer-guide articles (b2b-article-autopublish) */
.article-head { max-width: 860px; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.crumbs { font-size: .85rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.article-date { font-size: .85rem; color: var(--ink-2); margin: 0 0 18px; }
.answer .lead { max-width: none; }
.article-hero { max-width: 1100px; margin: 12px auto 0; padding: 0 var(--pad); }
.article-hero img { width: 100%; height: auto; border-radius: var(--radius); }
.article-body { max-width: 860px; margin: 0 auto; padding: 24px var(--pad) clamp(44px, 7vw, 88px); overflow-wrap: break-word; }
.article-body section { margin: 2.6em 0 0; }
.article-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: .6em; }
.article-body p, .article-body li { max-width: 72ch; }
.article-body .conclusion { font-weight: 600; color: var(--ink); border-inline-start: 3px solid var(--accent); padding-inline-start: 14px; }
.art-steps { padding-inline-start: 1.3em; margin: 0 0 1.6em; }
.art-steps li { margin-bottom: .55em; }
.art-figure { margin: 1.6em 0; }
.art-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.art-figure .concept-tag { position: static; display: inline-block; margin-inline-end: 6px; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
table.data caption { text-align: start; font-weight: 600; padding: 12px 12px 4px; }
table.data th, table.data td { text-align: start; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--paper); font-weight: 600; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-top: 8px; }
.toc ol { margin: 0; padding-inline-start: 1.2em; }
.toc li { margin: .3em 0; }
.checklist { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px 10px; }
.art-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.art-faq summary { cursor: pointer; font-weight: 600; }
.sources ol, .related ul { padding-inline-start: 1.2em; }
.sources li, .related li { margin: .4em 0; overflow-wrap: anywhere; }
.product-guides { margin-top: 18px; }
.product-guides ul { padding-inline-start: 1.1em; margin: 0; }
.article-card img { aspect-ratio: 3 / 2; }
@media (max-width: 560px) {
  .toc, .checklist { padding: 14px 16px; }
  table.data { font-size: .88rem; }
}

/* ================================================================
   Editorial Luxury V2 — Milan Atelier Flagship Architecture
   ================================================================ */
html[data-theme="editorial-luxury"] {
  --ink: #171513;
  --ink-2: #554f47;
  --line: #dbd4c9;
  --paper: #f5f1ea;
  --white: #fcfaf6;
  --dark: #12100e;
  --radius: 1px;
  --max: 1360px;
}
html[data-theme="editorial-luxury"] .site-header {
  background: rgba(245, 241, 234, .95);
  border-bottom: 1px solid #d7cfc2;
  padding-top: 16px;
  padding-bottom: 16px;
}
html[data-theme="editorial-luxury"] .btn,
html[data-theme="editorial-luxury"] .nav-cta {
  letter-spacing: .04em;
  font-weight: 500;
}
html[data-theme="editorial-luxury"] .hero {
  padding-top: clamp(44px, 7vw, 100px);
  padding-bottom: clamp(44px, 6vw, 84px);
}
html[data-theme="editorial-luxury"] .proof-strip {
  max-width: none;
  background: var(--dark);
  color: #efeae2;
  padding: 34px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  border-top: 1px solid #2a2520;
  border-bottom: 1px solid #2a2520;
  gap: 28px;
}
html[data-theme="editorial-luxury"] .proof-strip div {
  border-top: 1px solid rgba(216, 188, 146, .45);
  padding-top: 16px;
}
html[data-theme="editorial-luxury"] .proof-strip strong {
  font-family: var(--serif);
  color: #e8cea8;
  font-size: 1.85rem;
  letter-spacing: .01em;
}
html[data-theme="editorial-luxury"] .proof-strip span {
  color: #bfb8ad;
}
.media { overflow: hidden; }
.ambient-video {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: #171513;
  display: block;
}
.card img, .card video, .gallery img, .evidence img, .macro-card img, .macro-card video {
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.card:hover img, .card:hover video, .gallery .media:hover img, .macro-card:hover img, .macro-card:hover video {
  transform: scale(1.03);
}

/* Atelier Dual-Video Dark Section (Showroom Below vs Factory Above) */
.atelier-section .atelier-lead {
  color: #c8c1b6;
  max-width: 68ch;
  margin-top: 12px;
}
.atelier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.atelier-card {
  background: #1a1714;
  border: 1px solid #2e2923;
  border-radius: var(--radius);
  overflow: hidden;
}
.atelier-media .ambient-video,
.atelier-media img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}
.atelier-body {
  padding: 24px 26px 28px;
}
.atelier-tag {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d8bc92;
  font-weight: 600;
  margin: 0 0 8px;
}
[dir="rtl"] .atelier-tag { letter-spacing: 0; }
.atelier-body h3 {
  color: #f6f3ee;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.atelier-body p {
  color: #c4bdb2;
  font-size: .95rem;
  margin: 0;
}
.tour-bar {
  margin-top: 32px;
  padding: 28px 30px;
  background: #1b1815;
  border: 1px solid rgba(216, 188, 146, .35);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: center;
}
.tour-bar h3 { color: #f6f3ee; font-size: 1.25rem; margin-bottom: 8px; }
.tour-bar p { color: #c4bdb2; margin: 0; font-size: .94rem; }
.tour-bar .cta-actions { margin: 0; justify-content: flex-end; }
.tour-bar .btn { background: #e8cea8; color: #161412; border-color: #e8cea8; }
.tour-bar .btn-ghost { background: transparent; color: #f6f3ee; border-color: rgba(246,243,238,.55); }

/* Responsive YouTube Uncut Tour Embed */
.yt-embed {
  margin-top: 28px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0e0d0c;
  border: 1px solid #2e2923;
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 4K Macro Materiality Gallery */
.macro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.macro-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.macro-card img, .macro-card .ambient-video {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
.macro-body { padding: 18px 20px 22px; }
.macro-body h3 { font-size: 1.06rem; margin-bottom: 8px; }
.macro-body p { color: var(--ink-2); font-size: .9rem; margin: 0; }

/* Dual-Track Bespoke Service (Private Villa C-End & Global Trade B-End) */
.dual-section {
  border-top: 1px solid var(--line);
}
.dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.track-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-direction: column;
}
.track-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 12px;
}
[dir="rtl"] .track-card h3 { font-family: inherit; font-weight: 600; }
.track-summary { color: var(--ink-2); margin-bottom: 18px; }
.track-actions {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Manufacturing Full-Width Cinema Banner & Building Floor Guide */
.mfg-cinema-wrap { padding-top: 18px; padding-bottom: 12px; }
.mfg-banner .ambient-video, .mfg-banner img {
  aspect-ratio: 21 / 9;
  width: 100%;
  object-fit: cover;
}
.mfg-banner-caption {
  font-size: .88rem;
  color: var(--ink-2);
  margin: 12px 0 0;
}
.floor-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.floor-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
}
.floor-badge {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 600;
}
.floor-row h3 { margin-bottom: 4px; font-size: 1.08rem; }
.floor-row p { margin: 0; color: var(--ink-2); font-size: .93rem; }

@media (max-width: 1060px) {
  .macro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .atelier-grid, .dual-grid, .tour-bar { grid-template-columns: minmax(0, 1fr); }
  .tour-bar .cta-actions { justify-content: flex-start; }
  .mfg-banner .ambient-video, .mfg-banner img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .macro-grid, .floor-row { grid-template-columns: minmax(0, 1fr); }
  .floor-row { gap: 6px; }
  .track-actions .btn { flex: 1 1 100%; }
}

/* V3 Full-Bleed Milanese Cinema Hero */
html[data-theme="editorial-luxury"] .hero.hero-cinema {
  position: relative;
  display: flex;
  align-items: flex-end;
  max-width: none;
  width: 100%;
  min-height: clamp(540px, 82vh, 840px);
  padding: 0;
  margin: 0;
  background: #12100e;
  overflow: hidden;
}
.hero-cinema-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-cinema-bg .media,
.hero-cinema-bg video.hero-video,
.hero-cinema-bg img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
  object-fit: cover;
  border-radius: 0;
}
.hero-cinema-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,11,9,.84) 0%, rgba(12,11,9,.50) 50%, rgba(12,11,9,.14) 100%),
    linear-gradient(180deg, rgba(12,11,9,.22) 0%, rgba(12,11,9,.66) 100%);
  pointer-events: none;
}
html[dir="rtl"] .hero-cinema-bg::after {
  background:
    linear-gradient(-90deg, rgba(12,11,9,.84) 0%, rgba(12,11,9,.50) 50%, rgba(12,11,9,.14) 100%),
    linear-gradient(180deg, rgba(12,11,9,.22) 0%, rgba(12,11,9,.66) 100%);
}
.hero-cinema-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) var(--pad) clamp(48px, 7vw, 84px);
}
.hero-cinema .hero-copy {
  max-width: 650px;
}
.hero-cinema .eyebrow {
  color: #dcc094;
  margin-bottom: .95em;
}
.hero-cinema h1 {
  color: #f7f4ee;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.08;
  margin-bottom: .42em;
}
.hero-cinema h1.long { font-size: clamp(2.05rem, 4.2vw, 3.55rem); }
.hero-cinema h1.very-long { font-size: clamp(1.85rem, 3.6vw, 3.05rem); }
.hero-cinema h1 em {
  color: #e2c598;
}
.hero-cinema .lead {
  color: #e2dcd2;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  max-width: 48ch;
  margin-bottom: 0;
}
.hero-cinema .hero-actions {
  margin: 30px 0 0;
}
.hero-cinema .btn:not(.btn-ghost) {
  background: #f5efe4;
  color: #161412;
  border-color: #f5efe4;
}
.hero-cinema .btn:not(.btn-ghost):hover {
  background: #ffffff;
  border-color: #ffffff;
  filter: none;
}
.hero-cinema .btn-ghost {
  background: rgba(18, 16, 14, .32);
  color: #f7f4ee;
  border-color: rgba(247, 244, 238, .62);
  backdrop-filter: blur(4px);
}
.hero-cinema .btn-ghost:hover {
  background: #f7f4ee;
  color: #161412;
  border-color: #f7f4ee;
}
html[data-theme="editorial-luxury"] .hero-cinema + .proof-strip strong {
  font-size: 1.45rem;
}
@media (max-width: 640px) {
  html[data-theme="editorial-luxury"] .hero.hero-cinema {
    min-height: 520px;
  }
  .hero-cinema .hero-actions .btn {
    flex: 1 1 100%;
  }
}
