/* =====================================================================
   PIETRA DAYLIGHT · the site layer (loaded after style.css on site pages)
   Direction: a stone showroom in daylight. Warm sand and linen, soft window
   light, one quiet sage accent, deep ink text; only the footer is dark. A didone
   for the name and headlines, a refined grotesque for text, square corners,
   full-bleed photography, very little copy.
   Arabic: Alexandria · Hebrew: Frank Ruhl Libre (display) + Heebo (text) ·
   English: Bodoni Moda (display) + Hanken Grotesk (text).
   ===================================================================== */
:root {
  --night: #EAE4DA;      /* page: warm sand */
  --coal: #E1D9CC;       /* alternate sections */
  --graphite: #F5F1EA;   /* cards, panels, inputs: linen */
  --slate: #D5CBBB;      /* lines */
  --smoke: #B5AA98;      /* control borders */
  --ash: #5F5A53;        /* secondary text: 5.5:1 on sand */
  --bone: #23211E;       /* ink */
  --ivory: #4F5C49;      /* the main button: deep sage */
  --bronze: #56644F;     /* the one accent, sage: 5:1 on sand */

  /* style.css roles, re-pointed */
  --ink: var(--bone);
  --ink-2: #3A3732;
  --muted: var(--ash);
  --white: var(--graphite);
  --stone: var(--coal);
  --sand: var(--smoke);
  --brass: var(--bronze);
  --brass-ink: var(--bronze);
  --brass-soft: #56644F;
  --sage: #56644F;
  --line: rgba(35, 33, 30, .1);
  --line-2: rgba(35, 33, 30, .2);
  --line-d: rgba(35, 33, 30, .12);
  --shadow: 0 40px 90px -40px rgba(70, 58, 40, .35);
  --shadow-s: 0 18px 40px -24px rgba(70, 58, 40, .35);
  --r: 0px;
  --r-lg: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --f-latin: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-en: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-ar: "Alexandria", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-he: "Heebo", "IBM Plex Sans Hebrew", Arial, sans-serif;
  --f-he-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --f-text: var(--f-ar);
  color-scheme: light;
}
html[lang="he"] { --f-text: var(--f-he); }
html[lang="en"] { --f-text: var(--f-en); }

body { background: var(--night); color: var(--bone); font-weight: 300; }
html[lang="en"] body { font-size: 16.5px; letter-spacing: .005em; }
::selection { background: var(--bone); color: var(--night); }
:focus-visible { outline-color: var(--bronze); }
.skip { background: var(--bone); color: var(--night); }
strong, b { font-weight: 500; }

/* ---------- type ---------- */
.display { font-family: var(--f-text); font-weight: 200; line-height: 1.22; letter-spacing: 0; }
.display em { font-weight: 400; color: inherit; }
html[lang="he"] .display { font-family: var(--f-he-display); font-weight: 300; line-height: 1.15; }
html[lang="he"] .display em { font-weight: 500; }
html[lang="en"] .display { font-family: var(--f-latin); font-weight: 400; letter-spacing: -.015em; line-height: 1.04; }
html[lang="en"] .display em { font-style: italic; font-weight: 400; }
.h1 { font-size: clamp(2.5rem, 5.4vw, 5.4rem); }
html[lang="en"] .h1 { font-size: clamp(2.9rem, 6.2vw, 6.4rem); }
.h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
html[lang="en"] .h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.lead { color: var(--ash); font-weight: 300; font-size: clamp(1rem, 1.1vw, 1.12rem); }
.sec-head .h2 em, .dark .sec-head .h2 em, .phero .h1 em, .phero--dark .h1 em, .studio__panel h1 em, .ftr__top h2 em, .hero h1 em { color: var(--bronze); }

/* section labels: a short bronze rule and a small index, nothing else */
.label { gap: 12px; font-size: .74rem; font-weight: 400; color: var(--ash); }
.label__n { color: var(--bronze); font-variant-numeric: lining-nums tabular-nums; }
.label__line { width: 28px; opacity: .6; background: var(--bronze); }
html[lang="en"] .label { letter-spacing: .26em; font-size: .64rem; }
.dark .label, .on-dark .label, .label.on-dark { color: var(--ash); }
.dark .label__n, .on-dark .label__n { color: var(--bronze); }
.eyebrow { color: var(--bronze); font-weight: 400; }
html[lang="en"] .eyebrow { letter-spacing: .3em; font-size: .64rem; }
.muted { color: var(--ash); }

