/* MUS perfume — tokens */
:root {
  --night: #120E0B;
  --umber: #23190F;
  --umber-2: #2E2117;
  --amber: #C9813A;
  --gold: #B9975B;
  --champagne: #E6D0A5;
  --ivory: #F2EDE5;
  --smoke: #B8A997; /* вторичный текст, контраст выше */
  --line: rgba(230, 208, 165, .16);

  /* стекло */
  --glass-fill: linear-gradient(160deg, rgba(255, 236, 210, .085), rgba(255, 236, 210, .025) 55%, rgba(255, 236, 210, .05));
  --glass-edge: linear-gradient(140deg, rgba(255, 226, 180, .55), rgba(255, 226, 180, .06) 38%, rgba(255, 226, 180, .04) 62%, rgba(255, 226, 180, .32));
  --glass-blur: blur(18px) saturate(150%);

  --display: "Forum", "Times New Roman", serif;
  --ui: "Onest", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --radius-s: 12px;
  --radius-m: 22px;
  --ribbon-h: 32px;
  --head-h: 105px; /* лента + шапка + линия */
}
html.is-scrolled { --sticky-top: 73px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 180px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font: 400 16px/1.55 var(--ui);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--smoke); }
main, .footer { position: relative; z-index: 1; }

.h2 {
  font: 400 clamp(40px, 7vw, 88px)/1 var(--display);
  letter-spacing: .06em;
  margin: 0;
  background: linear-gradient(100deg, var(--champagne) 20%, #fff3dc 40%, var(--gold) 60%, var(--champagne) 80%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- живой фон ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; border-radius: 50%;
  width: 70vmax; height: 70vmax;
  background: radial-gradient(closest-side, rgba(201,129,58,.26), rgba(201,129,58,0));
  will-change: transform;
}
.aurora span:nth-child(1) { top: -30vmax; right: -20vmax; animation: drift1 26s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { bottom: -35vmax; left: -25vmax; background: radial-gradient(closest-side, rgba(160,70,60,.16), transparent); animation: drift2 32s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { top: 30%; left: 30%; width: 50vmax; height: 50vmax; background: radial-gradient(closest-side, rgba(230,208,165,.07), transparent); animation: drift1 40s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-14vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(16vmax, -10vmax) scale(.9); } }
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- стекло ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass-fill), rgba(35, 25, 15, .55);
  border-radius: var(--radius-m);
  box-shadow: 0 1px 0 rgba(255, 240, 215, .08) inset, 0 24px 60px -30px rgba(0, 0, 0, .7);
}
@supports (backdrop-filter: blur(1px)) {
  .glass { background: var(--glass-fill), rgba(35, 25, 15, .28); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
}
.glass::before { /* градиентная кромка стекла */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: var(--glass-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass::after { /* блик, следует за курсором */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, -10%), rgba(255, 222, 170, .16), transparent 45%);
  opacity: .55; transition: opacity .4s var(--ease);
}
.glass:hover::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: 500 15px/1 var(--ui);
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(180deg, #F1DDB3, var(--champagne) 45%, #CDAE73); color: var(--night); box-shadow: 0 10px 30px -12px rgba(201,129,58,.6), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold::after { /* пробегающий блик */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
}
.btn-gold:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-glass {
  color: var(--champagne);
  background: rgba(255, 236, 210, .06);
  border-color: rgba(230, 208, 165, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { border-color: var(--champagne); background: rgba(255, 236, 210, .1); }

/* ---------- masthead: лента + шапка + горизонт ---------- */
.masthead { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: translate .45s var(--ease); }
html.is-scrolled .masthead { translate: 0 calc(-1 * var(--ribbon-h)); }
.ribbon {
  height: 32px; overflow: hidden; display: flex; align-items: center;
  background: linear-gradient(90deg, #6d4a22, #B9975B 30%, #E6D0A5 50%, #B9975B 70%, #6d4a22);
  color: #1d140c; font-size: 13px; font-weight: 500;
}
.ribbon-track { display: flex; align-items: center; gap: 22px; white-space: nowrap; animation: ribbon 38s linear infinite; padding-left: 22px; }
.ribbon-track i { width: 6px; height: 6px; transform: rotate(45deg); background: #1d140c; opacity: .55; flex: none; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.topbar {
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(18,14,11,.82), rgba(18,14,11,.6));
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.horizon { /* золотая линия горизонта с бегущим отблеском */
  height: 1px; position: relative; overflow: visible;
  background: linear-gradient(90deg, transparent, rgba(230,208,165,.55) 20%, rgba(230,208,165,.55) 80%, transparent);
}
.horizon::after {
  content: ""; position: absolute; top: -1px; height: 3px; width: 22vw; left: -22vw; border-radius: 3px;
  background: radial-gradient(closest-side, #fff2d6, rgba(230,208,165,0));
  filter: blur(.5px);
  animation: glint 6s var(--ease) infinite;
}
@keyframes glint { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(125vw); } }
.logo {
  font: 400 26px/1 var(--display); letter-spacing: .32em; text-decoration: none; color: var(--champagne);
  display: inline-flex; align-items: baseline; gap: 10px;
}
.logo span { font: 400 12px/1 var(--ui); letter-spacing: .08em; color: var(--smoke); }
.topnav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,236,210,.04); border: 1px solid var(--line); }
.topnav a { text-decoration: none; color: var(--smoke); font-size: 14px; padding: 7px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.topnav a:hover { color: var(--ivory); background: rgba(255,236,210,.07); }
.topbar-wa {
  font-size: 14px; text-decoration: none; color: var(--night); font-weight: 500;
  background: var(--champagne); border-radius: 999px; padding: 10px 18px;
}
@media (max-width: 900px) { .topnav { display: none; } }
@media (max-width: 640px) {
  :root { --ribbon-h: 28px; --head-h: 85px; }
  html.is-scrolled { --sticky-top: 57px; }
  .ribbon { height: 28px; font-size: 12px; }
  .topbar { height: 56px; }
  .logo { font-size: 22px; }
  .topbar-wa { padding: 0 16px; min-height: 40px; display: inline-flex; align-items: center; }
}

/* ---------- arch frame ---------- */
.arch {
  position: relative; margin: 0;
  border-radius: 999px 999px var(--radius-m) var(--radius-m);
  overflow: hidden;
  background: var(--umber);
  isolation: isolate;
  box-shadow: 0 40px 90px -40px rgba(201,129,58,.55);
}
.arch::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
  background: var(--glass-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.arch-img {
  position: absolute; inset: -6% 0;
  background: var(--img) var(--pos, 50% 42%) / var(--zoom, 160%) no-repeat;
  will-change: transform;
}
.arch figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 40px 20px 18px; text-align: center;
  font-size: 13px; color: var(--champagne);
  background: linear-gradient(transparent, rgba(18,14,11,.85));
}
.sweep {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,214,150,.38) 50%, transparent 65%);
  transform: translateX(-120%); mix-blend-mode: screen;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: var(--gutter);
  padding: calc(var(--head-h) + 40px) var(--gutter) 60px;
  max-width: var(--maxw); margin: 0 auto;
}
.hero-mark {
  margin: 0;
  font: 400 clamp(110px, 20vw, 260px)/.82 var(--display);
  letter-spacing: .14em;
  display: flex;
}
.hero-mark .ch {
  background: linear-gradient(100deg, #CDAE73 10%, #fff1d4 30%, var(--champagne) 45%, #9c7a45 70%, var(--champagne) 90%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldflow 9s linear infinite;
}
@keyframes goldflow { to { background-position: -300% 0; } }
.mask { display: inline-block; overflow: hidden; padding-bottom: .04em; }
.ch { display: inline-block; }
.hero-sub {
  margin: 8px 0 0 .3em;
  font: 400 clamp(18px, 2vw, 24px)/1 var(--display);
  letter-spacing: .5em; color: var(--gold);
}
.hero-lead { max-width: 32ch; font-size: clamp(17px, 1.6vw, 20px); margin: 36px 0 32px; color: var(--ivory); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stage { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero-arch { aspect-ratio: 3 / 4.2; width: 100%; }

/* стеклянные линзы поверх арки — «преломляют» постер */
.lens {
  position: absolute; z-index: 4; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(201,129,58,.25), transparent 50%),
    rgba(255,236,210,.04);
  backdrop-filter: blur(6px) brightness(1.15) saturate(160%);
  -webkit-backdrop-filter: blur(6px) brightness(1.15) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,236,210,.35), inset 0 -10px 30px rgba(201,129,58,.25), 0 20px 50px -20px rgba(0,0,0,.7);
  will-change: transform;
}
.lens-a { width: 34%; aspect-ratio: 1; left: -16%; top: 52%; }
.lens-b { width: 18%; aspect-ratio: 1; right: -6%; top: 14%; }
.lens-c { width: 10%; aspect-ratio: 1; left: 8%; top: 18%; backdrop-filter: blur(2px) brightness(1.3); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: calc(var(--head-h) + 14px) var(--gutter) 36px; gap: 16px; }
  .hero-stage { order: -1; justify-self: center; max-width: min(220px, 56vw); }
  .hero-text { text-align: center; }
  .hero-mark { justify-content: center; font-size: clamp(72px, 23vw, 120px); }
  .hero-sub { margin-top: 4px; font-size: 16px; }
  .hero-lead { margin: 12px auto 16px; font-size: 16px; }
  .hero-cta { justify-content: center; }
  .lens-b, .lens-c { display: none; }
}
@media (max-width: 820px) and (max-height: 720px) {
  .hero-stage { max-width: min(170px, 46vw); }
  .hero-mark { font-size: clamp(64px, 20vw, 100px); }
}

/* ---------- hits showcase ---------- */
.hits { position: relative; }
.hits-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--head-h) + 20px) 0 40px; overflow: hidden; }
.hits-head { max-width: var(--maxw); width: 100%; margin: 0 auto 28px; padding: 0 var(--gutter); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hits-head p { margin: 0; }
.hits-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hits-controls { display: flex; align-items: center; gap: 12px; }
.hits-count { font: 400 22px/1 var(--display); color: var(--champagne); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hits-count span { color: var(--smoke); font-size: 16px; }
.hits-bar { width: 120px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.hits-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--champagne), var(--amber)); transform-origin: left; transform: scaleX(.04); transition: transform .3s var(--ease); }
.hits-arrow {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1px solid rgba(230,208,165,.3); background: rgba(255,236,210,.05); color: var(--champagne);
  transition: background-color .2s, border-color .2s;
}
.hits-arrow:hover { border-color: var(--champagne); background: rgba(255,236,210,.1); }
.hits-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 820px) {
  .hits-nav { align-items: stretch; width: 100%; }
  .hits-controls { justify-content: space-between; }
  .hits-bar { flex: 1; }
}
.hits-track { display: flex; gap: 22px; padding: 0 var(--gutter) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.hits-track::-webkit-scrollbar { display: none; }
.hits-track > .hit { scroll-snap-align: start; }
.hits.is-pinned .hits-track { width: max-content; overflow: visible; scroll-snap-type: none; padding-bottom: 0; will-change: transform; }
.hits-arrow:disabled { opacity: .35; cursor: default; }
.hit {
  width: clamp(260px, 26vw, 340px); flex: none;
  padding: 22px 22px 24px; display: flex; flex-direction: column;
  transform-style: preserve-3d;
}
.hit-stage { --h: clamp(230px, 30vh, 300px); position: relative; height: var(--h); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; margin-bottom: 16px; }
.hit-stage::before { /* пьедестал */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 4px; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,214,150,.4), transparent);
}
.hit-stage img { position: relative; height: calc(var(--h) + 6px); max-width: 100%; width: auto; margin-bottom: -10px; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0,0,0,.55)); transition: transform .6s var(--ease); }
.hit:hover .hit-stage img { transform: translateY(-8px) scale(1.03); }
.hit-stage img.photo { border-radius: 120px 120px 14px 14px; height: calc(var(--h) - 24px); max-width: none; aspect-ratio: 3 / 4.6; object-fit: cover; }
.hit h3 { margin: 0; font: 400 30px/1.05 var(--display); color: var(--ivory); letter-spacing: .02em; }
.hit .card-brand { margin-top: 4px; }
.hit-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.hit-foot b { color: var(--champagne); font-size: 17px; }
.hit-foot small { display: block; color: var(--smoke); font-size: 12px; font-weight: 400; }
.hit-foot .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
@media (max-width: 820px) {
  .hits-pin { min-height: 0; padding: 70px 0 20px; }
  .hits-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 20px; }
  .hits-track::-webkit-scrollbar { display: none; }
  .hit { scroll-snap-align: start; width: 78vw; }
}

