@font-face {
  font-family: "AvenirThin";
  src: url("assets/fonts/AvenirNextCyr-Thin.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AvenirMedium";
  src: url("assets/fonts/AvenirNextCyr-Medium.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Швейцарская модульная система (базовый модуль 8px / полумодуль 4px)
   ========================================================================== */
:root {
  /* Палитра (ink-on-dark-paper, единая холодная ось, контраст AA+) */
  --bg: #111018;
  --bg-elevated: #171622;
  --fg: #f0f0f5;
  --muted: rgba(240, 240, 245, 0.76);
  --dim: rgba(240, 240, 245, 0.56);
  --rule: rgba(240, 240, 245, 0.24);
  --rule-strong: rgba(240, 240, 245, 0.42);
  --rule-subtle: rgba(240, 240, 245, 0.12);

  /* Модульная шкала отступов (строго кратна 4px / 8px) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-9: 36px;
  --sp-12: 48px;

  /* Геометрия оболочки (симметричные 72px сверху и снизу, жёсткая 12-колоночная сетка 8fr / 4fr) */
  --gutter: var(--sp-6);
  --header-h: 72px;
  --footer-h: 72px;

  /* Типографическая шкала (два основных регистра + тело кейса) */
  --type-display: clamp(16px, 1.25vw, 24px);
  --type-sub: clamp(12px, 0.86vw, 16.5px);
  --type-body: clamp(15px, 0.96vw, 18px);
  --type-micro: clamp(11px, 0.72vw, 13px);

  /* Кривые движения (Swiss cubic-bezier) */
  --ease-swiss: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-fade: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--rule) transparent;
  scrollbar-width: thin;
}

html,
body {
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg);
  color: var(--fg);
  font-family: "AvenirThin", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
}

body {
  display: grid;
  grid-template-rows: var(--header-h) minmax(0, 1fr) var(--footer-h);
}

::selection {
  background: rgba(240, 240, 245, 0.18);
  color: #ffffff;
}

button,
a {
  color: inherit;
  font: inherit;
  text-transform: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   Стартовая шторка (один раз за сессию)
   ========================================================================== */
.entry {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 0.78s var(--ease-swiss);
}

.entry-text {
  font-size: clamp(30px, 6vw, 112px);
  letter-spacing: 0.04em;
  color: var(--fg);
  white-space: nowrap;
  transition: opacity 0.35s var(--ease-fade);
}

.entry.text-out .entry-text {
  opacity: 0;
}

.entry.lift {
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}

.entry[hidden] {
  display: none;
}

/* ==========================================================================
   Оптические палочки-разделители (ровно по cap-height, единая контрастность)
   ========================================================================== */
.pipe {
  display: inline-block;
  width: 1px;
  height: 0.78em;
  background: currentColor;
  vertical-align: 0.04em;
  margin: 0 0.62em;
  opacity: 0.34;
}

.pipe-strong {
  height: 0.86em;
  margin: 0 0.68em;
  opacity: 0.48;
}

/* ==========================================================================
   Шапка (72px, 8fr / 4fr в одну вертикальную струну с основной сеткой)
   ========================================================================== */
.hdr {
  grid-row: 1;
  display: grid;
  grid-template-columns: 8fr 4fr;
  align-items: stretch;
  padding: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  z-index: 50;
}

.brand {
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--gutter);
  font-size: var(--type-display);
  line-height: 1;
  letter-spacing: 0.015em;
  color: var(--fg);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--gutter);
  border-left: 1px solid var(--rule);
}

.nav button {
  position: relative;
  font-size: var(--type-display);
  line-height: 1;
  letter-spacing: 0.015em;
  color: var(--fg);
  padding: 5px 0;
  white-space: nowrap;
  transition: opacity 280ms var(--ease-fade);
}

.nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms var(--ease-swiss);
}

.nav button:hover {
  opacity: 0.78;
}

.nav button[aria-current="true"]::after {
  transform: scaleX(1);
}

.burger,
.mobile-menu {
  display: none;
}

/* ==========================================================================
   Основная 12-колоночная асимметричная сетка (8fr / 4fr -> строго 2/3 и 1/3)
   ========================================================================== */
.main {
  grid-row: 2;
  display: grid;
  grid-template-columns: 8fr 4fr;
  min-height: 0;
  overflow: hidden;
}

