/* ==========================================================================
   FutureIL Cars
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-raised: #0b0b0b;
  --text: #f7f5f2;
  --mute: #8b877f;
  --faint: #55524c;
  --line: rgba(236, 232, 224, 0.12);
  --line-strong: rgba(236, 232, 224, 0.28);
  --accent: #ff6b1a;

  --font-display: 'Secular One', 'Heebo', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Heebo', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --font-name: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;

  --header-h: 76px;
  --gutter: clamp(20px, 3.4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.8, 0.2);
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  background: var(--bg);
  color-scheme: dark;
  scrollbar-color: #2b2a27 var(--bg);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

/* subtle film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

::selection { background: var(--accent); color: #000; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  gap: 28px;
  background: var(--bg);
  transition: transform 1s var(--ease), visibility 0s linear 1s;
  animation: preloader-failsafe 0.01s linear 8s forwards;
}

.preloader.is-done { transform: translateY(-100%); visibility: hidden; }

.preloader__logo {
  justify-self: center;
  width: clamp(88px, 12vw, 120px);
  height: auto;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.9);
  animation: logo-in 1s var(--ease) 0.05s forwards;
}
@keyframes logo-in { to { opacity: 1; transform: none; } }

.preloader__word {
  display: flex;
  gap: 0.06em;
  font-family: var(--font-name);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 600;
  letter-spacing: 0.14em;
  overflow: hidden;
  padding-block: 0.1em;
}

.preloader__word span {
  display: block;
  transform: translateY(110%);
  animation: rise 0.9s var(--ease) forwards;
}
.preloader__word span:nth-child(1) { animation-delay: 0.05s; }
.preloader__word span:nth-child(2) { animation-delay: 0.10s; }
.preloader__word span:nth-child(3) { animation-delay: 0.15s; }
.preloader__word span:nth-child(4) { animation-delay: 0.20s; }
.preloader__word span:nth-child(5) { animation-delay: 0.25s; }
.preloader__word span:nth-child(6) { animation-delay: 0.30s; }
.preloader__word span:nth-child(7) { animation-delay: 0.35s; }
.preloader__word span:nth-child(8) { animation-delay: 0.40s; }
.preloader__word .is-accent { color: var(--accent); }

.preloader__bar { height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: right center;
  transform: scaleX(0);
  animation: fill 1.2s var(--ease) 0.2s forwards;
}

@keyframes rise { to { transform: none; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; } }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s, border-color 0.5s, transform 0.7s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-strong); }
.brand__mark {
  font-family: var(--font-name);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand__mark b { font-weight: 500; color: var(--accent); }
.brand__sub {
  font-family: var(--font-name);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.3em;
  color: #b9b5ae;
}

.rail {
  position: relative;
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  padding-block: 8px 14px;
}

.rail__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--mute);
  transition: color 0.4s;
}
.rail__item:hover,
.rail__item.is-active { color: var(--text); }

.rail__num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--faint); transition: color 0.4s; }
.rail__item.is-active .rail__num { color: var(--accent); }
.rail__label { font-size: 15px; font-weight: 400; white-space: nowrap; }

.rail__ink {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: transform 0.7s var(--ease), width 0.7s var(--ease);
}

.header-meta { justify-self: end; display: flex; align-items: baseline; gap: 10px; }
.header-meta__num { font-family: var(--font-mono); font-size: 14px; color: var(--text); }
.header-meta__label { font-size: 12px; color: var(--mute); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 28px) var(--gutter) clamp(28px, 5vh, 56px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90% 70% at 50% 108%, rgba(255, 107, 26, 0.16), transparent 62%),
    radial-gradient(60% 50% at 0% 0%, rgba(255, 255, 255, 0.035), transparent 70%);
}

.hero__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__lines i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 30%, var(--line) 70%, transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s var(--ease) 0.3s;
}
.hero__lines i:nth-child(1) { inset-inline-start: 25%; }
.hero__lines i:nth-child(2) { inset-inline-start: 50%; transition-delay: 0.45s; }
.hero__lines i:nth-child(3) { inset-inline-start: 75%; transition-delay: 0.6s; }
body.is-ready .hero__lines i { transform: none; }

.hero__ghost {
  position: absolute;
  inset-inline: 0;
  top: 46%;
  z-index: -1;
  direction: ltr;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  will-change: transform;
}
.hero__ghost span {
  display: inline-block;
  font-family: var(--font-name);
  font-weight: 600;
  font-size: clamp(150px, 34vw, 560px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 107, 26, 0.2);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mute);
}
.hero__index b { font-weight: 500; color: var(--text); font-size: 15px; }

.hero__main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: stretch;
  padding-block: clamp(20px, 4vh, 44px) clamp(24px, 5vh, 56px);
}
.hero__body { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }

/* catalog facts */
.facts { display: none; margin-bottom: auto; max-width: 560px; padding-bottom: 28px; }
.facts__stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 0; margin: 0; }
.facts__stats > div { padding: 14px 32px; border-inline-end: 1px solid var(--line); }
.facts__stats > div:first-child { padding-inline-start: 0; }
.facts__stats > div:last-child { border: 0; padding-inline-end: 0; }
.facts__stats dt { margin: 0 0 6px; font-size: 12px; color: var(--mute); }
.facts__stats dd { margin: 0; font-family: var(--font-mono); font-size: clamp(15px, 1.5vw, 21px); letter-spacing: -0.02em; text-align: right; }
.facts__stats > div:nth-child(2) dd { color: var(--accent); }

