/* =========================================================
   MORO — Sartoria Italiana, Tashkent
   Design system: "old money" — MORO burgundy, brass, bone, ink
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette */
  --bone:        #F4F0E7;
  --bone-2:      #EBE4D5;
  --bone-3:      #E0D7C4;
  --paper:       #FBF9F4;

  --ink:         #16150F;
  --ink-2:       #2C2A22;
  --stone:       #8A8375;
  --stone-2:     #A9A294;

  /* House colour — MORO burgundy */
  --wine:        #6B2028;
  --wine-deep:   #4A161C;
  --wine-soft:   #8A2F38;

  --brass:       #A9884E;
  --brass-lt:    #C9AC73;
  --brass-pale:  #E8D5B4;

  /* Logo tricolore (Italian flag — part of the mark, unchanged) */
  --tri-green:   #4F7A6A;
  --tri-red:     #B02A24;

  /* Shared dark scrim, warm to match the burgundy */
  --scrim:       28, 10, 13;

  /* Semantic */
  --bg:          var(--bone);
  --fg:          var(--ink);
  --muted:       var(--stone);
  --line:        rgba(22, 21, 15, .14);
  --line-soft:   rgba(22, 21, 15, .07);
  --accent:      var(--brass);

  /* Type */
  --f-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --f-serif:   "Cormorant Garamond", Georgia, serif;
  --f-sans:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Metrics */
  --nav-h: 76px;
  --bar-h: 38px;
  --pad:   clamp(20px, 5vw, 72px);
  --maxw:  1560px;
  --r:     2px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: .9s var(--ease);
  --med:  .45s var(--ease);
  --fast: .22s var(--ease);
}

/* Arabic typography swap */
html[lang="ar"] {
  --f-display: "Amiri", "Playfair Display", serif;
  --f-serif:   "Amiri", Georgia, serif;
  --f-sans:    "Noto Sans Arabic", "Jost", Arial, sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--wine); color: var(--bone); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- 3. Utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 980px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
}
html[lang="ar"] .eyebrow { letter-spacing: .06em; font-size: 13px; }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.rule { width: 46px; height: 1px; background: var(--brass); border: 0; margin: 0; }

.lead {
  font-family: var(--f-serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.72;
  color: var(--ink-2);
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
  display: inline-flex; align-items: center; gap: .8em;
  padding: 14px 30px;
  font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r);
  position: relative; overflow: hidden;
  transition: color var(--med), border-color var(--med);
}
html[lang="ar"] .btn { letter-spacing: .04em; font-size: 13px; }
.btn::after {
  content: ""; position: absolute; inset: 0; background: var(--btn-bd);
  transform: scaleY(0); transform-origin: bottom; z-index: -1;
  transition: transform var(--med);
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--bone); }
.btn:hover::after { transform: scaleY(1); transform-origin: top; }
.btn { z-index: 0; }
.btn--light { --btn-fg: var(--bone); --btn-bd: rgba(244,240,231,.75); }
.btn--light:hover { color: var(--wine-deep); }
.btn--light:hover::after { background: var(--bone); }
.btn--solid { --btn-fg: var(--bone); background: var(--wine); border-color: var(--wine); }
.btn--solid:hover { color: var(--wine); }
.btn--solid::after { background: var(--bone); }

.link-u {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  padding-bottom: 5px; position: relative;
}
html[lang="ar"] .link-u { letter-spacing: .04em; font-size: 13px; }
.link-u::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(1); transform-origin: var(--o-end, right);
  transition: transform .5s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); }
.link-u .ar { transition: transform var(--med); }
.link-u:hover .ar { transform: translateX(5px); }
html[dir="rtl"] .link-u:hover .ar { transform: translateX(-5px); }
html[dir="rtl"] .ar { transform: scaleX(-1); }
html[dir="rtl"] .link-u:hover .ar { transform: scaleX(-1) translateX(-5px); }