/* ---------- catalog ---------- */
.catalog { max-width: var(--maxw); margin: 0 auto; padding: 60px var(--gutter) 40px; }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.catalog-head p { margin: 0; }
.catalog-note { flex-basis: 100%; max-width: 70ch; font-size: 14px; color: var(--smoke); }
.catalog-note::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; transform: rotate(45deg); background: var(--gold); }

.controls {
  position: sticky; top: var(--sticky-top, var(--head-h)); z-index: 20;
  display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center;
  padding: 14px 16px; margin: 0 -16px;
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  background: linear-gradient(180deg, rgba(18,14,11,.97), rgba(18,14,11,.93));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230,208,165,.22);
  box-shadow: 0 1px 0 var(--line);
}
.tabs {
  position: relative; display: inline-flex;
  padding: 4px; border-radius: 999px;
  background: rgba(255,236,210,.05); box-shadow: inset 0 0 0 1px var(--line);
}
.tab {
  position: relative; z-index: 1;
  border: 0; background: none; cursor: pointer;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 500; font-size: 15px; color: var(--smoke);
  transition: color .25s var(--ease);
}
.tab[aria-pressed="true"] { color: var(--night); }
.tab-ink {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: linear-gradient(180deg, #F1DDB3, var(--champagne) 50%, #CDAE73);
  box-shadow: 0 6px 20px -8px rgba(201,129,58,.7);
  transition: transform .35s var(--ease), width .35s var(--ease);
}
.search {
  display: flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 16px;
  border-radius: 999px; background: rgba(255,236,210,.04); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .25s;
}
.search:focus-within { box-shadow: inset 0 0 0 1px var(--champagne), 0 0 0 4px rgba(230,208,165,.08); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--smoke); stroke-width: 1.6; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--ivory); font: 400 16px var(--ui); }
.search input::placeholder { color: var(--smoke); }
.chips { grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,236,210,.03); color: var(--ivory); font-size: 14px;
  transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: rgba(230,208,165,.4); }