/* Левая колонка: неподвижное окно видео + полоса под видео */
.viewer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  min-width: 0;
  padding: var(--gutter);
  border-right: 1px solid var(--rule);
  overflow: hidden;
}

.vid-stage {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100% - 96px);
  background: #09090e;
  overflow: hidden;
}

.vid-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #09090e;
}

.vid-stage video[hidden],
.project-player[hidden],
.project-placeholder[hidden],
.project-poster[hidden] {
  display: none;
}

.project-player {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: #09090e;
}

.project-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-frame-host {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.project-frame-host iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.project-placeholder {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.placeholder-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-6) var(--sp-8);
  max-width: 72%;
}

.placeholder-kicker {
  font-size: var(--type-micro);
  letter-spacing: 0.16em;
  color: var(--dim);
  margin-bottom: var(--sp-3);
}

.placeholder-title {
  font-size: clamp(20px, 1.7vw, 32px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: var(--sp-3);
  text-wrap: balance;
}

.placeholder-note {
  text-transform: none;
  font-size: var(--type-body);
  color: var(--muted);
}

/* Контролы видео (чистая геометрия, без лишнего шума) */
.vid-btn {
  position: absolute;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 240, 245, 0.86);
  transition: color 240ms var(--ease-fade), background-color 240ms var(--ease-fade);
}

.vid-btn:hover {
  color: #ffffff;
}

.vid-expand {
  right: var(--sp-4);
  bottom: var(--sp-4);
  width: 32px;
  height: 32px;
  background: rgba(17, 16, 24, 0.56);
}

.vid-expand svg {
  width: 18px;
  height: 18px;
  display: block;
}

.vid-mute {
  right: 56px;
  bottom: var(--sp-4);
  height: 32px;
  padding: 0 var(--sp-3);
  font-size: var(--type-micro);
  letter-spacing: 0.1em;
  color: rgba(240, 240, 245, 0.84);
  background: rgba(17, 16, 24, 0.56);
}

.vid-mute[aria-pressed="true"] {
  color: var(--bg);
  background: var(--fg);
}

.vid-close {
  display: none;
  right: var(--sp-4);
  top: var(--sp-4);
  width: 36px;
  height: 36px;
  font-size: 26px;
  line-height: 1;
  background: rgba(17, 16, 24, 0.68);
}

body.selected .vid-close {
  display: inline-flex;
}

body.selected .vid-mute,
body.selected .vid-expand {
  display: none;
}

.vid-close-full {
  display: none;
  right: var(--sp-6);
  top: var(--sp-4);
  width: 44px;
  height: 44px;
  font-size: 32px;
  background: rgba(17, 16, 24, 0.72);
}

.vid-resume {
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  z-index: 20;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--type-micro);
  letter-spacing: 0.1em;
  background: rgba(17, 16, 24, 0.84);
  border: 1px solid var(--rule-strong);
}

.vid-stage:is(:fullscreen, .fullscreen-fallback) {
  position: fixed;
  inset: 0;
  max-height: none;
  aspect-ratio: auto;
  z-index: 1500;
  background: #08070c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vid-stage:is(:fullscreen, .fullscreen-fallback) video {
  width: 96vw;
  height: auto;
  max-height: 94vh;
  object-fit: contain;
}

.vid-stage:is(:fullscreen, .fullscreen-fallback) .vid-expand,
.vid-stage:is(:fullscreen, .fullscreen-fallback) .vid-close,
.vid-stage:is(:fullscreen, .fullscreen-fallback) .vid-mute {
  display: none;
}

.vid-stage:is(:fullscreen, .fullscreen-fallback) .vid-close-full {
  display: inline-flex;
}

/* ==========================================================================
   Низ под видео (оптический центр под кадром, сетка 2x2 по max-content)
   ========================================================================== */
.standby {
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: var(--sp-3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--sp-6);
}

.col-a {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 0.75vw, 14px);
  min-width: 0;
}

.formats {
  font-size: var(--type-display);
  line-height: 1;
  letter-spacing: 0.015em;
  color: var(--fg);
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
}

.industries {
  font-size: var(--type-sub);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--dim);
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
}

.col-b {
  align-self: stretch;
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: clamp(24px, 2vw, 40px);
  align-content: space-between;
  border-left: 1px solid var(--rule);
  padding-left: clamp(20px, 1.6vw, 32px);
}