/* ---------- 5. Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; }
.logo__word {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--logo-size, 27px);
  letter-spacing: .045em;
  line-height: 1;
  white-space: nowrap;
}
.logo__tri { display: flex; width: var(--logo-tri, 58px); height: 2.5px; }
.logo__tri i { flex: 1; }
.logo__tri i:nth-child(1) { background: var(--tri-green); }
.logo__tri i:nth-child(2) { background: #FFFFFF; }
.logo__tri i:nth-child(3) { background: var(--tri-red); }

/* ---------- 6. Announcement bar ---------- */
.topbar {
  height: var(--bar-h);
  background: var(--wine-deep);
  color: var(--brass-pale);
  display: flex; align-items: center;
  overflow: hidden;
  position: relative; z-index: 60;
}
.topbar__track { display: flex; gap: 0; white-space: nowrap; animation: slide 42s linear infinite; }
.topbar__track span {
  font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
  padding-inline: 34px; display: inline-flex; align-items: center; gap: 34px;
}
.topbar__track span::after { content: "◆"; font-size: 6px; color: var(--brass); letter-spacing: 0; }
html[lang="ar"] .topbar__track span { letter-spacing: .05em; font-size: 12.5px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .topbar__track { animation-name: slideR; }
@keyframes slideR { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .topbar__track { animation: none; } }

/* ---------- 7. Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--bone);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--med), color var(--med), border-color var(--med), height var(--med);
}
.hdr__in {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
}
.hdr__nav ul { display: flex; align-items: center; gap: 30px; }
.hdr__nav a {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  position: relative; padding-block: 6px; white-space: nowrap;
}
html[lang="ar"] .hdr__nav a { letter-spacing: .03em; font-size: 13.5px; }
.hdr__nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: var(--o-start, left);
  transition: transform .45s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__brand { justify-self: center; }
.hdr__tools { justify-self: end; display: flex; align-items: center; gap: 16px; }

.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; transition: background var(--fast);
}
.icon-btn:hover { background: rgba(22,21,15,.06); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.2; }

.burger { display: none; align-items: center; gap: 11px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.burger i { display: block; width: 22px; height: 1px; background: currentColor; position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: currentColor; }
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }

/* Transparent header over hero */
.hdr--over {
  position: fixed; inset-inline: 0; top: var(--bar-h);
  background: transparent; color: var(--bone); border-color: rgba(244,240,231,.16);
}
.hdr--over.is-stuck {
  position: fixed; top: 0;
  background: rgba(var(--scrim), .96);
  backdrop-filter: blur(10px);
  color: var(--bone);
  border-color: rgba(244,240,231,.14);
}
.hdr--over .icon-btn:hover { background: rgba(244,240,231,.12); }

/* ---------- 8. Language switcher ---------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 10px; border: 1px solid transparent; border-radius: var(--r);
  transition: border-color var(--fast);
}
.lang__btn:hover { border-color: currentColor; }
.lang__btn svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform var(--fast); }
.lang.open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
  min-width: 178px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 22px 50px -22px rgba(22,21,15,.4);
  padding: 7px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--fast), transform var(--fast), visibility var(--fast);
  z-index: 70;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; font-size: 12.5px; letter-spacing: .04em; border-radius: var(--r);
  transition: background var(--fast);
  text-align: start;
}
.lang__menu button:hover { background: var(--bone-2); }
.lang__menu button[aria-selected="true"] { color: var(--brass); }
.lang__menu button span:last-child { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }

/* ---------- 9. Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--wine-deep); color: var(--bone);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .6s var(--ease);
  overflow-y: auto;
}
html[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer.open,
html[dir="rtl"] .drawer.open { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); border-bottom: 1px solid rgba(244,240,231,.14); }
.drawer__nav { padding: 40px var(--pad); flex: 1; }
.drawer__nav a {
  display: block; font-family: var(--f-display); font-size: clamp(30px, 8vw, 46px);
  padding: 12px 0; border-bottom: 1px solid rgba(244,240,231,.1);
}
.drawer__foot { padding: 26px var(--pad) 44px; display: grid; gap: 18px; }
.drawer__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer__langs button {
  padding: 8px 14px; border: 1px solid rgba(244,240,231,.28); border-radius: var(--r);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.drawer__langs button[aria-selected="true"] { background: var(--brass); border-color: var(--brass); color: var(--wine-deep); }

/* ---------- 10. Hero slider ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--wine-deep); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s var(--ease); }
.hero__slide.on { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%);
  transform: scale(1.06); transition: transform 8s linear;
}
.hero__slide.on img { transform: scale(1.14); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(var(--scrim),.78) 0%, rgba(var(--scrim),.22) 46%, rgba(var(--scrim),.42) 100%);
}
.hero__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(72px, 12vh, 132px);
  max-width: var(--maxw); margin-inline: auto;
  color: var(--bone);
}
.hero__cap { max-width: 760px; }
.hero__cap .eyebrow { color: var(--brass-lt); display: block; margin-bottom: 20px; }
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(38px, 7.2vw, 88px); line-height: 1.02; letter-spacing: -.015em;
  margin-bottom: 30px;
}
.hero__title em { font-style: italic; color: var(--brass-lt); }
.hero__cap > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.hero__slide.on .hero__cap > * { opacity: 1; transform: none; }
.hero__slide.on .hero__cap > *:nth-child(1) { transition-delay: .25s; }
.hero__slide.on .hero__cap > *:nth-child(2) { transition-delay: .38s; }
.hero__slide.on .hero__cap > *:nth-child(3) { transition-delay: .52s; }

.hero__ui {
  position: absolute; z-index: 3; inset-inline: var(--pad); bottom: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: calc(var(--maxw) - var(--pad) * 2); margin-inline: auto;
}
.hero__dots { display: flex; gap: 12px; }
.hero__dots button {
  width: 44px; height: 2px; background: rgba(244,240,231,.3); position: relative; overflow: hidden;
}
.hero__dots button i { position: absolute; inset: 0; background: var(--brass-lt); transform: scaleX(0); transform-origin: var(--o-start, left); }
.hero__dots button[aria-current="true"] i { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button {
  width: 44px; height: 44px; border: 1px solid rgba(244,240,231,.35); border-radius: 50%;
  display: grid; place-items: center; color: var(--bone); transition: background var(--fast), color var(--fast);
}
.hero__arrows button:hover { background: var(--bone); color: var(--wine-deep); }
.hero__arrows svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.hero__count { font-size: 11px; letter-spacing: .22em; color: var(--bone); font-variant-numeric: tabular-nums; }

/* ---------- 11. Page hero (inner pages) ---------- */
.phero { position: relative; min-height: 62svh; display: grid; align-items: end; overflow: hidden; background: var(--wine-deep); }
.phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim),.8), rgba(var(--scrim),.25) 60%, rgba(var(--scrim),.45)); }
.phero__in { position: relative; z-index: 2; color: var(--bone); padding-block: clamp(60px, 12vh, 120px); }
.phero__title { font-family: var(--f-display); font-size: clamp(36px, 6vw, 74px); line-height: 1.05; margin-top: 18px; }
.phero .eyebrow { color: var(--brass-lt); }