.chip[aria-pressed="true"] { border-color: var(--gold); background: rgba(185,151,91,.18); color: var(--champagne); }
.controls { transition: top .45s var(--ease), padding .3s var(--ease), gap .3s var(--ease); }
.search, .chips { max-height: 56px; transition: max-height .3s var(--ease), opacity .2s; }
@media (max-width: 640px) {
  .controls { grid-template-columns: 1fr; gap: 8px; padding-block: 10px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); border-radius: 0; }
  .controls.is-collapsed { gap: 0; padding-block: 8px; }
  .controls.is-collapsed .search, .controls.is-collapsed .chips { max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; }
  .tabs { width: 100%; }
  .tab { flex: 1; min-height: 44px; }
  .search { height: 44px; }
  .chip { min-height: 44px; padding: 0 16px; }
}

/* collections strip */
.collections {
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
  padding: 22px var(--gutter) 8px; margin: 0 calc(var(--gutter) * -1);
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
}
.collections::-webkit-scrollbar { display: none; }
.col-card {
  flex: none; scroll-snap-align: start;
  width: 190px; height: 124px; padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; overflow: hidden;
}
.col-card .glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 70%); }
.col-card b { position: relative; z-index: 3; font: 400 21px/1.05 var(--display); letter-spacing: .02em; color: var(--ivory); max-width: 9ch; }
.col-card span { position: relative; z-index: 3; font-size: 12px; color: var(--smoke); }
.col-card .col-fan { position: absolute; z-index: 2; right: 4px; bottom: -8px; display: flex; align-items: flex-end; }
.col-fan img { height: 80px; width: auto; margin-left: -26px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); transition: transform .5s var(--ease); }
.col-fan img:nth-child(2) { height: 90px; z-index: 1; }
.col-card b, .col-card > span:not(.col-fan):not(.glow) { text-shadow: 0 1px 10px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8); }
.col-fan img.fan-photo { height: 78px; width: 46px; margin: 0 12px 24px 0; object-fit: cover; border-radius: 24px 24px 6px 6px; filter: none; box-shadow: 0 0 0 1px rgba(230,208,165,.3); }
.col-card:hover .col-fan img:nth-child(1) { transform: rotate(-8deg) translateX(-4px); }
.col-card:hover .col-fan img:nth-child(3) { transform: rotate(8deg) translateX(4px); }
.col-card:hover .col-fan img:nth-child(2) { transform: translateY(-6px); }