.facts__title { margin: 20px 0 4px; font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--mute); }
.facts__list { list-style: none; margin: 0; padding: 0; }
.facts__row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 9px 0;
  direction: ltr;
  text-align: left;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease), color 0.3s;
}
.facts__row:hover { padding-inline-start: 10px; color: var(--accent); }
.facts__num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.facts__name { font-family: var(--font-name); font-weight: 500; font-size: 22px; letter-spacing: 0.07em; line-height: 1.1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts__price { font-family: var(--font-mono); font-size: 14px; color: var(--mute); transition: color 0.3s; }
.facts__row:hover .facts__price { color: var(--accent); }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 clamp(8px, 2vh, 20px);
  font-size: 17px;
  font-weight: 400;
  color: var(--accent);
}
.hero__kicker::before { content: ''; width: 56px; height: 1px; background: var(--accent); }

.hero__title { margin: 0; font-weight: 300; }
.hero__title-clip { display: block; overflow: hidden; padding-block: 0.06em 0.12em; }
.hero__title-clip > span {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 13vw, 210px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero__desc { margin: clamp(14px, 2.4vh, 26px) 0 0; max-width: 34em; font-size: clamp(16px, 1.5vw, 20px); color: var(--mute); }

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero__count { display: flex; align-items: baseline; gap: 14px; justify-self: start; }
.hero__count strong {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__count span { font-size: 13px; color: var(--mute); }

.arrows { display: flex; gap: 10px; }
.arrow {
  display: grid;
  place-items: center;
  width: 92px;
  height: 58px;
  border: 1px solid var(--line-strong);
  transition: background-color 0.45s var(--ease), color 0.45s, border-color 0.45s;
}
.arrow svg { transition: transform 0.5s var(--ease); }
.arrow:hover { background: var(--accent); color: #050505; border-color: var(--accent); }
#prev:hover svg { transform: translateX(5px); }
#next:hover svg { transform: translateX(-5px); }
.arrow:active { transform: scale(0.97); }

.cue { justify-self: end; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--mute); transition: color 0.3s; }
.cue:hover { color: var(--text); }
.cue i { position: relative; width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.cue i::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 40%;
  background: var(--accent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(260%); } }

/* featured showcase */
.feature { display: none; margin: 0; min-height: 0; flex-direction: column; gap: 14px; }

.feature__area {
  flex: 1;
  min-height: 280px;
  contain: size;
  display: grid;
  place-items: end center;
}

.feature__frame {
  position: relative;
  width: var(--fw, 100%);
  height: var(--fh, 100%);
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--line);
  cursor: pointer;
}
.feature.is-fit .feature__frame { transition: width 0.8s var(--ease), height 0.8s var(--ease); }
.feature__frame::after {
  content: ;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.3), transparent 35%);
  pointer-events: none;
}
.feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(1.12) contrast(1.05);
  transition: opacity 1.1s ease;
}
.feature__img.is-on { opacity: 1; }
.feature__frame:hover .feature__img.is-on { filter: none; }

