/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ ГЛАВНОЙ (companion-слой #ebMobile).
   Дизайн 1:1 со старым сайтом: те же ассеты (фоны, wordmark,
   фото), те же шрифты (ONDER — заголовки, TexGyreHeros — текст),
   те же плашки/кнопки. Десктоп не затрагивается: слой включается
   только на экранах ≤640px, тильдовские блоки там прячутся.
   Пока в index.html стоит viewport width=1200 (времянка), слой
   неактивен и на телефонах — включение отдельным коммитом.
   ============================================================ */

@font-face{
  font-family:'Onder';
  src:url('../fonts/ONDER-REGULAR.woff') format('woff');
  font-weight:400;font-style:normal;font-display:swap;
}

#ebMobile{display:none}

@media (max-width:640px){
  body.t-body{background:#000 !important}
  #allrecords{display:none !important}
  #ebMobile{display:block;background:#000;color:#fff;
    font-family:'TexGyreHeros',Arial,sans-serif;font-weight:300;font-size:14px;line-height:1.5;
    -webkit-font-smoothing:antialiased;overflow-x:hidden}
}

/* ── общие элементы ── */
#ebMobile *{box-sizing:border-box}
#ebMobile img{max-width:100%;height:auto}
#ebMobile .eb-onder{font-family:'Onder','TexGyreHeros',sans-serif;font-weight:400;text-transform:uppercase;word-spacing:.2em}
#ebMobile .eb-btn{
  display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;
  border-radius:30px;font-family:'TexGyreHeros',Arial,sans-serif;font-size:15px;font-weight:300;
  color:#fff;text-decoration:none;border:1px solid transparent;text-transform:none;word-spacing:normal;
}
#ebMobile .eb-btn-dark{background:#0a0a0c;border-color:rgba(255,255,255,.25)}
#ebMobile .eb-btn-line{background:transparent;border-color:rgba(255,255,255,.55)}
#ebMobile .eb-btn-cta{background:linear-gradient(160deg,#FFB287 0%,#FD9F67 40%,#FD7731 75%,#F0561B 100%);border:0;box-shadow:0 10px 34px rgba(253,119,49,.35)}
#ebMobile .eb-chip{
  display:inline-block;border:1px solid rgba(255,255,255,.45);padding:7px 14px;
  font-size:12.5px;font-weight:300;color:#fff;white-space:nowrap;background:#000;
}
#ebMobile .eb-corners{position:relative}
#ebMobile .eb-corners i{position:absolute;width:18px;height:18px;border:0 solid rgba(255,255,255,.75)}
#ebMobile .eb-corners i:nth-child(1){top:0;left:0;border-top-width:1.5px;border-left-width:1.5px}
#ebMobile .eb-corners i:nth-child(2){top:0;right:0;border-top-width:1.5px;border-right-width:1.5px}
#ebMobile .eb-corners i:nth-child(3){bottom:0;left:0;border-bottom-width:1.5px;border-left-width:1.5px}
#ebMobile .eb-corners i:nth-child(4){bottom:0;right:0;border-bottom-width:1.5px;border-right-width:1.5px}
#ebMobile .eb-hl{ /* синяя плашка, как на сайте */
  display:inline-block;padding:2px 12px 4px;margin-top:6px;line-height:1.4;
  background:linear-gradient(115deg,#A4E0FB 0%,#6FABE9 55%,#3E7DD9 100%);color:#fff;
}

/* ── шапка ── */
#ebMobile .ebm-nav{
  position:absolute !important;top:0;left:0;right:0;z-index:5;
  display:flex;align-items:center;justify-content:space-between;padding:14px 18px;
}
#ebMobile .ebm-nav img{height:30px;width:auto}
#ebMobile .ebm-icons{display:flex;gap:10px}
#ebMobile .ebm-ic{
  width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  border:1px solid #fff;background:transparent;color:#fff;padding:0;cursor:pointer;
}
#ebMobile .ebm-ic.mail{background:#fff}
#ebMobile .ebm-burger span{display:block;width:15px;height:1.2px;background:#fff;margin:2.6px auto}
#ebMobile .ebm-burger span:nth-child(2){display:none}