/* groups */
.group { padding-top: 54px; }
.group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.group-head h3 { margin: 0; font: 400 clamp(30px, 4vw, 44px)/1 var(--display); letter-spacing: .03em; color: var(--champagne); }
.group-head span { color: var(--smoke); font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; perspective: 1200px; }

/* карточка: стеклянная витрина с флаконом */
.card {
  display: flex; flex-direction: column;
  padding: 14px 14px 16px;
  transform-style: preserve-3d;
  transition: box-shadow .5s var(--ease);
}
.card::after { display: none; } /* блик за курсором — только у витрины и крупных блоков */
.card::before { background: linear-gradient(160deg, rgba(255,226,180,.22), rgba(255,226,180,.04) 40%, rgba(255,226,180,.03) 70%, rgba(255,226,180,.12)); }
.card.in-order { box-shadow: 0 0 0 1px rgba(230,208,165,.6) inset, 0 24px 60px -24px rgba(201,129,58,.55); }
.card-stage {
  position: relative; height: 220px; margin-bottom: 14px;
  border-radius: 16px; overflow: hidden;
  display: grid; place-items: end center; padding-bottom: 26px;
  background:
    radial-gradient(70% 55% at 50% 100%, color-mix(in srgb, var(--tone) 50%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255,236,210,.05), rgba(255,236,210,0));
}
.card-stage::before { /* стеклянная полка */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,236,210,.45), transparent);
}
.card-stage .bottle {
  position: relative; z-index: 1;
  height: 200px; max-width: 100%; width: auto; object-fit: contain; margin-bottom: -14px;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.5));
  transform: translateZ(40px);
  transition: transform .6s var(--ease);
}
.card-stage .reflect { /* отражение в стекле полки */
  position: absolute; bottom: -150px; z-index: 0;
  height: 200px; max-width: 100%; width: auto; object-fit: contain;
  transform: scaleY(-1); opacity: .18;
  -webkit-mask: linear-gradient(to top, #000 0%, transparent 28%); mask: linear-gradient(to top, #000 0%, transparent 28%);
}
.card-stage .bottle.photo { height: 182px; max-height: none; max-width: none; border-radius: 80px 80px 10px 10px; object-fit: cover; aspect-ratio: 3/4.6; }
.card-stage svg.bottle { width: 76px; height: auto; }
.card:hover .card-stage .bottle { transform: translateZ(60px) translateY(-8px) scale(1.04); }
.card-info { position: relative; z-index: 3; display: flex; flex-direction: column; flex: 1; }
.card-buy { position: relative; z-index: 3; }
.card-name { margin: 0; font: 500 17px/1.25 var(--ui); color: var(--ivory); }
.card-brand { margin: 2px 0 0; font-size: 13px; color: var(--smoke); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255,236,210,.06); color: var(--champagne); box-shadow: inset 0 0 0 1px rgba(230,208,165,.12); }
.badge.ar { background: rgba(95,143,122,.2); color: #BFD9C9; }
.badge.badge-out { background: rgba(160,70,60,.22); color: #F2B8AE; }
.card.is-out .card-stage .bottle { filter: grayscale(.7) brightness(.7) drop-shadow(0 18px 18px rgba(0,0,0,.5)); }
.card.is-out .card-name { color: var(--smoke); }
.card-stage .fallback, .hit-stage .fallback { display: none; }
.noimg > img { display: none; }
.noimg > .fallback { display: block; width: 76px; height: auto; }
.kind-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.18); box-shadow: inset 0 0 0 1px var(--line); }
.kind-switch button { min-height: 36px; border: 0; border-radius: 999px; background: none; color: var(--smoke); font-size: 13px; cursor: pointer; }
.kind-switch button[aria-pressed="true"] { background: rgba(230,208,165,.16); color: var(--champagne); box-shadow: inset 0 0 0 1px rgba(230,208,165,.4); }
@media (max-width: 560px) { .kind-switch button { min-height: 44px; } }
.orderlist-clear { justify-content: flex-end !important; }
.badge.badge-hit { background: rgba(201,129,58,.2); color: #F0C28F; }
.card-buy { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price b { font: 600 19px/1 var(--ui); color: var(--champagne); font-variant-numeric: tabular-nums; }
.price small { color: var(--smoke); font-size: 13px; }
.vols {
  display: grid; grid-template-columns: auto repeat(6, 1fr); align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(0,0,0,.18); box-shadow: inset 0 0 0 1px var(--line);
}
.vol {
  min-width: 0; height: 32px; padding: 0 2px; cursor: pointer; white-space: nowrap;
  border-radius: 999px; border: 0; background: none; color: var(--smoke); font-size: 12px; font-variant-numeric: tabular-nums;
  transition: background-color .2s, color .2s;
}
.vol:hover { color: var(--ivory); }
.vols-unit { padding: 0 6px 0 8px; font-size: 11px; color: var(--smoke); }
.vol[aria-pressed="true"] { background: var(--ivory); color: var(--night); }
.add {
  min-height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(185,151,91,.7); background: rgba(185,151,91,.08); color: var(--champagne); font-weight: 500; font-size: 14px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.add:hover { background: rgba(185,151,91,.2); }
.card.in-order .add { background: var(--champagne); color: var(--night); border-color: var(--champagne); }
.empty { padding: 40px 0; color: var(--smoke); max-width: 52ch; }

/* мобильный: компактная строка вместо витрины */
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { display: grid; grid-template-columns: 104px 1fr; gap: 0 14px; padding: 12px; }
  .card-buy { grid-column: 1 / -1; }
  .vol { height: 44px; }
  .vols { border-radius: 16px; }
  .card-stage { height: auto; min-height: 160px; margin: 0; padding-bottom: 16px; }
  .card-stage::before { bottom: 12px; }
  .card-stage .bottle { height: 150px; max-width: 100%; margin-bottom: -10px; }
  .card-stage .bottle.photo { height: 140px; }
  .card-stage .reflect { display: none; }
  .card-buy { padding-top: 10px; }
  .vol { font-size: 13px; }
}

/* ---------- MUS 01 ---------- */
.mus01 { position: relative; margin-top: 80px; }
.mus01-pin {
  min-height: 100svh;
  max-width: var(--maxw); margin: 0 auto;
  padding: calc(var(--head-h) + 30px) var(--gutter) 60px;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--gutter); align-items: center;
}
.arch-sm { aspect-ratio: 3 / 4; max-width: 400px; }
.mus01-story { padding: clamp(22px, 3vw, 40px); }
.mus01-story > * { position: relative; z-index: 3; }
.mus01-lead { max-width: 46ch; margin: 18px 0 24px; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tier { padding: 12px 0 12px 22px; border-left: 1px solid var(--line); position: relative; opacity: .45; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tier.is-active { opacity: 1; transform: translateX(6px); }
.tier.is-past { opacity: .28; }
.tier.is-active::before { background: var(--champagne); box-shadow: 0 0 0 4px rgba(230,208,165,.15), 0 0 16px rgba(230,208,165,.9); }
.timebar-fill { transition: transform .3s linear; }
.tier::before {
  content: ""; position: absolute; left: -4px; top: 20px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px rgba(230,208,165,.8);
}
.tier-time { font-size: 13px; color: var(--smoke); }
.tier h3 { margin: 4px 0 2px; font: 400 30px/1.1 var(--display); color: var(--champagne); letter-spacing: .03em; }
.tier p { margin: 0; color: var(--ivory); }
.timebar { height: 2px; background: var(--line); margin: 22px 0 26px; border-radius: 2px; overflow: hidden; }
.timebar-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--champagne), var(--amber)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 820px) {
  .mus01-pin { grid-template-columns: 1fr; padding-top: 70px; }
  .arch-sm { max-width: 230px; justify-self: center; }
  .tier h3 { font-size: 26px; }
}

/* ---------- order steps ---------- */
.order, .shops { max-width: var(--maxw); margin: 0 auto; padding: 90px var(--gutter) 30px; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 26px; }
.steps li > * { position: relative; z-index: 3; }
.step-n { font: 400 48px/1 var(--display); color: var(--gold); }
.steps h3 { margin: 14px 0 6px; font-size: 18px; font-weight: 500; }
.steps p { margin: 0; color: var(--smoke); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.shop-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.shop { padding: 28px; }
.shop > * { position: relative; z-index: 3; }
.shop h3 { margin: 0 0 8px; font: 400 30px/1.1 var(--display); color: var(--champagne); }
.shop p { margin: 0 0 4px; }
.shop-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 640px) { .shop-list { grid-template-columns: 1fr; } }

html.has-order main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
html.has-order { scroll-padding-bottom: 96px; }

/* ---------- footer ---------- */
.footer { max-width: var(--maxw); margin: 80px auto 0; padding: 40px var(--gutter) 140px; border-top: 1px solid var(--line); }
.footer-mark { font: 400 clamp(80px, 18vw, 220px)/.9 var(--display); letter-spacing: .2em; color: transparent; -webkit-text-stroke: 1px rgba(230,208,165,.25); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0; }
.footer-links a { color: var(--champagne); }
.disclaimer { font-size: 13px; color: var(--smoke); max-width: 70ch; margin: 0; }

/* ---------- order bar ---------- */
.orderbar {
  position: fixed; z-index: 50; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 24px));
  translate: -50% 0;
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 8px 8px 8px 20px; border-radius: 999px;
}
.orderbar > * { position: relative; z-index: 3; }
.orderbar[hidden] { display: none; }
.orderbar-sum { border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; padding: 0; text-align: left; }
.orderbar-sum span { font-size: 12px; color: var(--smoke); }
.orderbar-sum strong { font-size: 17px; color: var(--champagne); font-variant-numeric: tabular-nums; }
.orderlist { grid-column: 1 / -1; list-style: none; margin: 0; padding: 6px 10px 10px 0; max-height: 40vh; overflow: auto; font-size: 14px; }
.orderbar:has(.orderlist:not([hidden])) { border-radius: var(--radius-m); }
.orderlist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.orderlist button { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--smoke); cursor: pointer; font-size: 13px; text-decoration: underline; }
@media (max-width: 480px) { .orderbar .btn { padding: 0 14px; font-size: 14px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