.feature__cap {
  width: var(--fw, 100%);
  align-self: center;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 4px 16px;
}
.feature__idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); }
.feature__name {
  font-family: var(--font-name);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feature__progress { grid-column: 1 / -1; display: block; height: 1px; background: var(--line); margin-top: 8px; }
.feature__progress b { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }

@media (min-width: 1100px) {
  .hero__main { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }
  .feature { display: flex; }
  .hero__title-clip > span { font-size: clamp(64px, 9.6vw, 190px); white-space: nowrap; }
}

@media (min-width: 1100px) and (min-height: 820px) {
  .facts:not([hidden]) { display: block; }
}

/* intro choreography */
.hero__top,
.facts,
.hero__kicker,
.hero__desc,
.hero__bottom {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.hero__title-clip > span { transform: translateY(108%); transition: transform 1.3s var(--ease) 0.15s; }
.hero__ghost { opacity: 0; transition: opacity 2s ease 0.4s; }
.feature { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
body.is-ready .feature { opacity: 1; transform: none; transition-delay: 0.6s; }
.site-header { opacity: 0; }

body.is-ready .hero__top { opacity: 1; transform: none; transition-delay: 0.2s; }
body.is-ready .facts { opacity: 1; transform: none; transition-delay: 0.5s; }
body.is-ready .hero__kicker { opacity: 1; transform: none; transition-delay: 0.35s; }
body.is-ready .hero__title-clip > span { transform: none; }
body.is-ready .hero__desc { opacity: 1; transform: none; transition-delay: 0.7s; }
body.is-ready .hero__bottom { opacity: 1; transform: none; transition-delay: 0.9s; }
body.is-ready .hero__ghost { opacity: 1; }
body.is-ready .site-header { opacity: 1; transition: opacity 1s ease 0.5s, background-color 0.5s, border-color 0.5s; }

/* ==========================================================================
   Catalog
   ========================================================================== */

.catalog { position: relative; background: var(--bg); }

.catalog__bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(5, 5, 5, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}

.catalog__bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  min-height: 72px;
  padding: 12px var(--gutter);
}

.catalog__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  white-space: nowrap;
}
.catalog__name-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }

.filters { display: flex; gap: 8px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  color: var(--mute);
  white-space: nowrap;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.chip small { font-family: var(--font-mono); font-size: 10px; opacity: 0.7; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #050505; }

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
  padding-block: 8px;
  width: min(260px, 40vw);
  color: var(--mute);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.4s, color 0.4s;
}
.search:focus-within { color: var(--accent); border-color: var(--accent); }
.search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  font: 400 15px var(--font-body);
}
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { appearance: none; }

.bar-arrows { display: flex; gap: 6px; }
.bar-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.bar-arrow:hover { background: var(--accent); color: #050505; border-color: var(--accent); }

.catalog__body { padding: 28px var(--gutter) clamp(72px, 10vw, 140px); }

.catalog__status {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mute);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: start;
  background: var(--bg);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease) calc(var(--d, 0) * 1ms), transform 0.9s var(--ease) calc(var(--d, 0) * 1ms), background-color 0.4s;
}
.card.in { opacity: 1; transform: none; }
.card:hover { background: var(--bg-raised); }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
}
.card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(236, 232, 224, 0.05) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: shimmer 1.8s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.card__media.is-loaded::before { animation: none; opacity: 0; }

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(0.4) brightness(0.8) contrast(1.06);
  transform: scale(1.02);
  transition: opacity 0.8s ease, filter 0.7s ease, transform 1.2s var(--ease);
}
.card__media.is-loaded img { opacity: 1; }
.card:hover .card__media img,
.card:focus-visible .card__media img { filter: none; transform: scale(1.06); }

