/* =========================================================
   HA Meubles — Liviaro-inspired layout, HA brand palette
   ========================================================= */
:root {
  --cream: #f4ece2;
  --cream-2: #ebe1d4;
  --paper: #faf6f0;
  --brown: #5c3815;
  --brown-2: #7a5130;
  --ink: #17110c;
  --ink-2: #221a14;
  --muted: #7d7166;
  --line: rgba(23, 17, 12, .14);
  --line-dark: rgba(244, 236, 226, .16);
  --radius: 4px;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1360px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --ar: "Noto Kufi Arabic", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
figure { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--brown); }
[lang="ar"] { font-family: var(--ar); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn__dot {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  transition: transform .35s var(--ease);
}
.btn__dot svg { width: 16px; height: 16px; }
.btn:hover .btn__dot { transform: rotate(45deg); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark .btn__dot { background: var(--cream); color: var(--ink); }
.btn--dark:hover { background: var(--brown); }
.btn--ghost { border: 1px solid var(--line); padding: 4px 4px 4px 18px; font-size: 14px; }
.btn--ghost .btn__dot { width: 30px; height: 30px; background: var(--ink); color: var(--cream); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: rgba(250, 246, 240, .85); backdrop-filter: blur(8px); border: 1px solid rgba(23,17,12,.12); padding: 4px 4px 4px 18px; font-size: 14px; }
.btn--light .btn__dot { width: 30px; height: 30px; background: var(--ink); color: var(--cream); }
.btn--light:hover { background: var(--paper); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: calc(var(--gutter) + 12px) 0 12px;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
  color: #fff;
}
.header__inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: 0 calc(var(--gutter) + clamp(12px, 2vw, 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header.is-scrolled {
  background: rgba(250, 246, 240, .88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
  padding: 10px 0;
}
.header.is-scrolled .header__inner { padding: 0 var(--gutter); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  background: var(--cream); flex: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.75); }
.brand__name { font-weight: 600; letter-spacing: -.01em; font-size: 17px; }
.brand__name em { color: inherit; font-size: 18px; }

.nav { display: flex; gap: 30px; }
.nav__link { font-size: 14px; opacity: .78; transition: opacity .25s; position: relative; }
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link.is-active { font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background .25s; }
.icon-btn:hover { background: rgba(255,255,255,.18); }
.header.is-scrolled .icon-btn:hover { background: var(--cream-2); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: var(--gutter) var(--gutter) 0; }
.hero__frame {
  position: relative; overflow: hidden;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  height: min(100svh - 2 * var(--gutter), 920px); min-height: 560px;
  border-radius: 6px;
  background: var(--cream-2);
  color: #fff;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,17,12,.38) 0%, rgba(23,17,12,0) 28%, rgba(23,17,12,0) 52%, rgba(23,17,12,.55) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }

.hero__word {
  position: absolute; left: clamp(12px, 2vw, 32px); right: clamp(12px, 2vw, 32px); top: clamp(70px, 9vh, 96px);
  margin: 0; line-height: .8; font-weight: 500; letter-spacing: -.065em;
  white-space: nowrap; color: #fff;
  font-size: 18vw; /* refined by fitText() */
}
.hero__letters { display: inline-block; animation: wordIn 1.4s .2s var(--ease) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(18%); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.hero__bottom {
  position: absolute; left: clamp(16px, 2.5vw, 32px); right: clamp(16px, 2.5vw, 32px); bottom: clamp(20px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 22px; max-width: 520px;
}
.hero__lead { margin: 0; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.5; text-wrap: pretty; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__meta { font-size: 13px; opacity: .9; }
.hero__meta b { font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--dark { background: var(--ink); color: var(--cream); }

.sec-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px; margin-bottom: clamp(40px, 6vw, 80px);
}
.sec-head--dark { border-color: var(--line-dark); }
.sec-title { margin: 0; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.08; font-weight: 400; letter-spacing: -.035em; }
.sec-tag { font-size: 13px; color: var(--muted); white-space: nowrap; padding-top: 6px; }
.section--dark .sec-tag { color: rgba(244,236,226,.6); }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__media { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.intro__img { overflow: hidden; border-radius: var(--radius); background: var(--cream-2); }
.intro__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro__img:hover img { transform: scale(1.05); }
.intro__img--tall { aspect-ratio: 4 / 5.2; }
.intro__img--short { aspect-ratio: 4 / 4.6; }

.big-copy { margin: 0 0 22px; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.32; letter-spacing: -.02em; text-wrap: pretty; }
.mid-copy { margin: 0 0 26px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; letter-spacing: -.015em; text-wrap: pretty; }
.intro__ar { margin: 0 0 28px; color: var(--brown); font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 20px 16px 0 0; }
.stats dt { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.04em; font-weight: 500; line-height: 1; }
.stats dd { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

.intro--alt { grid-template-columns: 1fr 1fr; }
.intro__media--stack { display: block; position: relative; aspect-ratio: 1 / .92; max-width: 520px; }
.intro__img--a { position: absolute; left: 0; top: 0; width: 72%; aspect-ratio: 1.1 / 1; }
.intro__img--b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: .82 / 1; box-shadow: 0 0 0 8px var(--paper); }

.feat { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid var(--line); }
.feat li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feat span { color: var(--brown); font-size: 12px; padding-top: 3px; font-variant-numeric: tabular-nums; }

/* ---------- Collections ---------- */
.coll { list-style: none; margin: 0; padding: 0; }
.coll__row { border-bottom: 1px solid var(--line-dark); }
.coll__row:first-child { border-top: 1px solid var(--line-dark); }
.coll__row a {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 76px; padding: 0 22px;
  transition: background .45s var(--ease), color .45s var(--ease), min-height .5s var(--ease);
}
.coll__name { font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.01em; display: flex; gap: 14px; align-items: baseline; }
.coll__name i { font-style: normal; font-size: 11px; opacity: .5; }
.coll__desc { justify-self: end; font-size: 13px; opacity: .6; }
.coll__pic {
  width: 0; height: 0; border-radius: 3px; overflow: hidden;
  background-size: cover; background-position: center;
  transition: width .55s var(--ease), height .55s var(--ease);
}
.coll__row.is-active a { background: var(--cream); color: var(--ink); min-height: 132px; }
.coll__row.is-active .coll__pic { width: clamp(160px, 22vw, 300px); height: 112px; }
.coll__row.is-active .coll__name i { color: var(--brown); opacity: 1; }

/* ---------- Product rail ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: -36px 0 34px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 0 var(--gutter) 6px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: none; outline: none;
  user-select: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { scroll-snap-type: none; }
.rail.is-dragging .card { pointer-events: none; }

.card { flex: 0 0 clamp(250px, 24vw, 330px); scroll-snap-align: start; animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card__media { position: relative; aspect-ratio: 1 / 1.08; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-user-drag: none; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(250,246,240,.9); font-size: 11px; letter-spacing: .02em; }
.card__order {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 12px;
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); cursor: pointer;
}
.card:hover .card__order, .card:focus-within .card__order { opacity: 1; transform: none; }
.card__order svg { width: 14px; height: 14px; }
.card__info { padding: 14px 2px 0; }
.card__name { display: flex; align-items: center; gap: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.card__name::after { content: ""; flex: 0 0 22px; height: 1px; background: currentColor; opacity: .5; }
.card__price { margin-top: 6px; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.03em; }
.card__price small { font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }

.drag-cursor {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  font-size: 13px; box-shadow: 0 6px 24px rgba(23,17,12,.12);
  transform: translate(-50%, -50%) scale(0); transition: transform .3s var(--ease);
}
.drag-cursor.is-on { transform: translate(-50%, -50%) scale(1); }
.drag-cursor.is-down { transform: translate(-50%, -50%) scale(.8); background: var(--ink); color: var(--cream); }

.rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.rail-note { margin: 0; font-size: 13px; color: var(--muted); }
.empty { padding: 60px 0; color: var(--muted); }

.arrows { display: flex; gap: 10px; }
.arrows--split { justify-content: space-between; margin-top: 22px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .25s var(--ease); }
.arrow:hover { border-color: var(--ink); }
.arrow--fill { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.arrow--fill:hover { background: var(--brown); border-color: var(--brown); }
.arrow:disabled { opacity: .35; cursor: default; }

/* ---------- Infos ---------- */
.infos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info { background: var(--cream); padding: 26px 22px 22px; border-radius: var(--radius); display: flex; flex-direction: column; }
.info__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--brown); margin-bottom: 26px; }
.info__ico svg { width: 20px; height: 20px; }
.info h3 { margin: 0 0 8px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.info p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.info .info__ar { margin-top: auto; padding-top: 18px; color: var(--brown); font-size: 13px; }

/* ---------- Testimonials ---------- */
.tst { overflow: hidden; }
.tst__track { display: flex; gap: 16px; transition: transform .7s var(--ease); }
.tcard { flex: 0 0 calc((100% - 32px) / 3); background: var(--cream); border-radius: var(--radius); padding: 22px; min-height: 230px; }
.tcard header { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.tcard__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brown); color: var(--cream); font-weight: 500; }
.tcard b { display: block; font-size: 14px; font-weight: 500; }
.tcard small { font-size: 12px; color: var(--muted); }
.tcard p { margin: 0; font-size: 16px; line-height: 1.5; letter-spacing: -.005em; }

/* ---------- Banner ---------- */
.banner { position: relative; overflow: hidden; border-radius: 6px; min-height: clamp(420px, 46vw, 620px); display: grid; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,246,240,.82) 0%, rgba(250,246,240,.25) 42%, rgba(250,246,240,0) 70%); }
.banner__content { position: relative; z-index: 1; text-align: center; padding: clamp(32px, 5vw, 60px) 20px; max-width: 640px; margin: 0 auto; align-self: start; }
.banner h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 48px); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.banner p { margin: 0 auto 22px; font-size: 14px; color: #4e443b; max-width: 440px; }

/* ---------- Instagram ---------- */
.ig { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 4vw, 64px); align-items: center; border-top: 1px solid var(--line); padding-top: 40px; }
.ig__profile { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center; }
.ig__profile .btn { grid-column: 1 / -1; justify-self: start; }
.ig__avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--cream); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--brown); }
.ig__avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); }
.ig__handle { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.ig__name { display: block; font-size: 13px; color: var(--muted); }
.ig__stats { list-style: none; display: flex; gap: 18px; padding: 0; margin: 8px 0 0; font-size: 14px; }
.ig__stats b { font-weight: 600; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig__grid a { aspect-ratio: 1 / 1.25; overflow: hidden; border-radius: 3px; background: var(--cream); }
.ig__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.ig__grid a:hover img { transform: scale(1.06); opacity: .85; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 40px; }
.footer__intro p { margin: 0 0 22px; max-width: 360px; font-size: 15px; color: rgba(244,236,226,.78); }
.order { display: flex; max-width: 400px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(244,236,226,.04); }
.order input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--cream); padding: 0 14px; font: inherit; font-size: 14px; }
.order input::placeholder { color: rgba(244,236,226,.45); }
.order button { padding: 10px 18px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 500; transition: background .25s; }
.order button:hover { background: #fff; }
.order:focus-within { border-color: rgba(244,236,226,.5); }
.order__hint { display: block; margin-top: 10px; font-size: 12px; color: rgba(244,236,226,.45); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col h4 { margin: 0 0 6px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: rgba(244,236,226,.45); }
.footer__col a, .footer__col span { color: rgba(244,236,226,.85); transition: color .2s; }
.footer__col a:hover { color: #fff; }

.footer__word {
  margin-top: clamp(40px, 6vw, 80px);
  padding: 0 clamp(8px, 1.5vw, 20px);
  font-size: 18vw; line-height: .78; font-weight: 500; letter-spacing: -.065em; white-space: nowrap;
  color: var(--cream);
}
.footer__word span { display: inline-block; background: linear-gradient(180deg, var(--cream) 30%, #b48a62 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 12px; color: rgba(244,236,226,.5); border-top: 1px solid var(--line-dark); }

/* ---------- WhatsApp FAB ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brown); color: var(--cream);
  box-shadow: 0 10px 30px rgba(92,56,21,.35);
  transition: transform .3s var(--ease), background .3s;
}
.fab:hover { transform: translateY(-3px); background: var(--ink); }
.fab svg { width: 24px; height: 24px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .infos { grid-template-columns: repeat(2, 1fr); }
  .tcard { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 90px var(--gutter) 40px;
    background: var(--ink); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__link { font-size: 40px; letter-spacing: -.03em; opacity: .9; padding: 4px 0; }
  .nav.is-open { opacity: 1; visibility: visible; }
  body.menu-open .header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
  body.menu-open { overflow: hidden; }

  .intro, .intro--alt { grid-template-columns: 1fr; }
  .intro__media--stack { max-width: none; }
  .ig { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__intro { grid-column: 1 / -1; }

  .coll__row a { grid-template-columns: 1fr auto; padding: 0 16px; }
  .coll__pic { grid-column: 1 / -1; grid-row: 2; }
  .coll__row.is-active a { min-height: 0; padding-top: 18px; padding-bottom: 18px; row-gap: 14px; }
  .coll__row.is-active .coll__pic { width: 100%; height: 180px; }
}

@media (max-width: 640px) {
  .header .icon-btn[aria-label^="Commander"] { display: none; }
  .brand__name { display: none; }
  .hero__frame { min-height: 600px; height: calc(100svh - 2 * var(--gutter)); }
  .hero__word { top: 84px; }
  .sec-head { flex-direction: column; gap: 10px; }
  .filters { margin-top: -20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .rail { cursor: auto; }
  .card { flex-basis: 74vw; }
  .card__order { opacity: 1; transform: none; }
  .rail-foot { flex-direction: column; align-items: flex-start; }
  .infos { grid-template-columns: 1fr; }
  .tcard { flex-basis: 100%; }
  .stats dt { font-size: 26px; }
  .ig__grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .coll__desc { display: none; }
  .coll__row a { grid-template-columns: 1fr; }
}

@media (hover: none) { .drag-cursor { display: none; } .rail { cursor: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