.col-b > span {
  display: block;
  font-size: var(--type-sub);
  line-height: 1;
  letter-spacing: 0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
}

.col-b b {
  font-weight: 300;
  color: var(--fg);
  margin-right: 0.18em;
}

/* ==========================================================================
   Тексты под видео (открытый проект, Мода, Подход)
   ========================================================================== */
.left-copy,
.details {
  display: none;
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--sp-4) var(--sp-2) var(--sp-2) 0;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}

.details-mobile-bar,
.details-pager {
  display: none;
}

.left-copy p,
.details .explain {
  text-transform: none;
  font-size: var(--type-body);
  line-height: 1.56;
  color: var(--muted);
  text-wrap: pretty;
  margin-bottom: var(--sp-3);
}

.approach-title {
  font-size: var(--type-sub);
  letter-spacing: 0.06em;
  color: var(--fg);
  margin-bottom: var(--sp-3);
}

.approach-lines {
  font-size: clamp(12px, 0.86vw, 16px);
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--dim);
}

.details-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-2);
}

.details h1 {
  font-family: "AvenirThin", sans-serif;
  font-weight: 300;
  font-size: var(--type-display);
  line-height: 1.08;
  color: var(--fg);
  text-wrap: balance;
}

.details-sub {
  font-size: var(--type-sub);
  color: var(--dim);
  margin-top: var(--sp-1);
}

.details-meta {
  font-size: var(--type-micro);
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-bottom: var(--sp-3);
}

.details-meta:empty,
.details-credit:empty {
  display: none;
}

.details .explain {
  white-space: pre-line;
  max-width: 68ch;
}

.details-credit {
  font-size: var(--type-micro);
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-top: var(--sp-3);
}

.details-close {
  font-size: var(--type-micro);
  letter-spacing: 0.08em;
  color: var(--dim);
  padding: var(--sp-1) 0;
  flex: none;
  transition: color 240ms var(--ease-fade);
}

.details-close:hover {
  color: var(--fg);
}

body.selected .standby {
  display: none;
}

body.selected .details {
  display: block;
}

body.fashion-mode:not(.selected) .standby {
  display: none;
}

body.fashion-mode:not(.selected) #fashionIntro {
  display: block;
}

body.about-mode .standby,
body.about-mode #fashionIntro,
body.about-mode .details {
  display: none;
}

body.about-mode #approach {
  display: block;
}

/* ==========================================================================
   Правая колонка: полка проектов (сверху вровень с видео) и панели разделов
   ========================================================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--bg);
}

#projectView {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.sidebar.section-open #projectView {
  display: none;
}

.shelf,
.panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--gutter) var(--gutter) var(--sp-8);
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent 100%);
}

.proj,
.fashion-project {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0 0 var(--sp-6);
  transition: transform 280ms var(--ease-swiss), opacity 220ms var(--ease-fade);
}

.proj-title {
  display: block;
  font-size: clamp(16px, 1.28vw, 24.5px);
  line-height: 1.06;
  letter-spacing: 0.015em;
  color: var(--fg);
  text-box: trim-both cap alphabetic;
}

.proj-sub {
  display: block;
  font-size: clamp(11.5px, 0.84vw, 16px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--dim);
  margin-top: var(--sp-1);
}

.proj:hover,
.fashion-project:hover {
  transform: translateX(6px);
}

/* Активный проект: чистый маркер-стрелка без боковой палки */
.proj[aria-pressed="true"] .proj-title::before,
.fashion-project[aria-pressed="true"] .proj-title::before {
  content: "→ ";
  color: var(--fg);
}

.proj[aria-pressed="true"] .proj-sub,
.fashion-project[aria-pressed="true"] .proj-sub {
  color: var(--muted);
}

.section-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.section-panel.on {
  display: flex;
}

.panel-body p {
  text-transform: none;
  font-size: var(--type-body);
  line-height: 1.56;
  color: var(--muted);
  text-wrap: pretty;
  margin-bottom: var(--sp-4);
}

.panel-actions {
  flex: none;
  border-top: 1px solid var(--rule);
  padding: var(--sp-4) var(--gutter);
  display: flex;
  justify-content: flex-start;
}

.panel-actions button {
  font-size: var(--type-micro);
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 220ms var(--ease-fade);
}