/* ---------- 12. Sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 132px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.sec--wine { background: var(--wine-deep); color: var(--bone); }
.sec--wine .eyebrow { color: var(--brass-lt); }
.sec--wine .lead { color: rgba(244,240,231,.78); }
.sec--paper { background: var(--paper); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 58px); }
.sec-head__t { display: grid; gap: 14px; }
.sec-title { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; }

/* Manifesto */
.manifesto { display: grid; gap: clamp(26px, 3vw, 40px); justify-items: center; text-align: center; max-width: 900px; margin-inline: auto; }
.manifesto__q {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.8vw, 50px); line-height: 1.22;
}
.manifesto__q b { font-style: normal; font-weight: 400; color: var(--brass); }

/* ---------- 13. Product grid ---------- */
.grid-p { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 26px) clamp(12px, 1.3vw, 22px); }
.card { display: block; position: relative; }
.card__media {
  display: block;
  position: relative; overflow: hidden; background: var(--bone-2); aspect-ratio: 3/4;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter var(--med); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  background: var(--bone); color: var(--ink);
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px;
}
.card__tag--brass { background: var(--brass); color: var(--wine-deep); }
.card__quick {
  position: absolute; inset-inline: 12px; bottom: 12px; z-index: 2;
  background: rgba(251,249,244,.94); color: var(--ink);
  text-align: center; padding: 12px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: opacity var(--med), transform var(--med);
}
html[lang="ar"] .card__quick, html[lang="ar"] .card__tag { letter-spacing: .03em; font-size: 12px; }
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
.card__body { padding-top: 15px; display: grid; gap: 5px; }
.card__cat { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.card__name { font-family: var(--f-display); font-size: 18px; line-height: 1.25; }
.card__price { font-family: var(--f-serif); font-size: 15px; color: var(--ink-2); font-style: italic; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(28px, 3vw, 46px); }
.filters button {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
  transition: background var(--fast), color var(--fast), border-color var(--fast);
}
html[lang="ar"] .filters button { letter-spacing: .03em; font-size: 12.5px; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--bone); }