/* ---------- buttons: square, quiet, typographic ---------- */
.btn {
  --bg: var(--ivory); --fg: var(--night); --ib: transparent; --if: currentColor;
  border-radius: 0; min-height: 54px; padding-inline: 30px 24px; gap: 18px; font-weight: 400; font-size: .92rem; letter-spacing: .02em;
  border: 1px solid var(--bg);
}
html[lang="en"] .btn { letter-spacing: .22em; font-size: .68rem; font-weight: 500; }
.btn__i { width: auto; height: auto; background: none !important; color: inherit !important; border-radius: 0; }
.btn__i .ico { width: 16px; height: 16px; }
.btn:hover { transform: none; box-shadow: none; background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn:hover .btn__i { transform: translateX(5px); }
[dir="rtl"] .btn:hover .btn__i { transform: translateX(-5px); }
.btn--light { --bg: var(--ivory); --fg: var(--night); }
.btn--ghost, .btn--line { --bg: transparent; --fg: var(--bone); border-color: rgba(35, 33, 30, .32); padding-inline: 28px 22px; }
.btn--ghost:hover, .btn--line:hover { background: var(--bone); color: var(--night); border-color: var(--bone); }
.btn--brass { --bg: var(--bronze); --fg: var(--night); }
.btn--wa { --bg: #1E7A4B; --fg: #fff; border-color: #1E7A4B; }
.btn--wa:hover { background: #17633C; color: #fff; border-color: #17633C; }
.btn--sm { min-height: 44px; padding-inline: 20px 16px; }
.link { font-weight: 400; border-block-end-color: rgba(86, 100, 79, .55); color: var(--bone); }
html[lang="en"] .link { letter-spacing: .24em; font-size: .64rem; }
.link:hover { color: var(--bronze); }
.icon-btn { border-radius: 0; border-color: var(--smoke); }
.icon-btn:hover { background: rgba(35, 33, 30, .05); }
.chip { border-radius: 0; background: rgba(245, 241, 234, .82); border-color: rgba(35, 33, 30, .14); color: var(--bone); font-weight: 400; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip--dark { background: rgba(35, 33, 30, .62); border-color: rgba(255, 255, 255, .16); color: #F5F1EA; }
html[lang="en"] .chip { letter-spacing: .14em; text-transform: uppercase; font-size: .62rem; }

/* ---------- image frames ---------- */
.ph { background: radial-gradient(120% 90% at 30% 15%, #F2EDE4 0%, #E3DBCE 60%, #D6CCBC 100%); border-radius: 0; }
.ph--dark { background: radial-gradient(120% 90% at 70% 20%, #E8E1D6 0%, #D9D0C2 60%, #CBC0AE 100%); }

/* ---------- announcement + header ---------- */
.ann { background: var(--coal); color: var(--ash); border-block-end: 1px solid var(--line); }
.ann a:hover { color: var(--bone); }
.ann .dot { background: var(--bronze); }
.hdr { color: var(--bone); }
.hdr.is-over { color: var(--bone); }
.hdr.is-solid { background: rgba(234, 228, 218, .9); box-shadow: 0 1px 0 rgba(35, 33, 30, .08); color: var(--bone); }
.logo__word b { font-family: var(--f-latin); font-weight: 400; letter-spacing: .42em; margin-inline-end: -.42em; font-size: 1.45rem; }
.logo__word small { color: var(--ash); opacity: 1; letter-spacing: .34em; }
html[lang="ar"] .logo__word small { font-family: var(--f-ar); letter-spacing: .02em; }
.logo__mark { width: 26px; height: 26px; }
.nav a { font-size: .9rem; font-weight: 300; opacity: .86; }
html[lang="en"] .nav a { letter-spacing: .26em; font-size: .64rem; font-weight: 400; }
.nav a::after { background: var(--bronze); bottom: 2px; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
/* language: three quiet words, the active one underlined in bronze */
.langpill { border: 0; padding: 0; gap: 0; }
.langpill button { border-radius: 0; min-width: 36px; padding-inline: 6px; opacity: .55; font-weight: 400; position: relative; }
.langpill button[aria-pressed="true"] { background: none; opacity: 1; }
.langpill button[aria-pressed="true"] span { color: inherit !important; }
.langpill button[aria-pressed="true"]::after { content: ""; position: absolute; inset-inline: 8px; bottom: 6px; height: 1px; background: var(--bronze); }
.qbtn { border-radius: 0; border-color: rgba(35, 33, 30, .25); padding-inline: 18px 8px; font-weight: 400; min-height: 42px; }
.qbtn__n { border-radius: 0; background: transparent; color: var(--bronze); min-width: 26px; height: 26px; font-size: .78rem; border-inline-start: 1px solid rgba(35, 33, 30, .18); }
html[lang="en"] .qbtn { letter-spacing: .24em; font-size: .62rem; }
.menu { background: var(--night); }
.menu nav a { font-weight: 200; }
html[lang="he"] .menu nav a { font-family: var(--f-he-display); font-weight: 300; }
html[lang="en"] .menu nav a { font-weight: 400; }
.menu nav a small { color: var(--bronze); }

/* ---------- loader ---------- */
.loader { background: var(--night); }
.loader__mark i:nth-child(1) { background: var(--bone); }
.loader__mark i:nth-child(2) { background: var(--bronze); }
.loader__mark i:nth-child(3) { background: var(--smoke); }
.loader__mark i:nth-child(4) { background: linear-gradient(135deg, var(--smoke) 0 46%, #8a8173 47%, var(--smoke) 49%); }
.loader__word { font-weight: 400; letter-spacing: .6em; margin-inline-end: -.6em; }
.loader__bar span { background: var(--bronze); }

/* ---------- hero: one photograph, one line, two quiet actions ---------- */
.hero { background: var(--night); }
/* the light comes from the window side: a soft sand veil only behind the words */
.hero::after { background: linear-gradient(90deg, rgba(234, 228, 218, .72) 0%, rgba(234, 228, 218, .35) 38%, transparent 62%), linear-gradient(0deg, rgba(234, 228, 218, .55) 0%, transparent 30%); }
[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(234, 228, 218, .72) 0%, rgba(234, 228, 218, .35) 38%, transparent 62%), linear-gradient(0deg, rgba(234, 228, 218, .55) 0%, transparent 30%); }
.hero h1 { color: var(--bone); }
.hero .lead { color: var(--ink-2); }
.hero__txt { gap: 24px; max-width: 820px; }
.hero__foot { border-block-start-color: rgba(35, 33, 30, .14); color: var(--ash); }
.hero__cap em { font-family: var(--f-latin); }
html[lang="ar"] .hero__cap em { font-family: var(--f-ar); }
/* a still hero breathes: a very slow push-in on the photograph */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: breathe 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
  @keyframes breathe { from { transform: scale(1); } to { transform: scale(1.07); } }
}
.hero.has-video .hero__media img { animation: none; }
.scroll-cue::after { background: var(--bronze); }

/* ---------- facts strip (was the trust row): words, hairlines, no icons ---------- */
.trust { background: var(--night); border-block: 1px solid var(--line); }
.tr { min-height: 104px; padding-block: 26px; border-inline-end-color: var(--line); gap: 0; }
.tr__ic { display: none; }
.tr__t { font-weight: 400; font-size: .98rem; color: var(--bone); }
.tr__s { color: var(--ash); font-size: .82rem; }
html[lang="en"] .tr__t { font-family: var(--f-latin); font-size: 1.3rem; font-weight: 400; }
.tr__big { color: var(--bone); }

/* ---------- sections ---------- */
.sec { padding-block: clamp(96px, 12vw, 180px); }
.sec--stone { background: var(--coal); }
.dark { background: var(--coal); color: var(--bone); }

/* collections gallery */
.ccard { color: var(--bone); gap: 18px; }
.ccard .ph { border-radius: 0; }
.ccard__t { font-weight: 200; }
html[lang="he"] .ccard__t { font-family: var(--f-he-display); font-weight: 300; }
html[lang="en"] .ccard__t { font-weight: 400; }
.ccard__c { color: var(--bronze); }
.ccard__s { color: var(--ash); }
.ccard--end { border-color: var(--line-2); border-radius: 0; }
.pin__bar span { background: var(--bronze); }

/* the laying */
.lay { background: var(--coal); }
.lay__tiles { background: #0A0A09; box-shadow: 0 80px 120px -50px rgba(0, 0, 0, .95); }
.lay__t { background-color: #2A2926; }
.lay__grout i { background: #D9D3C7; box-shadow: none; }
.lay__chip { background: var(--graphite); border: 1px solid var(--slate); border-radius: 0; box-shadow: var(--shadow-s); }
.lay__steps li { border-block-start-color: var(--line); }
.lay__steps b { color: var(--bronze); }
html[lang="en"] .lay__steps strong { font-family: var(--f-latin); font-weight: 400; font-size: 1.25rem; }

/* statement */
.stmt { background: var(--night); }
.stmt__p { font-weight: 200; color: var(--bone); }
html[lang="he"] .stmt__p { font-family: var(--f-he-display); font-weight: 300; }
html[lang="en"] .stmt__p { font-weight: 400; }
.stmt .w { opacity: .14; }
.stmt .w.b { color: var(--bronze); }

/* studio teaser */
.teaser__stage { border-radius: 0; background: var(--graphite); box-shadow: var(--shadow); }
.teaser__list li { color: var(--ash); }
.teaser__list .ico { color: var(--bronze); }

/* how ordering works */
.steps li { border-block-start-color: var(--line); }
.steps li:last-child { border-block-end-color: var(--line); }
.steps__n { color: var(--bronze); font-weight: 400; }
html[lang="en"] .steps h3 { font-weight: 400; }
html[lang="he"] .steps h3 { font-family: var(--f-he-display); font-weight: 400; font-size: 1.35rem; }
.steps h3 { font-weight: 400; }
.steps p { color: var(--ash); }
.phone { box-shadow: 0 50px 100px -40px rgba(70, 58, 40, .45), inset 0 0 0 1px #2E2C29; }

/* FAQ */
.faq details { border-block-end-color: var(--line-2); }
.faq details:first-child { border-block-start-color: var(--line-2); }
.faq summary { font-weight: 400; }
html[lang="he"] .faq summary { font-family: var(--f-he-display); font-size: 1.25rem; }
.faq summary .pm { border-radius: 0; border-color: var(--smoke); }
.faq details[open] summary .pm { background: var(--ivory); color: var(--night); }
.faq details p { color: var(--ash); }

/* visit + cards */
.vcard, .calc-res, .pcalc, .lookcard { background: var(--graphite); border: 1px solid var(--slate); border-radius: 0; }
a.vcard:hover { transform: none; border-color: var(--bronze); box-shadow: none; }
.vcard__i { border-radius: 0; border-color: var(--smoke); color: var(--bronze); }
.vcard__k { color: var(--ash); }
.vcard__v { font-weight: 400; }
.hours td { border-block-end-color: var(--line); }
.hours tr.is-today td { color: var(--bronze); font-weight: 500; }
.hdial { background: var(--slate); border-radius: 0; }
.hdial span { background: linear-gradient(90deg, #9AA592, var(--bronze)); border-radius: 0; }
.hdial i { background: var(--bone); }
.visit__photo { border-radius: 0; }

/* footer */
.ftr { background: #23211E; }
.ftr__links a { color: var(--ash); border-block-end-color: rgba(232, 229, 223, .08); }
.ftr__links a:hover { color: var(--bronze); }
.ftr__wm { font-weight: 400; letter-spacing: .14em; color: var(--bone); font-size: clamp(4.4rem, 17vw, 16rem); }
.ftr__bot { color: var(--ash); border-block-start-color: rgba(232, 229, 223, .08); }

/* floating WhatsApp + phone bottom nav */
.fwa { border-radius: 0; }
.bnav { background: rgba(245, 241, 234, .96) !important; border-block-start-color: var(--line) !important; color: var(--ash) !important; }
.bnav [aria-current="page"] { color: var(--bronze) !important; }
.bnav__n { background: var(--bronze); color: var(--night); border-radius: 0; }

/* ---------- drawer, sheets, forms ---------- */
.scrim { background: rgba(35, 33, 30, .45); }
.drawer, .drawer__foot { background: var(--coal); }
.drawer { box-shadow: -40px 0 90px -40px rgba(70, 58, 40, .45); border-inline-start: 1px solid var(--slate); }
html[lang="he"] .drawer__head h2 { font-family: var(--f-he-display); }
dialog.sheet { background: var(--coal); color: var(--bone); border: 1px solid var(--slate); border-radius: 0; }
dialog.sheet::backdrop { background: rgba(35, 33, 30, .45); }
.qline__in, .units, .field input, .field textarea, .field select, .frange input, .search input, .select select, .opt, .pat {
  background: var(--graphite); border-color: var(--smoke); color: var(--bone); border-radius: 0;
}
.qline__x:hover { background: var(--graphite); color: var(--bone); }
.field input::placeholder, .field textarea::placeholder, .search input::placeholder { color: #7A746B; }
.field input:focus, .field textarea:focus, .field select:focus, .search input:focus { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(86, 100, 79, .16); }
.opt::before { border-color: var(--smoke); }
.opt:has(input:checked) { border-color: var(--bone); background: var(--slate); }
.opt:has(input:checked)::before { border-color: var(--bone); box-shadow: inset 0 0 0 4px var(--graphite), inset 0 0 0 9px var(--bone); }
.seg { background: var(--graphite); border-radius: 0; }
.seg span { border-radius: 0; color: var(--ash); }
.seg input:checked + span { background: var(--ivory); color: var(--night); }
.switch__ui { background: var(--smoke); border-radius: 0; }
.switch__ui::after { border-radius: 0; background: var(--ivory); }
.switch input:checked + .switch__ui { background: var(--bronze); }
.err { background: #F7E2DC; color: #7A2A1B; border-radius: 0; }
.warn { background: #FBF0DE; color: #6B4210; border-radius: 0; }
.sent__ic { background: var(--bronze); color: var(--night); border-radius: 0; }
.calc-res .tot dd, .pcalc .tot dd { color: var(--bronze); }
.pcalc__res { background: var(--coal); border-radius: 0; }
.pcalc__big { border-inline-end-color: var(--slate); }
.toast p { background: var(--ivory); color: var(--night); border-radius: 0; }
.toast .ico { color: var(--bronze); }
.qempty .loader__mark i:nth-child(1) { background: var(--bone); }

/* ---------- inner pages ---------- */
.phero { background: var(--night); border-block-end: 1px solid var(--line); }
.phero--dark { background: var(--coal); }
.crumbs { color: var(--ash); }
.crumbs a:hover { color: var(--bone); }

/* catalogue */
.fgroup { border-block-end-color: var(--line); }
.fgroup h3 { color: var(--ash); font-weight: 400; }
.fcheck__box { background: transparent; border-color: var(--smoke); border-radius: 0; }
.fcheck__box .ico { color: var(--graphite); }
.fcheck input:checked + .fcheck__box { background: var(--ivory); border-color: var(--ivory); }
.fswatch { border-radius: 0; box-shadow: inset 0 0 0 1px rgba(35, 33, 30, .14); }
.search input, .select select { border-radius: 0; }
.actives button { background: transparent; border-color: var(--smoke); border-radius: 0; color: var(--bone); }
.demo-note { border-block-start-color: var(--line); }
@media (max-width: 960px) { .cat__side { background: var(--coal); } }

/* product cards: the object in gallery light, quiet text below */
.pcard { gap: 14px; }
.pcard .ph { aspect-ratio: 4 / 5; background: radial-gradient(90% 70% at 50% 30%, #EFE9DF 0%, #DDD4C6 70%); }
.pcard .ph > img { object-fit: cover; }
.pcard__chips .chip { background: transparent; border: 0; backdrop-filter: none; padding: 0; min-height: 0; color: var(--ash); }
.pcard__add { border-radius: 0; background: rgba(245, 241, 234, .86); color: var(--bone); width: 44px; height: 44px; box-shadow: none; border: 1px solid rgba(35, 33, 30, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pcard__add:hover { background: var(--ivory); color: #F5F1EA; transform: none; }
.pcard__add.is-in { background: var(--bronze); color: #F5F1EA; border-color: var(--bronze); }
.pcard__meta { color: var(--ash); font-size: .76rem; }
.pcard__nm { font-weight: 400; font-size: 1.04rem; }
html[lang="he"] .pcard__nm { font-family: var(--f-he-display); font-size: 1.2rem; }
html[lang="en"] .pcard__nm { font-weight: 400; font-size: 1.36rem; }
.pcard__price { color: var(--bone); }
.pcard__price strong { font-weight: 400; }
.stock--in_stock { color: #3B6B47; } .stock--low_stock { color: #8A5310; } .stock--on_order { color: #7D5A4A; }

/* product page */
.gal__main { border-radius: 0; }
.gal__thumbs button { border-radius: 0; }
.gal__thumbs button[aria-pressed="true"] .ph { box-shadow: 0 0 0 1px var(--bone); }
.pinfo__price strong { font-family: var(--f-latin); font-weight: 400; }
html[lang="ar"] .pinfo__price strong { font-family: var(--f-ar); font-weight: 200; }
.specs { border-block-start-color: var(--line); }
.specs div { border-block-end-color: var(--line); }
.specs dd { font-weight: 400; }
html[lang="he"] .pcalc h2 { font-family: var(--f-he-display); }

/* Room Studio */
.studio__stage, .studio__veil { background: #DCD3C5; }
.studio__panel { background: var(--coal); border-inline-start-color: var(--slate); }
.rpick .ph { box-shadow: 0 0 0 1px var(--slate); }
.rpick[aria-pressed="true"], .gal__thumbs button[aria-pressed="true"] { color: var(--bone); }
.rpick[aria-pressed="true"] .ph, .swb[aria-pressed="true"] .ph { box-shadow: 0 0 0 2px var(--coal), 0 0 0 3px var(--bone); }
.fchip[aria-pressed="true"] { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.swb { color: var(--bone); }
.pat { color: var(--ash); }
.pat[aria-pressed="true"] { border-color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone); color: var(--bone); }
.grout { border-radius: 0; box-shadow: inset 0 0 0 1px rgba(35, 33, 30, .14); }
.grout[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(35, 33, 30, .14), 0 0 0 3px var(--coal), 0 0 0 4px var(--bone); }
.lookrow:hover strong { color: var(--bronze); }

/* ---------- new sections ---------- */
/* the material library: real textures, named like a stone library */
.lib { background: var(--night); }
.lib__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
.lib__it { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--graphite); }
.lib__it .ph { position: absolute; inset: 0; }
.lib__it .ph > img, .lib__it .ph > canvas { transition: transform 1.6s var(--ease); }
.lib__it:hover .ph > img, .lib__it:hover .ph > canvas { transform: scale(1.06); }
.lib__it::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 7, .78)); pointer-events: none; }
.lib__cap { position: absolute; z-index: 3; inset-inline: 14px; bottom: 14px; display: grid; gap: 2px; color: var(--ivory); }
.lib__cap b { font-weight: 400; font-size: .95rem; }
html[lang="en"] .lib__cap b { font-family: var(--f-latin); font-size: 1.15rem; }
html[lang="he"] .lib__cap b { font-family: var(--f-he-display); font-size: 1.05rem; }
.lib__cap span { font-size: .72rem; color: rgba(232, 229, 223, .7); }
@media (max-width: 1100px) { .lib__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lib__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* private appointment: the showroom at night beside one invitation */
.appt { background: var(--coal); padding-block: clamp(96px, 12vw, 180px); }
.appt__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.appt__media .ph { box-shadow: var(--shadow); }
.appt__in { display: grid; gap: 22px; max-width: 560px; }
.appt .lead { color: var(--ash); }
.appt__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 10px; }
@media (max-width: 860px) { .appt__grid { grid-template-columns: 1fr; } }

/* the hero photograph has its calm side on the left (English headline side); Arabic and Hebrew mirror it */
.hero__media picture { position: absolute; inset: 0; display: block; }
html[dir="rtl"] .page-home .hero__media picture, html[dir="rtl"] .page-home .hero__media video { transform: scaleX(-1); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none !important; } }

/* section indexes (01, 02…) are dropped: the home page is not a sequence. Real sequences keep their numbers (.steps__n, .lay__steps b). */
.label__n { display: none; }

/* Studio teaser: room photographs cross-fading with a slow push-in */
.teaser__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.6s var(--ease), transform 6s linear; }
.teaser__img.is-on { opacity: 1; transform: scale(1); }

/* numbers: Bodoni's 1 reads as an I ("₪I59"), so prices, counts and step numbers use the light grotesque */
.pinfo__price strong, .calc-res__big strong, .pcalc__big strong, .qtot .grand, .tr__big, .steps__n, .lay__steps b, .ctot strong, .todo__id {
  font-family: var(--f-en) !important; font-weight: 200 !important; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums;
}

/* phones: the photograph sits above, the words on the sand floor below */
@media (max-width: 760px) {
  .hero::after, [dir="rtl"] .hero::after { background: linear-gradient(0deg, rgba(234, 228, 218, .96) 0%, rgba(234, 228, 218, .85) 34%, rgba(234, 228, 218, 0) 58%); }
}

/* =====================================================================
   DAYLIGHT DETAILS · controls and states on the sand palette
   ===================================================================== */
body:not(.page-over) .langpill button:not([aria-pressed="true"]), body.page-over .hdr:not(.is-over) .langpill button:not([aria-pressed="true"]), .page-home .langpill button:not([aria-pressed="true"]) { opacity: 1; color: #4A4741; }
/* buttons: deep sage with sand text; outline buttons in ink */
.btn { --fg: #F5F1EA; }
.btn:hover { color: var(--ivory); border-color: var(--ivory); }
.btn--ghost, .btn--line { --fg: var(--bone); }
.btn--wa { --fg: #fff; }
.logo__word small { color: var(--ash); }
body.page-inner .hdr { background: rgba(234, 228, 218, .9); color: var(--bone); box-shadow: 0 1px 0 rgba(35, 33, 30, .08); }
.pcard__chips .chip { background: transparent; color: var(--bone); }
.fcheck input:checked + .fcheck__box { background: var(--bone); border-color: var(--bone); }
.seg input:checked + span, .fchip[aria-pressed="true"] { background: var(--bone); color: var(--night); border-color: var(--bone); }
.opt:has(input:checked) { background: #EFE9DF; border-color: var(--bone); }
.opt:has(input:checked)::before { border-color: var(--bone); box-shadow: inset 0 0 0 4px var(--graphite), inset 0 0 0 9px var(--bone); }
.faq details[open] summary .pm { background: var(--ivory); color: #F5F1EA; }
.toast p { background: var(--bone); color: var(--night); }
.sent__ic { background: var(--bronze); color: #F5F1EA; }
.gal__thumbs button[aria-pressed="true"] .ph { box-shadow: 0 0 0 1px var(--bone); }
.bnav__n { color: #F5F1EA; }

/* the footer is the one dark room: deep warm ink, the page closes like evening */
.ftr {
  --bone: #E8E5DF; --ash: #A9A49B; --bronze: #A9B79E; --ivory: #F4F2EE; --line-d: rgba(232, 229, 223, .12); --night: #23211E;
  color: #E8E5DF;
}
.ftr .btn, .ftr .btn--light { --bg: #F4F2EE; --fg: #23211E; border-color: #F4F2EE; }
.ftr .btn:hover { background: transparent; color: #F4F2EE; border-color: #F4F2EE; }
.ftr .btn--ghost { --bg: transparent; --fg: #E8E5DF; border-color: rgba(232, 229, 223, .38); color: #E8E5DF !important; }
.ftr .btn--ghost:hover { background: #F4F2EE; color: #23211E !important; }
.ftr .label { color: #A9A49B; }
.ftr__links a { border-block-end-color: rgba(232, 229, 223, .1); }
.ftr__bot { border-block-start-color: rgba(232, 229, 223, .1); }

/* =====================================================================
   THE LOOKBOOK · a magazine spread on linen.
   Giant word cut from Nero Marquina, photographs set like a printed
   spread, and points on each photograph that open the piece.
   ===================================================================== */
.look {
  background: var(--graphite); color: var(--bone);
  padding-block: clamp(88px, 11vw, 170px) clamp(96px, 12vw, 190px);
  position: relative; overflow: hidden; color-scheme: light;
}
.look .label { color: var(--ash); }
.look__mast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30ch); align-items: end; gap: 24px 48px; margin-block-end: clamp(40px, 6vw, 90px); }
.look__mast .label { grid-column: 1 / -1; }
.look__word {
  font-family: var(--f-latin), var(--f-he-display), "Alexandria", serif; font-weight: 700;
  font-size: clamp(6.5rem, 24vw, 22rem); line-height: .78; letter-spacing: -.035em; margin: 0;
  color: #1A1917;
  background: #1A1917 url("../assets/img/tex/MT-60120-NER.jpg") center 40% / 62% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-block-end: .08em;
}
html[lang="ar"] .look__word { font-family: "Alexandria", sans-serif; font-weight: 700; letter-spacing: 0; line-height: 1.05; font-size: clamp(5.5rem, 21vw, 19rem); }
html[lang="he"] .look__word { font-family: var(--f-he-display), serif; font-weight: 700; letter-spacing: -.01em; line-height: .95; }
.look__lead { color: var(--ash); margin: 0; padding-block-end: 1.2em; }

.look__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(16px, 2vw, 32px); align-items: start; }
.lk { margin: 0; min-width: 0; }
.lk__ph { aspect-ratio: 4 / 5; overflow: visible; border-radius: 0; background: #D8D0C3; }
.lk__ph > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk--square .lk__ph { aspect-ratio: 1; }
.lk__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--line-2); margin-block-start: 14px; font-size: .9rem; }
.lk__cap b { font-weight: 400; font-family: var(--f-latin), var(--f-he-display), "Alexandria", serif; font-size: 1.15rem; }
html[lang="ar"] .lk__cap b { font-family: "Alexandria", sans-serif; font-weight: 300; }
.lk__cap span { color: var(--ash); white-space: nowrap; }
/* the spread: a printed magazine rhythm, never an even grid */
.lk--n1 { grid-column: 1 / span 5; }
.lk--n2 { grid-column: 7 / span 6; margin-block-start: clamp(60px, 12vw, 200px); }
.lk--n3 { grid-column: 1 / span 6; margin-block-start: clamp(-120px, -6vw, -40px); }
.lk--n4 { grid-column: 9 / span 4; margin-block-start: clamp(40px, 10vw, 180px); }
.lk--n5 { grid-column: 1 / span 4; margin-block-start: clamp(20px, 4vw, 60px); }
.lk--n6 { grid-column: 6 / span 6; margin-block-start: clamp(40px, 6vw, 110px); }

/* points on the photograph */
.spot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; padding: 0; background: none; cursor: pointer; z-index: 2; display: grid; place-items: center; }
.spot__dot { width: 14px; height: 14px; border-radius: 50%; background: #F4F2EE; box-shadow: 0 0 0 1px rgba(13, 13, 12, .35), 0 2px 10px rgba(0, 0, 0, .35); position: relative; transition: transform .35s var(--ease, ease); }
.spot__dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(244, 242, 238, .85); animation: spotPulse 2.6s ease-out infinite; }
.spot:hover .spot__dot, .spot[aria-expanded="true"] .spot__dot { transform: scale(1.25); background: #56644F; }
.spot:focus-visible { outline: 2px solid #F4F2EE; outline-offset: 2px; border-radius: 50%; }
@keyframes spotPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spot__dot::after { animation: none; opacity: .7; } }

/* the card that opens beside a point */
.spotcard { position: absolute; z-index: 3; width: min(300px, 78vw); transform: translate(26px, -50%); background: #F5F1EA; color: #23211E; box-shadow: 0 30px 60px -20px rgba(13, 13, 12, .45), 0 0 0 1px rgba(26, 25, 23, .08); display: grid; grid-template-columns: 96px minmax(0, 1fr); animation: cardIn .35s var(--ease, ease) both; }
.spotcard--l { transform: translate(calc(-100% - 26px), -50%); }
html[dir="rtl"] .spotcard { transform: translate(26px, -50%); }
html[dir="rtl"] .spotcard--l { transform: translate(calc(-100% - 26px), -50%); }
.spotcard__img .ph { height: 100%; min-height: 128px; aspect-ratio: auto; background: #DDD4C6; }
.spotcard__img .ph img, .spotcard__img .ph canvas { width: 100%; height: 100%; object-fit: cover; }
.spotcard__txt { padding: 14px 16px 16px; display: grid; gap: 4px; min-width: 0; }
.spotcard__k { font-size: .74rem; color: #5F5A53; margin: 0; }
.spotcard__nm { font-size: 1rem; line-height: 1.3; margin: 0; }
.spotcard__pr { margin: 2px 0 8px; font-size: .95rem; }
.spotcard__pr small { color: #5F5A53; font-size: .76rem; }
.spotcard__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.spotcard__acts .btn { --bg: #4F5C49; --fg: #F5F1EA; background: #4F5C49; color: #F5F1EA; border-color: #4F5C49; min-height: 40px; font-size: .78rem; padding-inline: 14px 10px; }
.spotcard__acts .btn:hover { background: transparent; color: #4F5C49; }
.spotcard__acts .btn .btn__i { width: 26px; height: 26px; }
.spotcard__acts .link { color: #23211E; font-size: .78rem; }
@keyframes cardIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .look__mast { grid-template-columns: minmax(0, 1fr); }
  .look__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lk--n1 { grid-column: 1 / span 4; }
  .lk--n2 { grid-column: 3 / span 4; margin-block-start: 0; }
  .lk--n3 { grid-column: 1 / -1; margin-block-start: 0; }
  .lk--n4 { grid-column: 1 / span 3; margin-block-start: 0; }
  .lk--n5 { grid-column: 4 / span 3; margin-block-start: 18vw; }
  .lk--n6 { grid-column: 1 / span 5; margin-block-start: 0; }
}
/* phones: the card sits across the foot of the photograph, like a caption sheet */
@media (max-width: 620px) {
  .lk--n1, .lk--n2, .lk--n3, .lk--n4, .lk--n5, .lk--n6 { grid-column: 1 / -1; margin-block-start: 0; }
  .lk--n2, .lk--n5 { margin-inline-start: 14%; }
  .lk--n4, .lk--n6 { margin-inline-end: 14%; }
  .spotcard, .spotcard--l, html[dir="rtl"] .spotcard, html[dir="rtl"] .spotcard--l { left: 8px !important; right: 8px; top: auto !important; bottom: 8px; width: auto; transform: none; grid-template-columns: 84px minmax(0, 1fr); }
}

/* =====================================================================
   SLAB IN THE LIGHT · product gallery, first view for every surface
   ===================================================================== */
.gal__main--light { cursor: crosshair; background: #2B2925; touch-action: pan-y; }
.slabv { position: absolute; inset: 0; }
.slabv > .ph, .slabv__gl { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.slabv__gl { display: block; z-index: 2; opacity: 0; transition: opacity 1.2s var(--ease, ease); }
.slabv.is-lit .slabv__gl { opacity: 1; }
.slabv .ph img, .slabv .ph canvas { width: 100%; height: 100%; object-fit: cover; }
.gal__main--light .gal__hint { max-width: calc(100% - 24px); white-space: normal; line-height: 1.35; }
.gal__thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }

/* =====================================================================
   THE CUT · 3D scroll story (js/cut.js)
   ===================================================================== */
.cut { position: relative; background: #E6DFD3; color: var(--bone); }
.cut--live { height: 520vh; }
.cut__sticky { position: relative; }
.cut--live .cut__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cut__stage { position: absolute; inset: 0; }
.cut__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease, ease); }
.cut.is-ready .cut__gl { opacity: 1; }
.cut--live .cut__still { display: none; }
.cut__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(234, 228, 218, .9) 0%, rgba(234, 228, 218, .5) 34%, rgba(234, 228, 218, 0) 58%); }
html[dir="rtl"] .cut__scrim { background: linear-gradient(270deg, rgba(234, 228, 218, .9) 0%, rgba(234, 228, 218, .5) 34%, rgba(234, 228, 218, 0) 58%); }
.cut__txt { position: relative; height: 100%; display: grid; align-items: center; pointer-events: none; }
.cut__ch { grid-area: 1 / 1; max-width: 30rem; display: grid; gap: 22px; opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease, ease), transform .9s var(--ease, ease); }
.cut__ch.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cut__ch .h2 { margin: 0; }
.cut__ch .lead { margin: 0; color: var(--ink-2); }
.cut__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cut__foot { position: absolute; inset-inline: 0; bottom: 0; padding-block-end: max(26px, env(safe-area-inset-bottom, 0px)); display: grid; gap: 18px; }
.cut__mats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.cut__mats::-webkit-scrollbar { display: none; }
.cut__mat { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 6px; border: 1px solid rgba(35, 33, 30, .14); background: rgba(245, 241, 234, .8); color: var(--bone); font-size: .82rem; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .3s, background .3s; }
html[dir="rtl"] .cut__mat { padding: 6px 6px 6px 14px; }
.cut__mat:hover { border-color: rgba(35, 33, 30, .4); }
.cut__mat[aria-pressed="true"] { border-color: var(--bronze); background: rgba(86, 100, 79, .12); }
.cut__sw { width: 30px; height: 30px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(35, 33, 30, .12); }
.cut__bar { height: 1px; background: rgba(35, 33, 30, .14); }
.cut__bar span { display: block; height: 100%; background: var(--bronze); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .cut__bar span { transform-origin: right; }

/* phones: the story sits at the foot, above the material chips */
@media (max-width: 760px) {
  .cut--live { height: 460vh; }
  .cut__scrim, html[dir="rtl"] .cut__scrim { background: linear-gradient(0deg, rgba(234, 228, 218, .97) 0%, rgba(234, 228, 218, .8) 36%, rgba(234, 228, 218, 0) 62%); }
  .cut__txt { align-items: end; padding-block-end: 196px; }
  .cut--live .cut__foot { padding-block-end: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .cut__ch { gap: 14px; }
  .cut__ch .h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .cut__ch .lead { font-size: .95rem; }
}

/* the still version: no WebGL, reduced motion or data saver */
.cut--still .cut__stage { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.cut--still .cut__still { width: 100%; height: 100%; object-fit: cover; display: block; }
.cut--still .cut__scrim { display: none; }
.cut--still .cut__txt { height: auto; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; align-items: start; padding-block: 56px 24px; }
.cut--still .cut__ch { grid-area: auto; opacity: 1; transform: none; }
.cut--still .cut__ch .h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.cut--still .cut__foot { position: relative; padding-block-end: 64px; }
.cut--still .cut__bar { display: none; }
@media (max-width: 760px) { .cut--still .cut__stage { aspect-ratio: 4 / 5; } }

/* =====================================================================
   WHAT WE OFFER · material cards right after the hero
   ===================================================================== */
.mats { background: var(--night); }
.mats__head { display: grid; gap: 22px; max-width: 46rem; margin-block-end: clamp(40px, 5vw, 72px); }
.mats__head .h2 { margin: 0; }
.mats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 32px); }
.mat { display: grid; gap: 10px; color: var(--bone); min-width: 0; }
.mat__ph { aspect-ratio: 4 / 5; overflow: hidden; }
.mat__ph > img, .mat__ph > canvas { transition: transform 1.6s var(--ease); }
.mat:hover .mat__ph > img, .mat:hover .mat__ph > canvas { transform: scale(1.04); }
.mat__t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block-start: 12px; border-block-start: 1px solid var(--line-2); }
.mat__t b { font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
html[lang="en"] .mat__t b { font-family: var(--f-latin); font-weight: 400; }
html[lang="he"] .mat__t b { font-family: var(--f-he-display); font-weight: 400; }
.mat__n { color: var(--ash); font-size: .8rem; white-space: nowrap; }
.mat__l { color: var(--ash); font-size: .95rem; }
.mat__go { justify-self: start; margin-block-start: 4px; }
@media (max-width: 900px) { .mats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .mats__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 8px; scrollbar-width: none; }
  .mats__grid::-webkit-scrollbar { display: none; }
  .mat { scroll-snap-align: start; }
}

/* style.css wrote light text for its dark rooms; in daylight they read in ink */
.menu, .loader, .hero { color: var(--bone); }
.hero__ctas .btn--ghost { color: var(--bone); }
.hero__cap em { color: var(--bone); }
.hero__cap span { opacity: 1; color: var(--ash); }
.loader__word { color: var(--bone); }
/* the headline stays on the calm wall, clear of the floating slabs */
@media (min-width: 761px) { .hero__txt { max-width: min(640px, 46vw); } }

/* the visit page photograph is busy: a deeper sand veil on the words' side */
.hero--page::after { background: linear-gradient(90deg, rgba(234, 228, 218, .94) 0%, rgba(234, 228, 218, .78) 40%, rgba(234, 228, 218, .1) 72%) !important; }
[dir="rtl"] .hero--page::after { background: linear-gradient(270deg, rgba(234, 228, 218, .94) 0%, rgba(234, 228, 218, .78) 40%, rgba(234, 228, 218, .1) 72%) !important; }
@media (max-width: 760px) { .hero--page::after, [dir="rtl"] .hero--page::after { background: linear-gradient(0deg, rgba(234, 228, 218, .97) 0%, rgba(234, 228, 218, .85) 45%, rgba(234, 228, 218, .1) 75%) !important; } }

/* =====================================================================
   DEEP OLIVE BANDS (26 Oct): the light site gets weight in three places,
   the trust row, the statement and the private visit. Same idea as the
   footer: the tokens are re-set inside the band.
   ===================================================================== */
.tone-olive {
  --night: #2E3529; --coal: #2E3529; --graphite: #384031; --slate: #4A5343;
  --bone: #EFEBE3; --ash: #C3C6B9; --bronze: #BCC8AE; --ivory: #F4F1EA; --ink-2: #E2DED5;
  --line: rgba(239, 235, 227, .14); --line-2: rgba(239, 235, 227, .26);
  background: #2E3529 !important; color: #EFEBE3;
}
.tone-olive .label, .tone-olive .eyebrow { color: #C3C6B9; }
.tone-olive .lead { color: #D4D6CB; }
.tone-olive .btn, .tone-olive .btn--light { --bg: #F4F1EA; --fg: #2E3529; border-color: #F4F1EA; }
.tone-olive .btn:hover { background: transparent; color: #F4F1EA; border-color: #F4F1EA; }
.tone-olive .btn--ghost { --bg: transparent; --fg: #EFEBE3; border-color: rgba(239, 235, 227, .4); color: #EFEBE3 !important; }
.tone-olive .btn--ghost:hover { background: #F4F1EA; color: #2E3529 !important; }
.trust.tone-olive { border-block: 0; }
.tone-olive .tr__ic { display: none; }
.stmt.tone-olive .w { opacity: .22; }
.stmt.tone-olive .w.on { opacity: 1; }

/* =====================================================================
   WEIGHT (26 Oct): one step heavier everywhere, so the type reads
   confident and expensive instead of thin
   ===================================================================== */
body { font-weight: 400; }
.lead { font-weight: 400; }
.label { font-weight: 500; }
.nav a { font-weight: 400; }
.display { font-weight: 400; }
.display em { font-weight: 600; }
html[lang="he"] .display { font-weight: 500; }
html[lang="he"] .display em { font-weight: 700; }
html[lang="en"] .display { font-weight: 500; letter-spacing: -.02em; }
html[lang="en"] .display em { font-weight: 500; }
.menu nav a, .ccard__t, .stmt__p { font-weight: 400; }
html[lang="he"] .menu nav a, html[lang="he"] .ccard__t, html[lang="he"] .stmt__p { font-weight: 500; }
html[lang="en"] .menu nav a, html[lang="en"] .ccard__t, html[lang="en"] .stmt__p { font-weight: 500; }
.mat__t b { font-weight: 500; }
html[lang="en"] .tr__t, html[lang="en"] .steps h3, html[lang="en"] .faq summary, html[lang="en"] .pcard__nm { font-weight: 500; }
html[lang="ar"] .lk__cap b { font-weight: 500; }
html[lang="ar"] .pinfo__price strong { font-weight: 400; }
.pinfo__price strong, .calc-res__big strong, .pcalc__big strong, .qtot .grand, .tr__big, .steps__n, .lay__steps b, .ctot strong, .todo__id { font-weight: 300 !important; }
.ftr__wm { font-weight: 500; }

/* =====================================================================
   PRICE YOUR FLOOR (home): the calculator, right after the collections
   ===================================================================== */
.price { background: var(--graphite); }
.price__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.price__txt { display: grid; gap: 22px; min-width: 0; }
.price__pick { display: flex; flex-wrap: wrap; gap: 8px; }
.price__chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 6px; border: 1px solid rgba(35, 33, 30, .16); background: var(--night); color: var(--bone); font: inherit; font-size: .86rem; cursor: pointer; transition: border-color .3s, background .3s; }
html[dir="rtl"] .price__chip { padding: 6px 6px 6px 14px; }
.price__chip:hover { border-color: rgba(35, 33, 30, .4); }
.price__chip[aria-pressed="true"] { border-color: var(--ivory); background: rgba(79, 92, 73, .12); font-weight: 500; }
.price__sw { width: 30px; height: 30px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(35, 33, 30, .12); }
.price__calc { display: grid; gap: 16px; padding: clamp(18px, 2.4vw, 28px); background: var(--night); border: 1px solid var(--line); }
.price__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.price__media { display: grid; gap: 18px; min-width: 0; position: sticky; top: 110px; }
.price__meta { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.price__meta b { display: block; font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
html[lang="en"] .price__meta b { font-family: var(--f-latin); font-size: 1.7rem; }
.price__meta span { color: var(--ash); font-size: .9rem; }
.price__m2 { margin: 0; text-align: end; white-space: nowrap; }
.price__m2 strong { display: block; font-family: var(--f-en); font-weight: 300; font-size: 2.2rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price__m2 small { color: var(--ash); }
@media (max-width: 900px) {
  /* one column: heading, tiles, the chosen tile, then the numbers */
  .price__grid { grid-template-columns: 1fr; gap: 20px; }
  .price__txt { display: contents; }
  .price__txt > .label { order: 1; } #hPrice { order: 2; } .price__pick { order: 3; } .price__media { order: 4; position: static; } .price__calc { order: 5; } .price__acts { order: 6; }
  .price__media .ph { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .price__pick { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .price__chip { flex: none; scroll-snap-align: start; }
}
.price__calc > div { display: grid; gap: 16px; }

/* ================= ROOM STUDIO, NARROW SCREENS =================
   The options box scrolls on its own: a soft shade appears under its top edge only once its content
   has moved up, so the edge reads as the edge of a drawer, not as content vanishing behind the room. */
@media (max-width: 960px) {
  .studio__panel {
    background:
      linear-gradient(var(--coal) 40%, rgba(225, 217, 204, 0)) top / 100% 26px no-repeat local,
      linear-gradient(rgba(46, 40, 32, .16), rgba(46, 40, 32, 0)) top / 100% 12px no-repeat scroll,
      var(--coal);
  }
}