.panel-actions button:hover {
  color: var(--fg);
}

.contact-row {
  display: block;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--rule-subtle);
  transition: transform 280ms var(--ease-swiss);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:hover {
  transform: translateX(6px);
}

.contact-row b {
  display: block;
  font-weight: 300;
  font-size: clamp(14px, 1vw, 19px);
  line-height: 1.2;
  color: var(--fg);
  text-box: trim-both cap alphabetic;
}

.contact-row i {
  display: block;
  font-style: normal;
  font-size: var(--type-micro);
  letter-spacing: 0.04em;
  color: var(--dim);
  margin-top: var(--sp-1);
}

/* ==========================================================================
   Нижняя полоса логотипов (72px, один оптически выровненный ряд)
   ========================================================================== */
.logos-bar {
  grid-row: 3;
  border-top: 1px solid var(--rule);
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  overflow: hidden;
}

.logos-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.05vw, 20px);
}

.logo-cell {
  flex: 0 1 auto;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-yandex {
  justify-content: flex-start;
}

.l-expo {
  justify-content: flex-end;
}

.logo-cell img {
  height: var(--h, 18px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 260ms var(--ease-fade);
}

.logo-cell img.inv {
  filter: brightness(0) invert(1);
}

.logo-cell:hover img,
.logo-cell:hover .wm {
  opacity: 0.94;
}

.logo-cell .wm {
  font-family: "AvenirMedium", sans-serif;
  font-size: clamp(12px, 0.84vw, 16px);
  letter-spacing: 0.08em;
  color: var(--fg);
  opacity: 0.5;
  transition: opacity 260ms var(--ease-fade);
}

.l-yandex img { --h: clamp(15px, 1.04vw, 20px); }
.l-tank img { --h: clamp(18px, 1.24vw, 24px); }
.l-alfa img { --h: clamp(18px, 1.2vw, 23px); }
.l-dzen img { --h: clamp(18px, 1.2vw, 23px); }
.l-wey img { --h: clamp(20px, 1.36vw, 26px); }
.l-omoda img { --h: clamp(11px, 0.72vw, 14px); }
.l-market img { --h: clamp(13px, 0.88vw, 17px); }
.l-jetour img { --h: clamp(11px, 0.72vw, 14px); }
.l-tenet img { --h: clamp(18px, 1.2vw, 23px); }
.l-ms img { --h: clamp(15px, 0.98vw, 19px); }
.l-genesis img { --h: clamp(16px, 1.08vw, 21px); }
.l-maybach img { --h: clamp(17px, 1.14vw, 22px); }
.l-vtb img { --h: clamp(14px, 0.94vw, 18px); }
.l-mercedes img { --h: clamp(18px, 1.2vw, 23px); }
.l-rosatom img { --h: clamp(19px, 1.24vw, 24px); }
.l-audi img { --h: clamp(14px, 0.94vw, 18px); }
.l-lexus img { --h: clamp(16px, 1.08vw, 21px); }
.l-expo img { --h: clamp(19px, 1.24vw, 24px); }

/* Превью при наведении на проект (десктоп) */
.preview {
  position: fixed;
  z-index: 80;
  width: clamp(220px, 18vw, 336px);
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms var(--ease-fade), transform 220ms var(--ease-swiss);
  overflow: hidden;
}

.preview.on {
  opacity: 1;
  transform: translateY(0);
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview img[hidden] {
  display: none;
}

.preview-label {
  position: absolute;
  inset: auto 0 0;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--type-micro);
  letter-spacing: 0.06em;
  background: rgba(17, 16, 24, 0.84);
  color: var(--fg);
}

.preview.noimage .preview-label {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-4);
  font-size: 14px;
  background: var(--bg-elevated);
}

/* Средние экраны (ноутбуки 1280-1440) */
@media (max-width: 1380px) and (min-width: 821px) {
  :root {
    --gutter: var(--sp-4);
    --header-h: 64px;
    --footer-h: 64px;
  }
  .formats {
    font-size: clamp(14px, 1.24vw, 20px);
  }
  .industries,
  .col-b > span {
    font-size: clamp(11px, 0.84vw, 14.5px);
  }
  .col-b {
    padding-left: var(--sp-5);
    column-gap: var(--sp-5);
  }
  .logos-row {
    gap: var(--sp-3);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .logos-row::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================================================
   Мобильная вертикальная версия (8px-модуль, 100% без горизонтального скролла)
   ========================================================================== */
@media (max-width: 820px) {
  :root {
    --header-h: 64px;
    --gutter: var(--sp-4);
  }

  html,
  body {
    height: auto;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto;
  }

  body {
    display: flex;
    flex-direction: column;
  }

  .hdr {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    width: 100%;
    height: var(--header-h);
    flex: none;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    height: auto;
    gap: var(--sp-1);
  }

  .brand-name {
    font-size: 20px;
    line-height: 1;
    color: var(--fg);
  }

  .brand-sep {
    display: none;
  }

  .brand-role {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.03em;
    color: var(--dim);
  }

  .nav {
    display: none;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 12px;
    padding: 0;
  }

  .burger i {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--fg);
  }

  .mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    padding: var(--sp-2) var(--gutter) var(--sp-4);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu button {
    text-align: left;
    padding: var(--sp-4) 0;
    font-size: 18px;
    border-bottom: 1px solid var(--rule-subtle);
    color: var(--dim);
  }

  .mobile-menu button:last-child {
    border-bottom: 0;
  }

  .mobile-menu button[aria-current="true"] {
    color: var(--fg);
  }

  .main {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    flex: 1;
  }

  .viewer {
    border-right: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .vid-stage {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--rule);
  }

  .vid-mute {
    right: 48px;
    bottom: var(--sp-2);
    height: 28px;
    font-size: 10px;
    padding: 0 var(--sp-2);
  }

  .vid-expand {
    right: var(--sp-2);
    bottom: var(--sp-2);
    width: 28px;
    height: 28px;
  }

  .vid-expand svg {
    width: 16px;
    height: 16px;
  }

  .standby {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    gap: 0;
    padding: var(--sp-4) var(--gutter) 0;
  }

  .col-a,
  .col-b {
    height: auto;
  }

  .col-a {
    gap: var(--sp-2);
  }

  .formats {
    font-size: clamp(9px, 2.65vw, 12.5px);
    line-height: 1.15;
    letter-spacing: 0.005em;
    white-space: nowrap;
  }

  .industries {
    font-size: clamp(8.5px, 2.5vw, 11.5px);
    line-height: 1.15;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .formats .pipe,
  .industries .pipe {
    margin: 0 0.36em;
  }

  .col-b {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
    column-gap: 12px;
    border-left: 0;
    margin: 12px 0 0;
    padding: 12px 0;
    border-top: 1px solid var(--rule-subtle);
    border-bottom: 1px solid var(--rule);
  }

  .col-b > span {
    font-size: 11px;
  }

  .left-copy,
  .details {
    flex: none;
    overflow: visible;
    padding: var(--sp-4) var(--gutter) var(--sp-5);
  }

  .details-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--sp-3);
    margin-bottom: var(--sp-4);
    border-bottom: 1px solid var(--rule-subtle);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--muted);
  }

  .details-close {
    display: none;
  }

  .details h1 {
    font-size: 20px;
  }

  .details-sub {
    font-size: 12px;
  }

  .details .explain {
    font-size: 15px;
    margin-top: var(--sp-3);
  }

  .details-pager {
    display: flex;
    justify-content: space-between;
    margin-top: var(--sp-6);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--rule);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--muted);
  }

  body.selected .sidebar {
    display: none;
  }

  .sidebar {
    overflow: visible;
  }

  #projectView,
  .section-panel {
    height: auto;
  }

  .shelf,
  .panel-body {
    overflow: visible;
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .proj,
  .fashion-project {
    padding: 0 0 var(--sp-4);
  }

  .proj-title {
    font-size: 16.5px;
  }

  .proj-sub {
    font-size: 11px;
    margin-top: var(--sp-1);
  }

  .logos-bar {
    border-top: 1px solid var(--rule);
    padding: var(--sp-4);
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
  }

  .logos-row {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    gap: var(--sp-5);
    scrollbar-width: none;
  }

  .logos-row::-webkit-scrollbar {
    display: none;
  }

  .logo-cell {
    flex: 0 0 auto;
  }

  .preview {
    display: none !important;
  }
}

/* Обязательное правило доступности (Swiss Design + better-interface) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