/* мобильное меню */
#ebMenu{position:fixed;inset:0;z-index:99;background:rgba(0,0,0,.96);display:none;
  flex-direction:column;align-items:center;justify-content:center;gap:6px}
#ebMenu.open{display:flex}
#ebMenu a{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;font-size:22px;
  color:#fff;text-decoration:none;padding:12px;word-spacing:.2em}
#ebMenu .close{position:absolute;top:16px;right:18px;width:44px;height:44px;border-radius:50%;
  border:1.5px solid #fff;background:none;color:#fff;font-size:17px}

/* ── хиро ── */
.ebm-hero{
  position:relative;min-height:100svh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:22px;padding:86px 20px 48px;overflow:hidden;
  background:#000;
}
.ebm-hero-bg{position:absolute;inset:0;background:url('../images/tild3332-3866-4839-b230-343133373137____1.png') center 30%/cover no-repeat}
.ebm-hero-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.05) 35%,rgba(0,0,0,.92) 92%)}
.ebm-hero > *{position:relative;z-index:1}
.ebm-hero .ebm-hero-bg{position:absolute;inset:0;z-index:0}
.ebm-wordmark{width:92vw;max-width:520px;display:block}
.ebm-sub{display:flex;justify-content:space-between;gap:14px;width:92vw;max-width:520px;
  font-size:8.5px;letter-spacing:.18em;color:#fff;white-space:nowrap}
.ebm-lead{padding:18px 22px;max-width:330px;text-align:center}
.ebm-lead p{margin:0;font-size:13.5px;line-height:1.55;color:#fff}
.ebm-hero-btns{display:flex;flex-direction:column;gap:12px;width:100%;max-width:340px}

/* ── манифест ── */
.ebm-manifest{padding:76px 24px;text-align:center}
.ebm-manifest .eb-onder{font-size:14px;line-height:1.8;letter-spacing:0}

/* ── кейсы ── */
.ebm-cases{padding:8px 18px 56px}
.ebm-case{position:relative;border-top:1px solid rgba(255,255,255,.6);padding:20px 0 34px;margin-top:26px}
.ebm-case .eb-chip{position:absolute;top:0;right:0;transform:translateY(-50%)}
.ebm-case-name{font-size:18px;line-height:1.15}
.ebm-case-geo{font-size:12.5px;color:rgba(255,255,255,.45);margin-top:3px}
.ebm-case-photo{position:relative;margin:22px 10px 0}
.ebm-case-photo img{display:block;width:100%;aspect-ratio:5/3;object-fit:cover;border-radius:8px}
.ebm-case-photo .eb-corners{position:absolute;inset:-10px;pointer-events:none}
.ebm-cases .eb-btn-line{max-width:320px;margin:38px auto 0}

/* ── артисты (партия 2) ── */
.ebm-artists{padding:56px 20px 64px;text-align:center}
.ebm-artists-lead{max-width:280px;margin:0 auto 34px;font-size:13px;line-height:1.55;color:#fff}
.ebm-artists-list div{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;
  font-size:15px;line-height:1.9;color:#fff}
.ebm-artists-list sup{font-size:9px;color:rgba(255,255,255,.5);margin-left:4px;font-family:'TexGyreHeros',Arial,sans-serif}

/* ── афиша (партия 2) ── */
.ebm-afisha{position:relative;padding:64px 18px 72px;overflow:hidden;
  background:radial-gradient(150% 110% at 55% 0%,#FF9A5C 0%,#E86A24 30%,#C54116 52%,#4A1206 76%,#0b0302 100%)}
.ebm-afisha-title{font-size:21px;line-height:1.35;margin-bottom:30px}
.ebm-afisha-title .tint{background:linear-gradient(90deg,#FFD9BC 0%,#FD9F67 60%,#E86A24 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.ebm-ev{background:rgba(6,6,7,.62);border-radius:12px;padding:16px 16px 14px;margin-bottom:10px}
.ebm-ev-lbl{font-size:10px;letter-spacing:.06em;color:rgba(255,255,255,.5)}
.ebm-ev-val{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;font-size:15px;line-height:1.25;overflow-wrap:break-word}
.ebm-ev-row{margin-top:10px}
.ebm-ev-row > div{min-width:0;margin-top:8px}
.ebm-ev-btns{display:flex;gap:8px;margin-top:14px}
.ebm-ev-btns .eb-btn{min-height:40px;font-size:13px}

/* ── статы «мы превращаем» (партия 2) ── */
.ebm-turn{padding:64px 20px 56px}
.ebm-turn-title{font-size:16px;line-height:1.7;text-align:left}
.ebm-turn-title .tint{background:linear-gradient(90deg,#fff 0%,#BFE0FF 30%,#7FB6EF 65%,#2E7CF6 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.ebm-turn-title .ind{display:block;text-align:right}
.ebm-turn-sub{margin:22px 0 16px;font-size:13px;line-height:1.55;color:#fff;max-width:240px}
.ebm-turn .eb-btn-line{max-width:220px;margin:0 0 36px}
.ebm-stat{background:#0d0d10;border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:26px 22px;margin-bottom:12px}
.ebm-stat-row{display:flex;align-items:baseline;flex-wrap:wrap;row-gap:6px}
.ebm-stat-num{font-family:'Onder','TexGyreHeros',sans-serif;font-size:44px;line-height:.95;
  background:linear-gradient(rgba(240,248,255,.55) 0%,rgba(168,208,255,.22) 55%,rgba(120,170,240,.12) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 18px rgba(110,170,255,.3))}
.ebm-stat-word{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;font-size:11px;margin-left:6px;word-spacing:.2em}
.ebm-stat p{margin:12px 0 0;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.65)}

/* ── надёжный партнёр (партия 2) ── */
.ebm-why{padding:56px 20px 64px}
.ebm-why-title{font-size:16px;line-height:1.7;margin-bottom:34px}
.ebm-why-title .tint{background:linear-gradient(90deg,#fff 0%,#BFE0FF 25%,#7FB6EF 60%,#2E7CF6 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.ebm-why-title .ind{display:block;text-align:right}
.ebm-feat{border-top:1px solid rgba(255,255,255,.18);padding:18px 2px 22px}
.ebm-feat-num{font-size:10px;color:rgba(255,255,255,.4)}
.ebm-feat-name{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;
  font-size:13px;line-height:1.5;margin:8px 0 8px}
.ebm-feat p{margin:0;font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.6)}

/* ── процесс (партия 3) ── */
.ebm-proc{padding:60px 0 56px}
.ebm-proc-title{font-size:15px;line-height:1.75;text-align:center;padding:0 22px}
.ebm-proc-title .tint{background:linear-gradient(90deg,#fff 0%,#BFE0FF 30%,#7FB6EF 65%,#2E7CF6 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.ebm-proc-lead{margin:16px auto 0;font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.8);text-align:center;max-width:280px;padding:0 22px}
.ebm-swipe-hint{font-size:11px;color:rgba(255,255,255,.5);padding:26px 20px 10px}
.ebm-lane{display:flex;gap:12px;overflow-x:auto;padding:4px 20px 18px;scroll-snap-type:x mandatory;
  scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ebm-lane::-webkit-scrollbar{display:none}
.ebm-step{flex:0 0 78vw;max-width:330px;scroll-snap-align:start;background:#0b0b0d;
  border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:20px 18px 22px}
.ebm-step-num{font-size:10px;color:rgba(255,255,255,.4)}
.ebm-step-name{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;
  font-size:13px;line-height:1.5;margin:8px 0 10px}
.ebm-step ul{margin:0;padding-left:16px;font-size:12.5px;line-height:1.7;color:rgba(255,255,255,.7)}

/* ── концепция шоу ── */
.ebm-show{padding:40px 20px 56px;text-align:center}
.ebm-show-title{font-size:14px;line-height:1.8}
.ebm-show-title .tint{background:linear-gradient(90deg,#fff 0%,#BFE0FF 30%,#7FB6EF 65%,#2E7CF6 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.ebm-show-pics{display:flex;flex-direction:column;gap:12px;margin:26px 0 30px}
.ebm-show-pics img{width:100%;border-radius:10px;display:block}
.ebm-show .eb-btn-line{max-width:320px;margin:0 auto}

/* ── команда ── */
.ebm-team{padding:56px 0 60px}
.ebm-team-title{font-size:16px;line-height:1.7;padding:0 20px}
.ebm-team-title .tint{background:linear-gradient(90deg,#FFD9BC 0%,#FD9F67 55%,#E86A24 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.ebm-team-title .ind{display:block;text-align:right}
.ebm-team-lead{margin:16px 20px 26px;font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.8);max-width:270px}
.ebm-tabs{margin:0 20px 26px;border-top:1px solid rgba(255,255,255,.16)}
.ebm-tab{display:flex;gap:12px;align-items:center;border-bottom:1px solid rgba(255,255,255,.16);
  padding:11px 10px;font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;font-size:12px}
.ebm-tab .n{font-family:'TexGyreHeros',Arial,sans-serif;font-size:9px;color:rgba(255,255,255,.4)}
.ebm-tab.on{background:linear-gradient(90deg,#FD9F67 0%,#FD7731 100%);color:#0b0b0d}
.ebm-tab.on .n{color:rgba(11,11,13,.6)}
.ebm-people{display:flex;gap:12px;overflow-x:auto;padding:0 20px 16px;scroll-snap-type:x mandatory;
  scrollbar-width:none}
.ebm-people::-webkit-scrollbar{display:none}
.ebm-person{flex:0 0 62vw;max-width:260px;scroll-snap-align:start}
.ebm-person img{width:100%;border-radius:10px;display:block}
.ebm-person-name{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;
  font-size:13px;margin-top:12px}
.ebm-person-role{font-size:11.5px;color:rgba(255,255,255,.55);margin-top:2px}

/* ── мерч-цикл ── */
.ebm-merch{padding:56px 20px 60px}
.ebm-merch-title{font-size:15px;line-height:1.75;text-align:center;margin-bottom:26px}
.ebm-merch-title .tint{background:linear-gradient(90deg,#fff 0%,#BFE0FF 30%,#7FB6EF 65%,#2E7CF6 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.ebm-merch-intro{font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.8);max-width:300px;margin:0 auto 22px;text-align:center}
.ebm-merch-shirt{max-width:250px;margin:0 auto 30px;display:block}
.ebm-mstep{border-top:1px solid rgba(255,255,255,.14);padding:16px 2px 18px}
.ebm-mstep .n{font-size:10px;color:rgba(255,255,255,.4)}
.ebm-mstep-name{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;
  font-size:13.5px;margin:7px 0 6px}
.ebm-mstep p{margin:0;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.6)}
.ebm-merch .eb-btn-line{max-width:320px;margin:30px auto 0}

/* ── серая карусель ── */
.ebm-gray{background:#DCDCDE;color:#0b0b0d;padding:56px 0 56px}
.ebm-gray-title{font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;
  font-size:19px;line-height:1.4;color:rgba(11,11,13,.18);padding:0 20px;margin-bottom:8px}
.ebm-gray .ebm-swipe-hint{color:rgba(11,11,13,.45)}
.ebm-gray .ebm-lane{padding-bottom:6px}
.ebm-shirt-card{flex:0 0 70vw;max-width:290px;scroll-snap-align:start;display:flex;align-items:center;justify-content:center;
  border-right:1px solid rgba(11,11,13,.12);padding-right:12px}
.ebm-shirt-card img{width:100%;display:block;mix-blend-mode:multiply}
.ebm-gray-btn{display:flex;align-items:center;justify-content:center;min-height:48px;max-width:300px;
  margin:30px auto 0;border-radius:30px;background:#0b0b0d;color:#fff;text-decoration:none;
  font-family:'TexGyreHeros',Arial,sans-serif;font-weight:300;font-size:14px}

/* ── бриф ── */
.ebm-brief{position:relative;padding:60px 20px 64px;overflow:hidden;
  background:radial-gradient(140% 90% at 50% 0%,#2E7CF6 0%,#22579A 34%,#0B2E66 60%,#04040a 88%)}
.ebm-brief-title{font-size:14px;line-height:1.8;text-align:center;margin-bottom:30px}
.ebm-brief-photo{position:relative;margin:0 12px 34px}
.ebm-brief-photo img{width:100%;border-radius:8px;display:block}
.ebm-brief-photo .eb-corners{position:absolute;inset:-10px;pointer-events:none}
.ebm-brief-meta{font-size:11.5px;line-height:1.6;color:rgba(255,255,255,.75);margin-bottom:26px}
.ebm-field{margin-bottom:22px}
.ebm-field label{display:block;font-family:'Onder','TexGyreHeros',sans-serif;text-transform:uppercase;word-spacing:.2em;
  font-size:10.5px;letter-spacing:.04em;color:#fff;margin-bottom:4px}
.ebm-field input,.ebm-field textarea{width:100%;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.5);
  padding:8px 0 10px;color:#fff;font-family:'TexGyreHeros',Arial,sans-serif;font-weight:300;font-size:16px;outline:none;border-radius:0}
.ebm-field textarea{resize:vertical;min-height:44px;line-height:1.5}
.ebm-field input::placeholder,.ebm-field textarea::placeholder{color:rgba(255,255,255,.35)}
.ebm-radio{display:flex;gap:8px;flex-wrap:wrap;padding-top:6px}
.ebm-radio label{position:relative}
.ebm-radio input{position:absolute;opacity:0;width:0;height:0}
.ebm-radio span{display:inline-block;padding:9px 18px;border-radius:30px;border:1px solid rgba(255,255,255,.4);
  font-family:'TexGyreHeros',Arial,sans-serif;text-transform:none;word-spacing:normal;
  font-size:13px;font-weight:300;color:rgba(255,255,255,.8)}
.ebm-radio input:checked + span{background:#fff;color:#0b0b0d}
.ebm-agree{display:flex;gap:10px;align-items:flex-start;margin:8px 0 24px}
.ebm-agree input{width:18px;height:18px;accent-color:#FD7731;flex:0 0 auto;margin-top:2px}
.ebm-agree span{font-size:11px;line-height:1.5;color:rgba(255,255,255,.65)}
.ebm-agree a{color:rgba(255,255,255,.85)}
.ebm-brief .eb-btn-line{border-color:rgba(255,255,255,.75)}
.ebm-brief-msg{margin-top:16px;font-size:13px;line-height:1.5;display:none;text-align:center}
.ebm-brief-msg.err{display:block;color:#FFD2B8}
.ebm-brief-msg.ok{display:block;color:#CFE6FF}

/* ── футер ── */
.ebm-footer{padding:48px 0 0;background:#000}
.ebm-footer-cols{padding:0 20px;display:grid;grid-template-columns:1fr 1fr;gap:22px 16px}
.ebm-fcol .t{font-size:10px;letter-spacing:.1em;color:rgba(255,255,255,.4);text-transform:uppercase;margin-bottom:8px}
.ebm-fcol a{display:block;color:rgba(255,255,255,.75);text-decoration:none;font-size:12.5px;line-height:2}
.ebm-legal{padding:26px 20px 8px;font-size:10.5px;line-height:1.7;color:rgba(255,255,255,.4)}
.ebm-marquee{position:relative;height:120px;margin-top:18px;overflow:hidden;
  background:radial-gradient(120% 160% at 50% 130%,#2E7CF6 0%,#0B2E66 45%,#000 85%)}
.ebm-marquee-row{position:absolute;bottom:14px;left:0;display:flex;gap:26px;opacity:.9}
.ebm-marquee-row img{height:74px;width:auto;flex:0 0 auto}