/* ---------- 14. Marquee ---------- */
.marq { background: var(--wine-deep); color: var(--bone); padding-block: 20px; overflow: hidden; border-block: 1px solid rgba(244,240,231,.1); }
.marq__track { display: flex; white-space: nowrap; animation: slide 34s linear infinite; }
.marq__track span {
  font-family: var(--f-display); font-size: clamp(21px, 2.6vw, 34px);
  padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; font-style: italic;
}
.marq__track span::after { content: "◆"; font-size: 8px; font-style: normal; color: var(--brass); }
@media (prefers-reduced-motion: reduce) { .marq__track { animation: none; } }
html[dir="rtl"] .marq__track { animation-name: slideR; }

/* ---------- 15. Split editorial ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 88px); }
.split--rev .split__media { order: 2; }
.split__media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--bone-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.split__body { display: grid; gap: 22px; align-content: center; max-width: 540px; }
.split__title { font-family: var(--f-display); font-size: clamp(26px, 3.2vw, 44px); line-height: 1.12; }

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
.stat { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.sec--wine .stat { border-color: rgba(244,240,231,.2); }
.stat__n { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 48px); line-height: 1; color: var(--brass); }
.stat__l { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.sec--wine .stat__l { color: rgba(244,240,231,.6); }
html[lang="ar"] .stat__l { letter-spacing: .03em; font-size: 13px; }

/* ---------- 16. Values ---------- */
.vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.val { display: grid; gap: 13px; padding-top: 26px; border-top: 1px solid var(--line); }
.sec--wine .val { border-color: rgba(244,240,231,.2); }
.val svg { width: 26px; height: 26px; stroke: var(--brass); fill: none; stroke-width: 1; }
.val h3 { font-family: var(--f-display); font-size: 20px; font-weight: 400; }
/* keeps the measure readable when only a couple of values are shown */
.val p { font-size: 14px; color: var(--muted); line-height: 1.68; max-width: 46ch; }
.sec--wine .val p { color: rgba(244,240,231,.62); }

