@font-face { font-family: "Archivo"; src: url("archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("readex-arabic.woff2") format("woff2"); font-weight: 160 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
/* Layout: split hero → typographic room index (signature) → filterable collection grid → showroom visit band. */
:root {
  --stone: #EDEFEA;      /* page ground, faint green-grey */
  --paper: #FFFFFF;      /* product photography surface */
  --ink: #1D2321;
  --muted: #5B6560;
  --line: #D3D8D1;
  --brass: #8A5D17;      /* accent: the gold of the Kors sofa logo, darkened for contrast */
  --brass-soft: #E9E0CC;
  --scrim: rgba(20, 24, 22, .55);
  --deep: #2C1B0A;       /* logo brown: visit band, same in both themes */
  --deep-fg: #F2ECE2;
  --gold: #DEA441;       /* logo gold */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1320px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --stone: #161A18; --paper: #E9EBE6; --ink: #E7EAE5; --muted: #9CA59F; --line: #2E3532;
    --brass: #DEA441; --brass-soft: #3A3222; --scrim: rgba(0,0,0,.65); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --stone: #161A18; --paper: #E9EBE6; --ink: #E7EAE5; --muted: #9CA59F; --line: #2E3532;
  --brass: #DEA441; --brass-soft: #3A3222; --scrim: rgba(0,0,0,.65); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font: 400 16px/1.6 var(--body); font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--stone); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
table { color: inherit; font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
bdi { unicode-bidi: isolate; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
.wide { font-stretch: 125%; }
.narrow { font-stretch: 80%; }
.muted { color: var(--muted); }

/* ── Header ───────────────────────── */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--stone) 92%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; font: 600 19px/1 "Archivo", sans-serif; font-stretch: 125%; text-decoration: none; letter-spacing: -.01em; margin-inline-end: auto; white-space: nowrap; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.brand span { overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: .04em; }
.lang { font: 500 14px/1 var(--body); background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.lang:hover { border-color: var(--ink); }
.lang:lang(ar) { font-family: "Readex Pro", sans-serif; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 var(--body); padding: 13px 20px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--stone);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { border-color: var(--brass); color: var(--brass); background: transparent; }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 760px) { .nav { display: none; } .top .btn span { display: none; } .top .btn { padding: 10px; } .top .wrap { gap: 10px; } }
@media (max-width: 400px) { .brand { font-size: 16px; } .lang { padding: 9px 11px; } }

/* ── Hero ─────────────────────────── */
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 6vw, 80px) clamp(40px, 6vw, 88px); }
.hero h1 { font-size: clamp(38px, 6.2vw, 84px); line-height: .98; font-weight: 300; font-stretch: 125%; letter-spacing: -.035em; }
.hero h1 b { font-weight: 300; color: var(--muted); }
.hero p.lede { font-size: clamp(17px, 1.4vw, 19px); max-width: 46ch; margin: 28px 0 32px; color: var(--muted); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts { display: grid; grid-template-columns: repeat(3, max-content); gap: 16px 40px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero .facts strong { display: block; font: 500 26px/1.1 var(--display); font-stretch: 125%; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero figure { margin: 0; position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 4px; background: var(--paper); }
.hero figure img { width: 100%; height: 100%; object-fit: cover; }
.hero figcaption { position: absolute; inset-inline-start: 14px; bottom: 14px; background: var(--stone); color: var(--ink); font-size: 13px; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero figure { aspect-ratio: 5 / 4; order: -1; }
  .hero .facts { margin-top: 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* ── Room index (signature) ───────── */
.rooms { border-top: 1px solid var(--line); }
.rooms .wrap { position: relative; padding-block: 56px 72px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; font-stretch: 112%; letter-spacing: -.01em; }
.room-list { list-style: none; margin: 0; padding: 0; }
.room-list li { border-bottom: 1px solid var(--line); }
.room-list li:first-child { border-top: 1px solid var(--ink); }
.room-link {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px;
  width: 100%; padding: 14px 0; background: none; border: 0; color: var(--ink); cursor: pointer; text-align: start;
  font-family: var(--display);
}
.room-link .rn { font-size: clamp(30px, 6.4vw, 92px); line-height: 1; font-weight: 250; font-stretch: 125%; letter-spacing: -.045em; transition: font-weight .35s ease, color .35s ease; }
.room-link .rc { font: 400 14px/1 var(--body); font-stretch: 85%; color: var(--muted); font-variant-numeric: tabular-nums; }
.room-link .rt { display: none; }
.room-link:hover .rn, .room-link:focus-visible .rn { font-weight: 560; color: var(--brass); }
.room-peek {
  position: absolute; inset-inline-end: 8%; top: 50%; width: min(300px, 26vw); aspect-ratio: 3/4;
  border-radius: 4px; overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(2deg) scale(.96);
  transition: opacity .25s ease, transform .35s ease; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); background: var(--paper);
}
.room-peek.on { opacity: 1; transform: translateY(-50%) rotate(-1.5deg) scale(1); }
.room-peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 760px) {
  .room-peek { display: none; }
  .room-link { grid-template-columns: 64px 1fr auto; align-items: center; }
  .room-link .rt { display: block; width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: var(--paper); }
  .room-link .rt img { width: 100%; height: 100%; object-fit: cover; }
}

/* ── Collection ───────────────────── */
.collection { background: var(--stone); }
.collection .wrap { padding-block: 24px 96px; }
.toolbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 61px); z-index: 10; background: var(--stone); padding-block: 14px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 520px; min-width: 0; padding: 2px; }
.chip {
  flex: none; font: 450 14px/1 var(--body); padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.chip.new[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #fff; }
.search { flex: 0 1 260px; min-width: 0; position: relative; }
.search input {
  width: 100%; font: 400 15px/1 var(--body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding-block: 10px; padding-inline: 38px 14px;
}
:root[data-theme="dark"] .search input, .search input { color-scheme: inherit; }
.search svg { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.result-line { font-size: 14px; color: var(--muted); margin: -12px 0 20px; font-variant-numeric: tabular-nums; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 20px; }
.item { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: start; font: inherit; min-width: 0; }
.item .ph { position: relative; aspect-ratio: 5 / 4; background: var(--paper); border-radius: 4px; overflow: hidden; }
.item .ph img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; transition: transform .5s ease; }
.item:hover .ph img { transform: scale(1.04); }
.item .badge { z-index: 1; position: absolute; top: 10px; inset-inline-start: 10px; font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 999px; background: var(--brass); color: #fff; }
.item .nm { font: 500 19px/1.15 "Archivo", sans-serif; font-stretch: 125%; letter-spacing: -.015em; }
.item .ty { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.item .ty span:last-child { font-stretch: 80%; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.empty { padding: 64px 0; text-align: center; color: var(--muted); }
.empty button { margin-top: 16px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } .item .nm { font-size: 16px; } .item .ty { flex-direction: column; gap: 0; font-size: 13px; } }

/* ── Product dialog ───────────────── */
dialog.sheet {
  width: min(1040px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 6px;
  background: var(--stone); color: var(--ink); overflow: auto;
}
dialog.sheet::backdrop { background: var(--scrim); backdrop-filter: blur(3px); }
dialog.sheet[open] { animation: rise .28s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.sheet-in { display: grid; grid-template-columns: 1.15fr 1fr; }
.sheet .ph { background: var(--paper); display: grid; place-items: center; min-height: 380px; padding: 24px; }
.sheet .ph img { max-height: 70vh; object-fit: contain; mix-blend-mode: multiply; }
.sheet .info { padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sheet .kicker { font-size: 14px; color: var(--muted); }
.sheet h3 { font-family: "Archivo", sans-serif; font-size: clamp(32px, 4vw, 52px); line-height: 1; font-weight: 400; font-stretch: 125%; letter-spacing: -.035em; }
.sheet dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: 15px; border-top: 1px solid var(--line); padding-top: 18px; }
.sheet dt { color: var(--muted); }
.sheet dd { margin: 0; font-variant-numeric: tabular-nums; }
.sheet p.desc { margin: 0; max-width: 62ch; }
.sheet .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.sheet .note { font-size: 13px; color: var(--muted); margin: 0; }
.sheet .close, .sheet .step {
  position: absolute; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--stone); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 20px;
}
.sheet .close { top: 12px; inset-inline-end: 12px; }
.sheet .step { top: 12px; }
.sheet .step.prev { inset-inline-start: 12px; } .sheet .step.next { inset-inline-start: 60px; }
[dir="rtl"] .sheet .step { transform: scaleX(-1); }
.sheet .close:hover, .sheet .step:hover { border-color: var(--ink); }
@media (max-width: 760px) {
  .sheet-in { grid-template-columns: 1fr; }
  .sheet .ph { min-height: 260px; padding-top: 64px; }
  .sheet .ph img { max-height: 42vh; }
  .sheet .info { padding: 24px 20px 28px; }
}

/* ── Showroom ─────────────────────── */
.visit { background: var(--deep); color: var(--deep-fg); }
.visit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 112px); align-items: center; }
.visit h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; font-weight: 300; font-stretch: 125%; letter-spacing: -.035em; }
.visit p { color: color-mix(in srgb, var(--deep-fg) 72%, var(--deep)); max-width: 46ch; }
.visit .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 36px 0; font-size: 15px; }
.visit h4 { margin: 0 0 8px; font: 500 14px/1.2 var(--body); color: var(--gold); }
.visit h4.gap { margin-top: 20px; }
.visit .locations { display: grid; gap: 16px; }
.visit .loc-city { font-weight: 560; }
.visit .loc-city .tag { display: inline-block; margin-inline-start: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .02em; background: var(--brass); color: #fff; vertical-align: middle; }
.visit .loc-addr { color: color-mix(in srgb, var(--deep-fg) 78%, var(--deep)); margin-top: 2px; }
.visit .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.visit .social { display: flex; gap: 16px; }
.visit table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.visit td { padding: 3px 0; vertical-align: top; }
.visit td + td { text-align: end; padding-inline-start: 12px; white-space: nowrap; }
.visit .btn { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.visit .btn:hover { background: var(--deep-fg); border-color: var(--deep-fg); color: var(--deep); }
.visit .btn.ghost { background: transparent; color: var(--deep-fg); border-color: color-mix(in srgb, var(--deep-fg) 40%, var(--deep)); }
.visit .btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.visit figure { margin: 0; aspect-ratio: 4/5; max-width: 100%; border-radius: 4px; overflow: hidden; }
.visit figure img { width: 100%; height: 100%; object-fit: cover; }
.visit a { text-decoration-color: color-mix(in srgb, var(--deep-fg) 40%, var(--deep)); }
.visit :focus-visible { outline-color: var(--gold); }
@media (max-width: 860px) { .visit .wrap { grid-template-columns: 1fr; } .visit figure { aspect-ratio: 16/10; } }
@media (max-width: 460px) { .visit .cols { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: 14px; color: var(--muted); }
footer .social { display: flex; gap: 18px; }

/* ── Arabic ───────────────────────── */
/* Readex Pro covers Arabic letters only; Latin names and codes keep Archivo. */
:root[lang="ar"] { --display: "Readex Pro", "Archivo", Tahoma, sans-serif; --body: "Readex Pro", "Archivo", Tahoma, sans-serif; }
:root[lang="ar"] body { line-height: 1.8; }
:root[lang="ar"] * { letter-spacing: 0 !important; }
:root[lang="ar"] .hero h1 { line-height: 1.3; font-weight: 300; font-variation-settings: "HEXP" 18; }
:root[lang="ar"] .room-link .rn { line-height: 1.35; font-weight: 250; font-variation-settings: "HEXP" 22; }
:root[lang="ar"] .room-link:hover .rn, :root[lang="ar"] .room-link:focus-visible .rn { font-weight: 500; }
:root[lang="ar"] .visit h2 { line-height: 1.3; font-variation-settings: "HEXP" 18; }
:root[lang="ar"] .sec-head h2 { font-weight: 500; }
:root[lang="ar"] .room-peek { transform: translateY(-50%) rotate(-2deg) scale(.96); }
:root[lang="ar"] .room-peek.on { transform: translateY(-50%) rotate(1.5deg) scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