.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.card:hover .card__media::after { opacity: 1; }

.card__meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px 18px;
  direction: ltr;
}
.card__meta::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__meta::after,
.card:focus-visible .card__meta::after { transform: scaleX(1); }

.card__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); transition: color 0.4s; }
.card:hover .card__num { color: var(--accent); }

.card__name {
  flex: 1;
  min-width: 0;
  direction: ltr;
  text-align: left;
  font-family: var(--font-name);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__plus { position: relative; width: 14px; height: 14px; color: var(--mute); transition: transform 0.6s var(--ease), color 0.4s; }
.card__plus::before,
.card__plus::after { content: ''; position: absolute; background: currentColor; }
.card__plus::before { inset: 6.5px 0 auto 0; height: 1px; }
.card__plus::after { inset: 0 auto 0 6.5px; width: 1px; }
.card:hover .card__plus { transform: rotate(90deg); color: var(--accent); }

.footer__brand img { width: 28px; height: 28px; border-radius: 50%; }

.empty { padding: 80px 0; text-align: center; color: var(--mute); font-size: 18px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--mute);
}
.footer__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-name); font-weight: 600; font-size: 17px; letter-spacing: 0.2em; color: var(--text); }

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.975);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox__top {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--gutter);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mute);
}
.lightbox__count b { color: var(--text); font-weight: 500; font-size: 15px; }
.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--accent); color: #050505; border-color: var(--accent); }

.lightbox__nav { position: absolute; top: 50%; margin-top: -27px; z-index: 2; }
.lightbox__nav--prev { inset-inline-start: var(--gutter); }
.lightbox__nav--next { inset-inline-end: var(--gutter); }

.lightbox__stage {
  position: relative;
  margin: 0;
  width: min(1180px, calc(100vw - 2 * var(--gutter) - 150px));
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.lightbox__stage img {
  align-self: center;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 68vh;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  user-select: none;
}
.lightbox__caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 32px; direction: ltr; }
.lightbox__title { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.lightbox__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-inline-start: 28px; border-inline-start: 1px solid var(--line-strong); }
.lightbox__price-label { direction: rtl; font-size: 13px; color: var(--mute); }
.lightbox__price-alt { margin-top: 6px; font-family: var(--font-mono); font-size: 15px; letter-spacing: -0.01em; color: var(--mute); }
.lightbox__note { margin-top: 10px; max-width: 280px; direction: rtl; text-align: right; font-size: 13px; line-height: 1.4; color: var(--text); opacity: 0.85; }
.facts__alt { display: block; margin-top: 2px; font-size: 12px; color: var(--mute); }
.lightbox__price-value {
  font-family: var(--font-name);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 54px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--accent);
}
.lightbox__cat { font-family: var(--font-body); direction: rtl; font-size: 13px; color: var(--accent); }
.lightbox__name {
  font-family: var(--font-name);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .catalog__bar { position: static; }
  .catalog__bar-inner { flex-wrap: wrap; row-gap: 14px; }
  .catalog__name { order: 1; flex: 1; }
  .bar-arrows { order: 2; }
  .filters { order: 3; flex: 1 0 100%; }
  .search { order: 4; width: 100%; margin: 0; }

  .hero__bottom { grid-template-columns: 1fr auto; }
  .cue { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-meta { display: none; }
  .brand__sub { display: none; }
  .brand__mark { font-size: 18px; }
  .rail { gap: 16px; }
  .rail__item:not(.is-active) .rail__label { display: none; }
  .rail__label { font-size: 14px; }

  .hero__bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero__count { justify-self: stretch; }
  .arrows { width: 100%; }
  .arrow { flex: 1; }


  .lightbox__nav { top: auto; bottom: 22px; margin-top: 0; width: 48px; height: 48px; }
  .lightbox__stage { width: calc(100vw - 2 * var(--gutter)); }
  .lightbox__stage img { max-height: 52vh; }
}

@media (hover: none) {
  .card__media img { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