/* ---------- 16b. Brand roster ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 2.6vw, 44px); }
.brand { display: grid; gap: 7px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.sec--wine .brand { border-color: rgba(244,240,231,.2); }
.brand__n { font-family: var(--f-display); font-weight: 400; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: .03em; line-height: 1.2; }
.brand__y {
  font-size: 11px; letter-spacing: .24em; color: var(--brass);
  font-variant-numeric: tabular-nums;
}
html[lang="ar"] .brand__y { letter-spacing: .06em; font-size: 13px; }
.brand__d { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 44ch; margin-top: 3px; }
.sec--wine .brand__d { color: rgba(244,240,231,.62); }

/* ---------- 17. Mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 20px); }
.mosaic figure { position: relative; overflow: hidden; background: var(--bone-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.m-a { grid-column: span 5; aspect-ratio: 4/5; }
.m-b { grid-column: span 7; aspect-ratio: 16/11; align-self: end; }
.m-c { grid-column: span 4; aspect-ratio: 3/4; }
.m-d { grid-column: span 4; aspect-ratio: 3/4; margin-top: clamp(16px, 4vw, 56px); }
.m-e { grid-column: span 4; aspect-ratio: 3/4; }

/* ---------- 18. Boutiques ---------- */
/* One boutique: a single wide card, image beside the details */
.shops { display: grid; gap: clamp(20px, 2.6vw, 40px); }
.shop { background: var(--paper); border: 1px solid var(--line-soft); display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.sec--wine .shop { background: rgba(244,240,231,.05); border-color: rgba(244,240,231,.16); }
.shop__img { overflow: hidden; min-height: 320px; }
.shop__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.4s var(--ease); }
.shop:hover .shop__img img { transform: scale(1.05); }
.shop__body { padding: clamp(22px, 2.4vw, 38px); display: grid; gap: 15px; align-content: start; }
.shop__name { font-family: var(--f-display); font-size: clamp(21px, 2.2vw, 28px); }
.shop__row { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.sec--wine .shop__row { color: rgba(244,240,231,.8); }
.shop__row svg { width: 16px; height: 16px; stroke: var(--brass); fill: none; stroke-width: 1.2; flex: none; margin-top: 4px; }
.shop__row a:hover { color: var(--brass); }

/* ---------- 19. Newsletter ---------- */
.news { background: var(--wine-deep); color: var(--bone); }
.news__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.news__t { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; margin-block: 14px 16px; }
.news p { color: rgba(244,240,231,.68); font-size: 15px; max-width: 460px; }
.news__form { display: grid; gap: 14px; }
.field { display: flex; border-bottom: 1px solid rgba(244,240,231,.32); }
.field input {
  flex: 1; background: none; border: 0; padding: 14px 2px; color: var(--bone);
  font-size: 15px; letter-spacing: .02em;
}
.field input::placeholder { color: rgba(244,240,231,.42); }
.field input:focus { outline: none; }
.field button {
  padding-inline: 16px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-lt);
  transition: color var(--fast);
}
.field button:hover { color: var(--bone); }
.news__note { font-size: 12px; color: rgba(244,240,231,.45); }
.news__ok { font-size: 13px; color: var(--brass-lt); min-height: 20px; }

