/* Одобренный первый экран с крупным углом устройства · 21.10.2026. */
.category-home{background:#000;color:var(--text);overflow:hidden}
.category-home>.wrap{max-width:none;padding-left:max(var(--gutter),calc(50% - 640px + var(--gutter)));padding-right:0}
.category-intro{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.category-layout{display:grid;grid-template-columns:174px minmax(0,1fr);gap:28px;padding:22px 0 26px;min-height:536px;align-items:center}
.category-menu{display:flex;flex-direction:column;align-self:stretch;justify-content:center}
.category-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:51px;padding:12px 0;border-bottom:1px solid var(--line);background:#000;color:var(--muted);text-align:left;font:700 21px/1 var(--font-h);letter-spacing:-.035em;transition:color .2s}
.category-choice:first-child{border-top:1px solid var(--line)}
.category-choice:hover,.category-choice.is-active,.category-choice[aria-pressed=true],.category-choice:focus-visible{color:var(--text)}
.category-choice-arrow{font:400 24px/1 var(--font);opacity:0;transition:opacity .2s}
.category-choice.is-active .category-choice-arrow,.category-choice[aria-pressed=true] .category-choice-arrow,.category-choice:focus-visible .category-choice-arrow{opacity:1}
.category-stage{--category-stage-height:486px;position:relative;isolation:isolate;container-type:inline-size;height:var(--category-stage-height);min-width:0;overflow:hidden;background:#000}
.category-picture{position:absolute;inset:0;overflow:hidden;background:#000}
/* Точные left/top/width/clip-path задаёт JS по исходному кадру и ширине сцены. */
.category-picture img{position:absolute;display:block;max-width:none;height:auto;object-fit:initial;object-position:initial;transform:none;transition:opacity .18s}
.category-picture img[hidden]{display:none!important}
.category-home.is-changing .category-picture img{opacity:.65}
.category-stage[data-category=more] .category-picture img{filter:brightness(1.2)}
.category-shade{position:absolute;inset:auto 0 0;height:130px;background:linear-gradient(transparent,#000c 70%,#000e);pointer-events:none;z-index:1}
.category-stage[data-category=samsung] .category-shade{background:linear-gradient(transparent,#000c 70%,#000 94%)}
.category-caption{position:absolute;left:24px;right:28px;bottom:22px;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.category-caption h2{max-width:60%;font:700 clamp(30px,4.5vw,56px)/.9 var(--font-h);letter-spacing:-.035em;overflow-wrap:anywhere;text-wrap:balance}
.category-caption a{display:inline-flex;align-items:center;gap:12px;padding:8px 0;font:700 14px/1.2 var(--font-h);letter-spacing:-.02em;text-decoration:none;white-space:nowrap}
.category-caption a:hover{text-decoration:underline;text-underline-offset:5px}
.category-caption a>span:last-child{font:400 24px/1 var(--font)}
.category-fallback{display:flex;flex-wrap:wrap;gap:16px;padding-top:24px}
@media(max-width:850px){
  .category-layout{grid-template-columns:144px minmax(0,1fr);gap:22px}
  .category-choice{font-size:19px}
  .category-caption{align-items:flex-start;flex-direction:column;gap:10px}
  .category-caption h2{max-width:100%;font-size:44px}
}
@media(max-width:620px){
  .category-layout{grid-template-columns:92px minmax(0,1fr);gap:12px;padding:18px 0 20px;min-height:478px}
  .category-choice{min-height:47px;font-size:15px;line-height:1.1;gap:4px}
  .category-choice-arrow{font-size:16px}
  .category-stage{--category-stage-height:438px}
  .category-caption{left:12px;right:12px;bottom:20px;gap:10px}
  .category-caption h2{font-size:30px}
  .category-caption a{font-size:12px;gap:7px;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.category-picture img,.category-choice,.category-choice-arrow{transition:none}}
