/* Fashion CMS — сайт. Шрифты подключены в /engine/stage.css */
:root {
  --bg: #F3EFE9; --bg2: #ECE6DD; --ink: #111; --ink2: #3A3733; --mute: #8C867E; --line: rgba(17,17,17,.14);
  --accent: #FF6B4A; --dark: #141414; --card: #FBF9F6;
  --gut: clamp(16px, 4vw, 56px); --maxw: 1440px;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif; --serif: 'Playfair', Georgia, serif; --mono: 'Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.display { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; line-height: 1.02; margin: 0; font-size: clamp(41px, 7.14vw, 112px); }
.display em { font-style: normal; font-family: var(--sans); font-weight: 800; letter-spacing: -.045em; }
.display.md { font-size: clamp(32px, 4.6vw, 71px); }
.display.sm { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); margin-bottom: 22px; }
.kicker i, .art-num i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; flex: 0 0 auto; }

/* buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.light { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.accent { background: var(--accent); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 40px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.chip sup { font-family: var(--mono); font-size: 10px; opacity: .6; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.chip.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--ink2); }
a.tag:hover { color: var(--accent); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243,239,233,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; font-size: 22px; line-height: 1; }
.brand .w1 { font-family: var(--serif); font-style: italic; font-size: 1.2em; }
.brand .w2 { font-weight: 800; letter-spacing: .14em; font-size: .8em; }
.brand.lg { font-size: 34px; }
.nav { display: flex; gap: 30px; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--accent); }
.top-r { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 10px; font-family: var(--mono); font-size: 12px; }
.langs span { opacity: .35; cursor: default; }
.langs a.on { text-decoration: underline; text-underline-offset: 4px; }

/* общая шапка студии (все страницы): бренд · вкладки Брендам / Селлерам / Платформа · Telegram */
.st-top .top-in { display: grid; grid-template-columns: 1fr auto 1fr; }
.st-top .top-r { justify-self: end; }
.brand .w2 { text-transform: uppercase; }
.st-top .btn .ico { width: 15px; height: 15px; }
.seg { display: flex; padding: 4px; border-radius: 40px; box-shadow: inset 0 0 0 1.5px var(--line); background: rgba(255,255,255,.35); }
.seg a { display: flex; align-items: center; height: 36px; padding: 0 22px; border-radius: 40px; font-size: 14px; font-weight: 700; color: var(--ink2); transition: background .25s, color .25s; }
.seg a:hover { color: var(--ink); }
.seg a.on { background: var(--ink); color: #fff; }
.subnav { border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 56px; }
.subnav .brand { font-size: 19px; }

/* hero */
.hero { padding: clamp(40px, 7vw, 100px) 0 0; }
.hero .display { max-width: 16ch; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin: 36px 0 48px; flex-wrap: wrap; }
.hero-text { max-width: 560px; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink2); margin: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stage { position: relative; }
.hero-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 48px; }
.stat { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.stat span { font-size: 14px; color: var(--ink2); }

/* stage boxes */
.stage-box { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #F3EFE9; }
.stage-box.wide { aspect-ratio: 16 / 9; }
.stage-box.tall { aspect-ratio: 9 / 16; }
.stage-box .fc-holder { will-change: transform; }
.stage-ph { position: relative; width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--bg) 0 14px, var(--bg2) 14px 15px); }
.stage-ph .num { font-family: var(--serif); font-style: italic; font-size: 96px; opacity: .25; }
.hero-stage .stage-box { box-shadow: 0 50px 100px -60px rgba(40,30,20,.5); }

/* ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-top: clamp(48px, 7vw, 96px); background: var(--ink); color: var(--bg); }
.ticker-in { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: tick 120s linear infinite; font-family: var(--serif); font-style: italic; font-size: 28px; white-space: nowrap; }
.ticker-in i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: clamp(64px, 9vw, 140px) 0; }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 980px; }
.sec-text { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink2); max-width: 640px; margin: 22px 0 28px; }
.sec.dark { background: var(--dark); color: #F3EFE9; }
.sec.dark .kicker, .sec.dark .sec-text { color: rgba(243,239,233,.7); }

.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: start; margin-bottom: 48px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.tags-filter { grid-column: 1 / -1; }
.search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 40px; box-shadow: inset 0 0 0 1.5px var(--line); min-width: 240px; }
.search .ico { width: 18px; height: 18px; color: var(--mute); }
.search input { border: 0; outline: 0; background: none; font: inherit; font-size: 14px; width: 100%; color: var(--ink); }
.ico { width: 1em; height: 1em; }

.cat { margin-bottom: clamp(48px, 6vw, 88px); scroll-margin-top: 200px; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 28px; gap: 16px; }
.cat-head .mono { color: var(--mute); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.card { display: flex; flex-direction: column; gap: 12px; }
.card[hidden], .cat[hidden] { display: none; }
.card-stage { position: relative; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.card-stage .stage-box { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-stage .stage-box { transform: scale(1.025); }
.card-meta { display: flex; justify-content: space-between; color: var(--mute); margin-top: 4px; }
.card-meta .mono { font-size: 11px; }
.card h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.card p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.nothing { font-size: 18px; color: var(--mute); }

/* cms highlight */
.cms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cms-item { display: flex; flex-direction: column; background: #1D1D1D; transition: background .3s; }
.cms-item:hover { background: #262626; }
.cms-item .card-stage { box-shadow: none; }
.cms-meta { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cms-meta .mono { color: var(--accent); }
.cms-meta h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.cms-meta p { margin: 0; font-size: 15px; color: rgba(243,239,233,.66); flex: 1; }
.cms-meta .more { font-size: 26px; }

/* integrations */
.int { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.int-item { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 10px 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: center; font-size: 14px; font-weight: 700; transition: transform .3s; }
.int-item:hover { transform: translateY(-4px); }
.int-ico { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px var(--line); }
.int-ico .ico { width: 28px; height: 28px; }
.int-item.dark .int-ico { background: var(--dark); color: #fff; box-shadow: none; }
.int-item.accent .int-ico { background: var(--accent); color: #fff; box-shadow: none; }

/* promo */
.promo-grid { display: grid; grid-template-columns: 1.7778fr 1fr 0.5625fr; gap: 20px; align-items: start; }
.promo-grid figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.promo-grid figcaption { color: var(--mute); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.video.square { aspect-ratio: 1/1; }
.video { background: var(--dark); overflow: hidden; }
.video.wide { aspect-ratio: 16/9; } .video.tall { aspect-ratio: 9/16; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video .stage-ph { aspect-ratio: auto; height: 100%; }

/* cta */
.cta { background: var(--accent); color: #fff; padding: clamp(60px, 8vw, 120px) 0; }
.cta-in { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta p { font-size: 20px; max-width: 560px; margin: 0; }
.cta .btn.accent { background: var(--ink); }

/* footer */
.foot { background: var(--dark); color: rgba(243,239,233,.8); padding: 64px 0; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; }
.foot .brand { color: #fff; }
.foot p { max-width: 340px; margin: 16px 0 0; }
.foot-cats, .foot-tags { display: flex; flex-direction: column; gap: 8px; }
.foot-tags { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 12px; align-content: flex-start; }
.foot a:hover { color: var(--accent); }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(243,239,233,.12); font-size: 11px; letter-spacing: .04em; color: rgba(243,239,233,.5); }
.foot-legal span { margin-right: auto; }
.foot-legal button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot-legal a:hover, .foot-legal button:hover { color: var(--accent); }
/* правовые страницы */
.legal .art-head .display { font-size: clamp(29px, 4.25vw, 54px); }
.legal .lead { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.legal .prose { max-width: 860px; }
.legal .prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 44px; scroll-margin-top: 90px; }
.legal .prose td { font-size: 15px; }
/* уведомление о cookie */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 1000; max-width: 520px; padding: 20px 22px; background: var(--dark); color: rgba(243,239,233,.85); font-size: 14px; line-height: 1.5; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); }
.cookie p { margin: 0 0 14px; }
.cookie a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn.light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(243,239,233,.5); }
@media (max-width: 560px) { .cookie { right: 16px; max-width: none; } .cookie-btns .btn { flex: 1; } }

/* article */
.art { padding: 40px 0 100px; }
.crumbs { display: flex; gap: 10px; color: var(--mute); margin-bottom: 40px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.art-head { max-width: 1100px; margin-bottom: 48px; }
.art-num { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.art-head .display { font-size: clamp(37px, 5.95vw, 94px); }
.lead { font-size: clamp(19px, 1.8vw, 25px); line-height: 1.45; color: var(--ink2); max-width: 820px; margin: 26px 0 22px; }
.art-player { max-width: 860px; margin: 0 0 72px; }
.player { box-shadow: 0 60px 120px -70px rgba(40,30,20,.55), 0 0 0 1px var(--line); }
.player-bar { display: flex; align-items: center; gap: 18px; height: 56px; border-bottom: 1px solid var(--ink); }
.player-bar button { width: 36px; height: 36px; font-size: 14px; }
.player-bar .i-play { display: none; } .player-bar.is-paused .i-play { display: inline; } .player-bar.is-paused .i-pause { display: none; }
.prog { flex: 1; height: 20px; position: relative; cursor: pointer; }
.prog::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line); }
.prog i { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.dl { white-space: nowrap; } .dl:hover { color: var(--accent); }
.art-grid { display: grid; grid-template-columns: minmax(0, 760px) 320px; gap: clamp(40px, 6vw, 100px); justify-content: space-between; }
.prose { font-size: 18px; line-height: 1.7; }
.prose h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin: 56px 0 18px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 22px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--accent); }
.prose ol li::marker { font-family: var(--mono); font-size: .8em; }
.prose strong { font-weight: 800; }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.prose a:hover { color: var(--accent); }
.prose blockquote { margin: 28px 0; padding: 0 0 0 24px; border-left: 3px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; }
.table { overflow-x: auto; margin: 0 0 26px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.prose th, .prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.art-side { display: flex; flex-direction: column; gap: 30px; position: sticky; top: 100px; align-self: start; }
.side-k { color: var(--mute); margin-bottom: 12px; }
.metrics { list-style: none; margin: 0; padding: 0; }
.metrics li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.metrics li::before { content: '↗'; color: var(--accent); }
.side-link { font-weight: 700; } .side-link:hover { color: var(--accent); }
.side-cta { background: var(--dark); color: #F3EFE9; padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.side-cta p { margin: 0; font-size: 15px; color: rgba(243,239,233,.7); }
.related { margin-top: 110px; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; margin-top: 90px; border-top: 1px solid var(--ink); }
.prevnext a { padding: 26px 0; display: flex; flex-direction: column; gap: 8px; }
.prevnext a:last-child { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); }
.prevnext b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.15; }
.prevnext a:hover b { color: var(--accent); }
.tagpage .chips { margin-bottom: 44px; }

.only-mob { display: none; }
@media (max-width: 1100px) {
  .nav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cms-grid { grid-template-columns: repeat(2, 1fr); }
  .int { grid-template-columns: 1fr; gap: 20px; }
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; }
}
@media (max-width: 700px) {
  .st-top .top-in { grid-template-columns: 1fr auto; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .st-top .brand { font-size: 18px; }
  .st-top .top-r .btn { display: inline-flex; width: 38px; padding: 0; }
  .st-top .top-r .btn span { display: none; }
  .seg { grid-column: 1 / -1; grid-row: 2; }
  .seg a { flex: 1 1 auto; justify-content: center; padding: 0 6px; font-size: 12.5px; }
  .only-desk { display: none; } .only-mob { display: block; }
  body { font-size: 16px; }
  .top-r .btn { display: none; }
  .grid, .cms-grid { grid-template-columns: 1fr; }
  .hero-collage { grid-template-columns: 1fr; }
  .hero-collage .stage-box:nth-child(n+2) { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .toolbar { grid-template-columns: 1fr; position: static; }
  .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .search { min-width: 0; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr 0.5625fr; }
  .promo-grid figure:first-child { grid-column: 1 / -1; }
  .foot-in { grid-template-columns: 1fr; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext a:last-child { border-left: 0; border-top: 1px solid var(--line); }
  .ticker-in { font-size: 22px; }
  .prose { font-size: 17px; }
  /* блоки ближе друг к другу на телефоне */
  .sec { padding: 48px 0; }
  .sec-head { margin-bottom: 26px; }
  .cta { padding: 48px 0; }
  .hero { padding-top: 32px; }
  .ticker { margin-top: 36px; }
  .cat { margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) { .ticker-in { animation: none; } }