/* ---------- 20. Contact form ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.inp { display: grid; gap: 8px; }
.inp label { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
html[lang="ar"] .inp label { letter-spacing: .03em; font-size: 12.5px; }
.inp input, .inp textarea, .inp select {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 11px 2px; font-size: 15.5px; font-family: var(--f-sans); color: var(--ink);
  transition: border-color var(--fast);
}
.inp textarea { resize: vertical; min-height: 118px; }
.inp input:focus, .inp textarea:focus, .inp select:focus { outline: none; border-color: var(--brass); }

/* ---------- 21. Quick view modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal__bd { position: absolute; inset: 0; background: rgba(var(--scrim),.72); opacity: 0; transition: opacity var(--med); }
.modal.open .modal__bd { opacity: 1; }
.modal__box {
  position: relative; z-index: 2; background: var(--paper); width: min(980px, 100%); max-height: 92svh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  opacity: 0; transform: translateY(20px) scale(.99); transition: opacity var(--med), transform var(--med);
}
.modal.open .modal__box { opacity: 1; transform: none; }
.modal__img { background: var(--bone-2); }
.modal__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.modal__body { padding: clamp(24px, 3vw, 46px); display: grid; gap: 16px; align-content: center; }
.modal__name { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; }
.modal__close {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3;
  width: 38px; height: 38px; display: grid; place-items: center; background: var(--paper); border-radius: 50%;
}
.modal__close svg { width: 15px; height: 15px; stroke: var(--ink); stroke-width: 1.3; fill: none; }
.spec { display: grid; gap: 9px; padding-top: 16px; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.spec dt { color: var(--stone); }

/* ---------- 22. Footer ---------- */
.ftr { background: var(--ink); color: rgba(244,240,231,.72); padding-block: clamp(52px, 6vw, 84px) 30px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: clamp(26px, 3vw, 56px); }
.ftr__brand { display: grid; gap: 18px; align-content: start; max-width: 320px; }
.ftr__brand .logo { color: var(--bone); align-items: flex-start; }
.ftr__brand p { font-size: 14px; line-height: 1.72; }
.ftr h4 { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); font-weight: 400; margin-bottom: 18px; }
html[lang="ar"] .ftr h4 { letter-spacing: .04em; font-size: 12.5px; }
.ftr li + li { margin-top: 11px; }
.ftr a { font-size: 14px; transition: color var(--fast); }
.ftr a:hover { color: var(--brass-lt); }
.ftr__soc { display: flex; gap: 10px; margin-top: 6px; }
.ftr__soc a { width: 38px; height: 38px; border: 1px solid rgba(244,240,231,.2); border-radius: 50%; display: grid; place-items: center; transition: background var(--fast), color var(--fast), border-color var(--fast); }
.ftr__soc a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.ftr__soc svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.ftr__bot {
  margin-top: clamp(36px, 4vw, 60px); padding-top: 24px; border-top: 1px solid rgba(244,240,231,.14);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(244,240,231,.5);
}

/* ---------- 23. Misc ---------- */
.toast {
  position: fixed; z-index: 120; inset-inline: 0; bottom: 26px; margin-inline: auto; width: max-content; max-width: 90vw;
  background: var(--wine-deep); color: var(--bone); border: 1px solid var(--brass);
  padding: 13px 24px; font-size: 13px; letter-spacing: .03em;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity var(--med), transform var(--med);
}
.toast.on { opacity: 1; transform: none; }

.to-top {
  position: fixed; z-index: 45; inset-inline-end: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%; background: var(--wine); color: var(--bone);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity var(--med), background var(--fast);
}
.to-top.on { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--brass); color: var(--wine-deep); }
.to-top svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1180px) {
  .grid-p { grid-template-columns: repeat(3, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hdr__nav { display: none; }
  .burger { display: inline-flex; }
  .hdr__in { grid-template-columns: 1fr auto 1fr; }
  .vals { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media { aspect-ratio: 3/2; }
  .shop { grid-template-columns: 1fr; }
  .shop__img { min-height: 0; aspect-ratio: 16/10; }
  .news__in { grid-template-columns: 1fr; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__img img { aspect-ratio: 16/10; }
  .m-a, .m-b, .m-c, .m-d, .m-e { grid-column: span 6; }
  .m-d { margin-top: 0; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .grid-p { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
  .card__name { font-size: 15.5px; }
  .card__quick { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .hero__ui { bottom: 20px; }
  .hero__dots button { width: 28px; }
  .hero__arrows { display: none; }
  .hero__body { padding-bottom: 96px; }
  .m-a, .m-b, .m-c, .m-d, .m-e { grid-column: span 12; }
  .stat__n { font-size: 34px; }
  .lang__btn span.lang__full { display: none; }
}
@media (max-width: 359px) {
  .grid-p { grid-template-columns: 1fr; }
}

/* ---------- 25. RTL fine-tuning ---------- */
html[dir="rtl"] { --o-start: right; --o-end: left; }
html[dir="rtl"] .burger { flex-direction: row-reverse; }
html[dir="rtl"] .hero__dots button i { transform-origin: right; }
