@font-face { font-family: "System Sans"; src: local("SF Pro Display"), local("Helvetica Neue"); font-display: swap; }

@property --lens-radius-x { syntax: "<length>"; inherits: true; initial-value: .1px; }
@property --lens-radius-y { syntax: "<length>"; inherits: true; initial-value: .1px; }

:root {
  color-scheme: dark;
  --ink: #f7f3fb;
  --muted: #b9b2c2;
  --desktop: #100d16;
  --desktop-soft: #1b1625;
  --panel: rgba(247, 244, 250, .95);
  --panel-solid: #f5f1f7;
  --panel-ink: #19151e;
  --panel-muted: #6e6677;
  --line: rgba(255, 255, 255, .15);
  --panel-line: rgba(25, 21, 30, .13);
  --accent: #a871ff;
  --accent-bright: #cba9ff;
  --accent-deep: #7443c8;
  --accent-dark: #4e248e;
  --header-bg: rgba(47, 46, 50, .88);
  --folder-top: #929298;
  --folder-bottom: #616168;
  --folder-tab: #9a9aa0;
  --folder-shadow: rgba(25, 25, 29, .34);
  --glass: rgba(25, 18, 35, .55);
  --shadow: 0 30px 100px rgba(4, 2, 8, .58);
  --window-radius: 22px;
  --button-radius: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --ink: #211828;
  --muted: #665c6e;
  --desktop: #dcd5e4;
  --desktop-soft: #eee9f2;
  --line: rgba(33, 24, 40, .15);
  --glass: rgba(240, 234, 245, .62);
  --shadow: 0 28px 80px rgba(65, 40, 84, .22);
  --header-bg: rgba(131, 126, 134, .52);
  --folder-top: #73ccfb;
  --folder-bottom: #45aae9;
  --folder-tab: #73ccfb;
  --folder-shadow: rgba(20, 57, 86, .30);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: var(--desktop); }
body { margin: 0; overflow: hidden; font-family: "System Sans", Arial, sans-serif; color: var(--ink); background: var(--desktop); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
html[data-language="en"] body [lang="ru"], html[data-language="ru"] body [lang="en"] { display: none !important; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button:active, .primary-action:active, .secondary-action:active, .danger-action:active { transform: translateY(1px); }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; border-radius: var(--button-radius); color: #fff; background: var(--accent-deep); transition: top 180ms ease; }
.skip-link:focus { top: 16px; }

.boot { position: fixed; inset: 0; z-index: 900; display: grid; place-content: center; justify-items: center; gap: 18px; background: #100d16; transition: opacity 500ms var(--ease), visibility 500ms; }
.boot.is-done { opacity: 0; visibility: hidden; }
.boot-mark { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(255,255,255,.22); border-radius: 17px; color: #180f21; background: #f7f3fb; font-size: 25px; font-weight: 850; letter-spacing: -.08em; box-shadow: 0 0 50px rgba(168,113,255,.25); }
.boot-line { width: 180px; height: 4px; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.14); }
.boot-line span { display: block; width: 0; height: 100%; background: var(--accent); animation: boot-progress 1.15s var(--ease) forwards; }
.boot p { margin: 0; color: #aaa2b2; font-size: 12px; letter-spacing: .07em; }

.desktop { position: relative; isolation: isolate; min-height: 100dvh; overflow: hidden; background: #777078; }
.wallpaper { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #777078; }
.wallpaper::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,12,20,.12), transparent 36%, rgba(17,12,20,.18)); }
.wallpaper::after, .wallpaper-orbit { display: none; }
.wallpaper-noise { position: fixed; inset: 0; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%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)' opacity='.35'/%3E%3C/svg%3E"); }

.menu-bar { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 38px; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; background: var(--header-bg); box-shadow: inset 0 -1px 0 rgba(0,0,0,.12); backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%); transition: background-color 180ms var(--ease-out); }
.menu-bar button { border: 0; background: none; cursor: pointer; }
.brand-menu { position: relative; justify-self: start; display: grid; place-items: center; width: 54px; height: 30px; padding: 0; overflow: hidden; border-radius: 6px; background: #080808 !important; }
.monogram { display: flex; align-items: baseline; justify-content: center; color: #e7e5d6; font-family: Arial Black, "Helvetica Neue", sans-serif; font-weight: 950; line-height: 1; letter-spacing: -.2em; transform: scaleX(.86); transform-origin: center; }
.monogram b { display: block; font: inherit; }
.monogram b:nth-child(2) { transform: translateY(-.02em) rotate(-5deg); }
.monogram-menu { padding-right: .18em; font-size: 20px; }
.menu-bar nav { display: flex; gap: 4px; }
.menu-bar nav button, .theme-toggle { padding: 6px 10px; border-radius: 7px; font-size: 13px; }
.menu-bar nav button:hover, .theme-toggle:hover { background: rgba(168,113,255,.17); }
.menu-status { justify-self: end; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.menu-status time { width: 42px; text-align: right; font-variant-numeric: tabular-nums; }

.identity { position: absolute; z-index: 7; left: 50%; top: 62px; display: grid; justify-items: center; min-width: 260px; padding: 15px 30px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; color: #fff; background: rgba(31,24,34,.29); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 16px 42px rgba(22,15,26,.19); backdrop-filter: blur(20px) saturate(150%); transform: translateX(-50%); pointer-events: none; }
.identity p, .identity span { margin: 0; color: rgba(255,255,255,.82); font-size: 12px; text-shadow: 0 1px 8px rgba(0,0,0,.46); }
.identity h1 { margin: 0 0 5px; font-size: 34px; line-height: 1; letter-spacing: -.055em; text-shadow: 0 2px 12px rgba(0,0,0,.38); }

.hero-depth { --far-x: 0px; --far-y: 0px; --near-x: 0px; --near-y: 0px; --mouse-x: 50%; --mouse-y: 50%; --lens-radius-x: .1px; --lens-radius-y: .1px; position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #f1eeee; cursor: default; perspective: 1200px; transition: --lens-radius-x 500ms var(--ease-out), --lens-radius-y 500ms var(--ease-out); }
.hero-depth.is-revealing { --lens-radius-x: 125px; --lens-radius-y: 105px; }
.depth-layer { position: absolute; display: block; overflow: hidden; pointer-events: none; }
.depth-layer img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.depth-back { inset: -3%; opacity: .4; filter: blur(24px) saturate(1.06); transform: translate3d(var(--far-x), var(--far-y), -35px) scale(1.08); }
.depth-main { inset: -1.8%; transform: translate3d(var(--near-x), var(--near-y), 18px) scale(1.045); transition: transform 700ms var(--ease); }
.hero-image-stack { position: absolute; inset: 0; overflow: hidden; contain: paint; }
.hero-image-stack img { position: absolute; inset: 0; }
.hero-image-sparks { z-index: 0; filter: blur(.3px) saturate(1.035) contrast(1.01); transform: translateX(-12px); }
.hero-image-normal { z-index: 1; -webkit-mask-image: radial-gradient(ellipse var(--lens-radius-x) var(--lens-radius-y) at var(--mouse-x) var(--mouse-y), transparent 0%, rgba(0,0,0,.06) 38%, rgba(0,0,0,.34) 64%, rgba(0,0,0,.72) 82%, #000 100%); mask-image: radial-gradient(ellipse var(--lens-radius-x) var(--lens-radius-y) at var(--mouse-x) var(--mouse-y), transparent 0%, rgba(0,0,0,.06) 38%, rgba(0,0,0,.34) 64%, rgba(0,0,0,.72) 82%, #000 100%); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.depth-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(17,12,20,.22), transparent 22%, transparent 70%, rgba(17,12,20,.30)), linear-gradient(90deg, rgba(17,12,20,.10), transparent 25%, transparent 74%, rgba(17,12,20,.08)); }

.desktop-items { position: absolute; z-index: 8; inset: 38px 0 82px; pointer-events: none; }
.desktop-item { position: absolute; display: grid; justify-items: center; gap: 7px; width: 104px; padding: 7px 5px; border: 0; border-radius: 10px; color: #fff; background: transparent; text-align: center; text-decoration: none; cursor: pointer; pointer-events: auto; transition: transform 280ms var(--ease), background-color 180ms ease; }
.desktop-item:hover, .desktop-item:focus-visible { background: rgba(61,51,66,.22); transform: translateY(-5px) scale(1.035); }
.desktop-item:active { transform: scale(.97); }
.desktop-item strong { max-width: 104px; padding: 2px 5px; border-radius: 5px; font-size: 11px; font-weight: 620; line-height: 1.15; text-shadow: 0 1px 4px rgba(0,0,0,.94), 0 2px 11px rgba(0,0,0,.72); }
.system-icon { position: relative; display: block; width: 67px; height: 67px; overflow: hidden; border: 1px solid rgba(255,255,255,.42); border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 10px 22px rgba(24,16,27,.28); }
.system-icon i, .system-icon::before, .system-icon::after { position: absolute; display: block; content: ""; }
.icon-notes { background: linear-gradient(#ffd43b 0 25%, #fff 25% 100%); }
.icon-notes::before { left: 10px; right: 10px; top: 29px; height: 2px; background: #d9d9dd; box-shadow: 0 9px #d9d9dd, 0 18px #d9d9dd, 0 27px #d9d9dd; }
.icon-notes::after { left: 0; right: 0; top: 14px; height: 3px; border-top: 1px solid rgba(112,82,0,.22); border-bottom: 1px solid rgba(112,82,0,.18); }
.icon-finder { background: linear-gradient(90deg, #5bbdf5 0 50%, #9fe0ff 50%); }
.icon-finder::before { left: 32px; top: 0; bottom: 0; width: 1px; background: rgba(0,67,120,.22); transform: rotate(7deg); }
.icon-finder::after { left: 12px; right: 12px; bottom: 14px; height: 12px; border-bottom: 3px solid #123f69; border-radius: 0 0 50% 50%; }
.icon-finder i { left: 16px; top: 20px; width: 5px; height: 7px; border-radius: 50%; background: #174f7b; box-shadow: 31px 0 #174f7b; }
.icon-keynote { background: linear-gradient(145deg, #5dc6ff, #167be5 62%, #0560c5); }
.icon-keynote::before { left: 12px; right: 12px; top: 13px; height: 31px; border: 3px solid rgba(255,255,255,.95); border-radius: 3px; background: linear-gradient(135deg, transparent 44%, rgba(255,255,255,.9) 45% 52%, transparent 53%); }
.icon-keynote::after { left: 31px; bottom: 9px; width: 4px; height: 14px; border-radius: 2px; background: #fff; box-shadow: -9px 10px 0 -1px #fff, 9px 10px 0 -1px #fff; }
.icon-shortcuts { background: linear-gradient(145deg, #752eea, #d738c8 55%, #ff5f9e); }
.icon-shortcuts::before, .icon-shortcuts::after { left: 15px; top: 20px; width: 36px; height: 22px; border: 5px solid rgba(255,255,255,.94); border-radius: 9px; transform: rotate(-25deg); }
.icon-shortcuts::after { transform: rotate(25deg); opacity: .86; }
.icon-mail { background: linear-gradient(145deg, #58c8ff, #1378ef 68%, #075ac5); }
.icon-mail::before { left: 11px; right: 11px; top: 17px; height: 34px; border: 3px solid #fff; border-radius: 5px; }
.icon-mail::after { left: 14px; top: 18px; width: 35px; height: 35px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg) translate(-4px, -9px); }
.project-file { width: 118px; }
.file-preview { position: relative; display: block; width: 78px; height: 57px; margin-top: 7px; padding: 0; overflow: visible; border: 0; border-radius: 8px 9px 10px 10px; background: linear-gradient(180deg, var(--folder-top), var(--folder-bottom)); box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 11px 23px var(--folder-shadow); transform: rotate(-1.5deg); transition: background-color 180ms var(--ease-out), filter 180ms var(--ease-out); }
.file-preview::before { content: ""; position: absolute; left: 5px; top: -8px; width: 32px; height: 13px; border-radius: 7px 7px 0 0; background: var(--folder-tab); }
.file-preview::after { content: ""; position: absolute; inset: 8px 0 0; border-radius: 7px 9px 10px 10px; background: linear-gradient(180deg, rgba(255,255,255,.17), transparent 52%); }
.project-file:nth-of-type(even) .file-preview { transform: rotate(2deg); }
.file-preview img { display: none; }
.item-about { left: 3.5%; top: 8%; }
.item-works { left: 15%; top: 23%; }
.item-decks { right: 20%; top: 8%; }
.item-process { right: 4.5%; top: 24%; }
.item-contact { right: 3%; bottom: 18%; }
.file-clinic { left: 6%; top: 51%; }
.file-ai { left: 20%; bottom: 14%; }
.file-agency { right: 18%; top: 47%; }
.file-efficiency { right: 29%; bottom: 12%; }
.file-behance { left: 38%; bottom: 8%; }

.desktop-links { position: absolute; right: 22px; bottom: 24px; display: flex; gap: 12px; }
.desktop-links button { border: 0; padding: 3px; color: rgba(255,255,255,.72); background: none; cursor: pointer; font-size: 11px; text-shadow: 0 1px 6px rgba(0,0,0,.65); }
.desktop-links button:hover { color: #fff; }

.dock { position: absolute; z-index: 25; left: 50%; bottom: 16px; display: flex; align-items: end; gap: 8px; padding: 10px 12px 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(95,56,130,.16)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(255,255,255,.07), 0 22px 60px rgba(4,1,9,.42), 0 0 42px rgba(168,113,255,.12); backdrop-filter: blur(34px) saturate(180%); -webkit-backdrop-filter: blur(34px) saturate(180%); transform: translateX(-50%); }
.dock::before { content: ""; position: absolute; inset: 4px; z-index: -1; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; }
.dock-app { position: relative; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 13px; color: #f8f6fb; text-decoration: none; cursor: pointer; box-shadow: 0 9px 18px rgba(0,0,0,.24); transition: transform 250ms var(--ease), filter 250ms ease; }
.dock-app:hover { transform: translateY(-10px) scale(1.08); filter: brightness(1.08); }
.dock-app > img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; clip-path: inset(0 round 12px); }
.dock-app span { font-size: 13px; font-weight: 850; letter-spacing: -.03em; }
.dock-app small { position: absolute; bottom: calc(100% + 14px); padding: 5px 8px; border-radius: 6px; color: var(--panel-ink); background: var(--panel-solid); font-size: 10px; opacity: 0; transform: translateY(5px); pointer-events: none; transition: 160ms ease; white-space: nowrap; }
.dock-app:hover small { opacity: 1; transform: none; }
.dock-telegram { overflow: hidden; background: #2798d4; }
.dock-telegram > img { transform: scale(1.28); }
.dock-instagram { overflow: hidden; background: linear-gradient(145deg, #7134cd, #d43f9b 58%, #f1a35a); }
.dock-instagram > img { transform: scale(1.72); }
.dock-music { background: linear-gradient(145deg, #ff6179, #f21f4c 65%, #bf0d39); }
.dock-music span { font-size: 31px; line-height: 1; }
.dock-notes { color: #29242e; background: linear-gradient(#ffd536 0 28%, #fff 28%); }
.dock-notes > img { transform: scale(1.08); }
.dock-behance { background: #1769ff; font-size: 18px; }
.dock-behance > img { transform: scale(1.04); }
.dock-mail { background: linear-gradient(145deg, #5dccff, #117bea 68%, #0758bf); }
.dock-mail { overflow: hidden; }
.dock-mail > img { transform: scale(1.18); }
.dock-trash { background: transparent; box-shadow: none; font-size: 9px; }
.dock-trash > img { width: 43px; height: 43px; border-radius: 0; object-fit: cover; object-position: center; clip-path: none; transform: none; }
.dock-divider { align-self: stretch; width: 1px; margin: 0 2px; background: rgba(255,255,255,.24); }

.notifications { position: fixed; z-index: 180; right: 16px; top: 52px; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.notification { display: grid; grid-template-columns: 42px 1fr auto; gap: 11px; align-items: start; padding: 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; color: var(--ink); background: var(--glass); box-shadow: 0 20px 50px rgba(0,0,0,.3); backdrop-filter: blur(28px); animation: notice-in 500ms var(--ease); }
.notification .notice-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #fff; background: var(--accent-deep); font-weight: 800; }
.notification strong { display: block; margin-bottom: 3px; font-size: 13px; }
.notification p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.notification button { border: 0; color: var(--muted); background: none; cursor: pointer; }
.context-menu { position: fixed; z-index: 190; display: none; width: 200px; padding: 6px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: var(--glass); box-shadow: 0 20px 55px rgba(0,0,0,.42); backdrop-filter: blur(28px); }
.context-menu.is-open { display: grid; }
.context-menu button { border: 0; padding: 8px 10px; border-radius: 7px; text-align: left; background: none; cursor: pointer; font-size: 12px; }
.context-menu button:hover { color: #fff; background: var(--accent-deep); }
.context-menu span { height: 1px; margin: 4px 3px; background: var(--line); }

.app-window { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 54px 22px 92px; background: rgba(8,5,12,.35); animation: window-backdrop 280ms ease; }
.window-shell { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(980px, 92vw); max-height: calc(100dvh - 100px); overflow: hidden; border: 1px solid rgba(255,255,255,.34); border-radius: var(--window-radius); color: var(--panel-ink); background: var(--panel); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.58); backdrop-filter: blur(34px) saturate(140%); -webkit-backdrop-filter: blur(34px) saturate(140%); animation: window-in 430ms var(--ease); }
.window-shell > :not(.window-bar) { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(116,67,200,.42) transparent; }
.window-shell > :not(.window-bar)::-webkit-scrollbar { width: 10px; }
.window-shell > :not(.window-bar)::-webkit-scrollbar-track { background: transparent; }
.window-shell > :not(.window-bar)::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 10px; background: rgba(116,67,200,.42); background-clip: padding-box; }
.window-bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--panel-line); background: rgba(255,255,255,.34); user-select: none; }
.window-bar.has-language-switch { height: 82px; align-items: start; padding-top: 13px; }
.drag-handle { cursor: grab; }
.drag-handle:active { cursor: grabbing; }
.window-bar > strong { font-size: 12px; }
.traffic { display: flex; gap: 7px; }
.traffic span, .traffic-close { display: block; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #ff6057; }
.traffic-close { position: relative; cursor: pointer; }
.traffic-close::after { content: "×"; position: absolute; inset: -1px 0 0; display: grid; place-items: center; color: #72120d; font-size: 10px; font-weight: 850; line-height: 1; opacity: .68; }
.traffic-close:hover::after, .traffic-close:focus-visible::after { opacity: 1; }
.traffic-close:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.traffic span:nth-child(2) { background: #ffbd2e; }
.traffic span:nth-child(3) { background: #28c840; }
.window-close { justify-self: end; border: 0; padding: 7px 9px; border-radius: 7px; color: var(--panel-muted); background: transparent; cursor: pointer; font-size: 11px; }
.window-close:hover { color: var(--panel-ink); background: rgba(116,67,200,.10); }
.language-switch { position: absolute; left: 50%; bottom: 8px; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; width: 74px; height: 28px; padding: 3px; border: 1px solid rgba(116,67,200,.15); border-radius: 9px; background: rgba(116,67,200,.08); transform: translateX(-50%); overflow: hidden; }
.language-switch::before { content: ""; position: absolute; left: 3px; top: 3px; width: 33px; height: 20px; border-radius: 6px; background: var(--accent-deep); box-shadow: 0 3px 10px rgba(86,48,148,.22); transform: translateX(0); transition: transform 180ms var(--ease-out); }
html[data-language="ru"] .language-switch::before { transform: translateX(32px); }
.language-switch button { position: relative; z-index: 1; border: 0; padding: 0; color: var(--panel-muted); background: transparent; cursor: pointer; font-size: 9px; font-weight: 800; }
.language-switch button[aria-pressed="true"] { color: #fff; }
.primary-action, .secondary-action, .danger-action { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--button-radius); text-decoration: none; cursor: pointer; font-weight: 750; font-size: 13px; white-space: nowrap; transition: transform 160ms ease, background 160ms ease; }
.primary-action { color: #fff; background: var(--accent-deep); box-shadow: 0 9px 24px rgba(116,67,200,.25); }
.primary-action:hover { background: var(--accent-dark); }
.secondary-action { color: var(--panel-ink); border-color: var(--panel-line); background: transparent; }
.danger-action { color: #fff; background: #bc332c; }

.about-shell { width: min(1120px, 94vw); }
.about-content { display: grid; grid-template-columns: .76fr 1.45fr; min-height: 600px; max-height: calc(100dvh - 150px); }
.profile-card { display: flex; flex-direction: column; justify-content: end; gap: 22px; padding: 34px; color: var(--panel-ink); background: #efedf0; }
.profile-visual { width: min(100%, 340px); margin: 0; transform-origin: 50% 72%; animation: profile-alive 6s var(--ease-in-out) infinite alternate; }
.profile-visual img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid rgba(203,169,255,.25); border-radius: 18px; filter: saturate(.94); box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.availability { display: flex; align-items: center; gap: 8px; color: var(--panel-muted); font-size: 11px; }
.availability i { width: 8px; height: 8px; border-radius: 50%; background: #68b880; box-shadow: 0 0 0 4px rgba(104,184,128,.13); }
.profile-card h2 { margin: 13px 0 4px; font-size: clamp(34px, 3.7vw, 54px); font-weight: 850; line-height: .88; letter-spacing: -.06em; }
.profile-card p { margin: 0; color: var(--panel-muted); }
.about-copy { overflow: visible; padding: clamp(30px, 4.2vw, 58px); }
.language-section + .language-section { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--panel-line); }
.language-block { position: relative; padding-left: 42px; }
.language-block > span { position: absolute; left: 0; top: 4px; color: var(--accent-deep); font-size: 10px; font-weight: 850; }
.language-block > p { max-width: 62ch; margin-bottom: 0; color: var(--panel-muted); line-height: 1.5; }
.language-block .about-lead { margin-top: 0; color: var(--panel-ink); font-size: clamp(21px, 2vw, 29px); line-height: 1.13; letter-spacing: -.03em; }
.language-ru { font-family: "System Sans", Arial, sans-serif; }
html[data-language="ru"] .language-section.language-ru, html[data-language="ru"] .process-language-ru, html[data-language="ru"] .contact-language-ru, html[data-language="ru"] .note-language-ru { margin-top: 0; padding-top: 0; border-top: 0; }
.facts { margin: 26px 0 28px; }
.facts div { display: grid; grid-template-columns: 135px 1fr; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--panel-line); font-size: 12px; line-height: 1.35; }
.facts dt { color: var(--panel-muted); }
.facts dd { margin: 0; }

.finder-shell { width: min(1240px, 96vw); }
.finder-layout { display: grid; grid-template-columns: 205px 1fr; min-height: 650px; max-height: calc(100dvh - 150px); }
.finder-sidebar { padding: 20px 12px; border-right: 1px solid var(--panel-line); background: rgba(116,67,200,.035); }
.finder-sidebar p { margin: 7px 10px 9px; color: var(--panel-muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.finder-sidebar p:not(:first-child) { margin-top: 28px; }
.finder-sidebar button { display: flex; justify-content: space-between; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; color: var(--panel-muted); background: transparent; cursor: pointer; text-align: left; font-size: 12px; }
.finder-sidebar button:hover, .finder-sidebar button.is-active { color: var(--panel-ink); background: rgba(116,67,200,.10); }
.finder-sidebar button span { font-variant-numeric: tabular-nums; }
.finder-main { overflow: visible; padding: clamp(24px, 3vw, 42px); }
.portfolio-decks { margin: 0 0 58px; padding: clamp(24px, 3.2vw, 42px); border-radius: 18px; background: #eee9f2; }
.portfolio-decks-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.portfolio-decks-head > div > span { color: var(--accent-deep); font-size: 10px; font-weight: 800; }
.portfolio-decks-head h2 { max-width: 620px; margin: 8px 0 10px; font-size: clamp(32px, 4vw, 50px); line-height: .94; letter-spacing: -.055em; }
.portfolio-decks-head p { margin: 0; color: var(--panel-muted); font-size: 12px; }
.portfolio-deck-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-decks .deck-card { color: var(--panel-ink); border-color: rgba(116,67,200,.16); background: rgba(255,255,255,.72); }
.portfolio-decks .deck-card:hover { background: #fff; }
.portfolio-decks .deck-card i { color: var(--panel-muted); }
.finder-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.finder-heading span, .finder-heading small { display: block; color: var(--panel-muted); font-size: 11px; }
.finder-heading small { margin-top: 3px; }
.finder-heading h2 { margin: 6px 0 0; max-width: 700px; font-size: clamp(34px, 4vw, 56px); line-height: .9; letter-spacing: -.058em; }
.finder-heading > p { margin: 0; color: var(--panel-muted); font-size: 12px; white-space: nowrap; }
.finder-heading div > p { margin: 10px 0 0; color: var(--panel-muted); font-size: 13px; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 30px 20px; padding: 8px 3px 50px; }
.project { position: relative; grid-column: span 5; padding: 0; border: 0; color: var(--panel-ink); background: transparent; text-align: left; text-decoration: none; cursor: pointer; }
.project[hidden] { display: none; }
.project-wide { grid-column: span 7; }
.project-tall { grid-column: 8 / span 5; margin-top: 64px; transform: rotate(1.3deg); }
.project-small { grid-column: 2 / span 4; margin-top: -8px; transform: rotate(-1.1deg); }
.project-offset { grid-column: 7 / span 6; margin-top: 42px; }
.project-final { grid-column: 1 / span 8; margin-top: 18px; transform: rotate(-.7deg); }
.project-singularity { grid-column: 7 / span 6; margin-top: 74px; transform: rotate(1.1deg); }
.project-tennis { grid-column: 1 / span 4; margin-top: -34px; transform: rotate(-1.5deg); }
.project-tennis img { aspect-ratio: .82; object-position: center 18%; }
.project-pyaterochka { grid-column: 6 / span 7; margin-top: 34px; transform: rotate(.5deg); }
.project img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; border: 1px solid rgba(25,21,30,.08); border-radius: 15px; background: #ddd; box-shadow: 0 16px 35px rgba(35,20,45,.12); transition: transform 400ms var(--ease), filter 400ms ease, box-shadow 400ms ease; }
.project:hover img { transform: translateY(-7px) scale(1.01); filter: contrast(1.04); box-shadow: 0 26px 50px rgba(82,45,112,.22); }
.project div { display: grid; gap: 4px; padding-top: 12px; padding-right: 70px; }
.project strong { font-size: 14px; }
.project span { color: var(--panel-muted); font-size: 11px; }
.project b { position: absolute; right: 0; bottom: 8px; color: var(--accent-deep); font-size: 10px; }
.project b small { display: block; margin-top: 3px; color: var(--panel-muted); font-size: 9px; font-weight: 600; }
.project-empty { padding: 80px 20px; color: var(--panel-muted); text-align: center; }
.project-empty span { display: block; margin-top: 8px; }

.presentation-shell { width: min(1180px, 95vw); }
.presentation-content { display: grid; grid-template-columns: .68fr 1.55fr; gap: clamp(28px, 5vw, 70px); max-height: calc(100dvh - 150px); overflow: auto; padding: clamp(30px, 4.4vw, 60px); background: #17111f; color: #f7f3fb; }
.presentation-head { align-self: start; position: sticky; top: 0; }
.presentation-copy > span { color: var(--accent-bright); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.presentation-head h2 { margin: 16px 0 22px; font-size: clamp(34px, 3.8vw, 50px); line-height: .94; letter-spacing: -.055em; }
.presentation-head p { max-width: 44ch; color: #aaa1b2; font-size: 13px; line-height: 1.55; }
.presentation-head i { color: #857b8e; font-style: normal; }
.presentation-head .privacy-note { margin-top: 28px; padding: 14px; border: 1px solid rgba(203,169,255,.18); border-radius: 12px; background: rgba(168,113,255,.07); }
.presentation-head .privacy-note strong { color: #d7c7e8; }
.deck-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.deck-card { display: grid; align-content: start; padding: 0 0 18px; overflow: hidden; border: 1px solid rgba(203,169,255,.18); border-radius: 16px; color: #f7f3fb; background: rgba(255,255,255,.045); text-align: left; text-decoration: none; cursor: pointer; transition: transform 350ms var(--ease), border-color 350ms ease, background 350ms ease; }
.deck-card:hover { transform: translateY(-7px); border-color: rgba(203,169,255,.47); background: rgba(168,113,255,.09); }
.deck-art { display: block; aspect-ratio: 1.55; overflow: hidden; margin-bottom: 18px; background: #2c1e3c; }
.deck-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 550ms var(--ease); }
.deck-card:hover img { transform: scale(1.045); }
.deck-two .deck-art img { transform: scale(1.08) rotate(180deg); filter: hue-rotate(22deg); }
.deck-two:hover .deck-art img { transform: scale(1.13) rotate(180deg); }
.deck-three .deck-art img { object-position: 68% center; filter: saturate(.72) brightness(.78); }
.deck-public .deck-art img { object-position: center; }
.deck-card small, .deck-card strong, .deck-card i { margin-left: 18px; margin-right: 18px; }
.deck-card small { color: var(--accent-bright); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.deck-card small span, .deck-card i span { display: block; }
.deck-card strong { margin-top: 8px; font-size: 18px; line-height: 1.05; }
.deck-card i { margin-top: 20px; color: #aaa1b2; font-size: 10px; font-style: normal; }
.deck-card i span { display: block; margin-top: 4px; color: #857b8e; }

.case-viewer { z-index: 150; padding-bottom: 42px; }
.case-shell { width: min(1280px, 97vw); max-height: calc(100dvh - 50px); background: rgba(16,12,21,.96); color: #f7f3fb; }
.case-shell .window-bar { color: var(--panel-ink); background: rgba(247,244,250,.92); }
.case-content { padding: 18px 22px 24px; }
.case-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 16px; }
.case-toolbar span { color: #958b9d; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.case-toolbar h2 { margin: 4px 0 0; font-size: clamp(25px, 3vw, 40px); line-height: .95; letter-spacing: -.045em; }
.case-actions { display: flex; align-items: center; gap: 18px; }
.case-actions a { display: grid; gap: 3px; color: var(--accent-bright); font-size: 11px; text-decoration: none; }
.case-actions a small { color: #8e8496; font-size: 9px; }
.case-actions a:hover { color: #fff; }
.case-stage { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 12px; align-items: center; }
.case-image-frame { height: min(65dvh, 720px); overflow: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: #0b0910; overscroll-behavior: contain; }
.case-image-frame img { display: block; width: 100%; height: auto; min-height: 100%; object-fit: contain; background: #111; }
.case-arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: #fff; background: rgba(168,113,255,.16); cursor: pointer; }
.case-arrow:hover { background: var(--accent-deep); }
.case-arrow:disabled { opacity: .3; cursor: default; }
.case-dots { display: flex; justify-content: center; gap: 7px; margin-top: 15px; }
.case-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.28); cursor: pointer; }
.case-dots button.is-active { width: 22px; border-radius: 5px; background: var(--accent); }
.case-description-en, .case-description-ru { max-width: 80ch; margin: 13px auto 0; color: #aaa1b2; font-size: 12px; line-height: 1.5; text-align: center; }
.case-description-ru { margin-top: 6px; color: #817787; }

.pdf-viewer { z-index: 170; padding: 28px; }
.pdf-shell { width: min(1220px, 97vw); height: min(900px, 94dvh); max-height: none; background: #17111f; }
.pdf-shell .window-bar { color: var(--panel-ink); background: rgba(247,244,250,.95); }
.pdf-content { display: grid; grid-template-rows: minmax(0,1fr) auto; height: calc(100% - 48px); }
.pdf-content iframe { width: 100%; height: 100%; border: 0; background: #27212e; }
.pdf-content footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 48px; padding: 8px 16px; color: #aaa1b2; background: #17111f; font-size: 11px; }
.pdf-content footer a { padding: 8px 12px; border-radius: 8px; color: #fff; background: var(--accent-deep); text-decoration: none; font-weight: 750; }
.pdf-content footer small { display: block; margin-top: 3px; color: #817787; font-size: 9px; }
.pdf-content footer a small { color: #dfd1eb; }

.music-shell { width: min(920px, 93vw); }
.music-content { display: grid; grid-template-columns: 1.04fr .96fr; min-height: 520px; background: #17111f; color: #f7f3fb; }
.music-player { position: relative; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 38px; background: radial-gradient(circle at 35% 20%, rgba(168,113,255,.40), transparent 34%), #21152f; }
.music-player::after { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,.08) 10px); }
.record { position: absolute; left: 50%; top: 42%; display: grid; place-items: center; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: repeating-radial-gradient(circle, #17111f 0 4px, #2c1c3c 5px 7px); box-shadow: 0 30px 70px rgba(0,0,0,.45); transform: translate(-50%, -50%); animation: spin-record 9s linear infinite; }
.record::before { content: ""; position: absolute; width: 82px; height: 82px; border-radius: 50%; background: var(--accent); }
.record span { position: relative; z-index: 1; color: #21152f; font-weight: 850; }
.music-player > span, .music-player > h2, .music-player > p { position: relative; z-index: 2; }
.music-player > span { color: var(--accent-bright); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.music-player h2 { margin: 8px 0 4px; font-size: 34px; letter-spacing: -.045em; }
.music-player p { margin: 0; color: #aca2b5; font-size: 12px; }
.audio-player { position: relative; z-index: 3; display: grid; gap: 7px; width: min(100%, 440px); margin-top: 18px; }
.audio-player audio { width: 100%; height: 38px; accent-color: var(--accent); }
.audio-player small { color: #8d8297; font-size: 9px; }
.audio-player small span { display: block; margin-top: 3px; }
.track-list { display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.track { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 18px 4px; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #f7f3fb; background: transparent; text-align: left; cursor: pointer; }
.track:hover, .track.is-playing { color: var(--accent-bright); }
.track > span { color: #776d7f; font-size: 10px; }
.track div { display: grid; gap: 3px; }
.track strong { font-size: 14px; }
.track small { color: #918797; font-size: 10px; }
.track i { color: #9b90a3; font-size: 10px; font-style: normal; }
.track-list > p { margin: 24px 0 0; color: #736a79; font-size: 9px; line-height: 1.4; }

.process-content { max-height: calc(100dvh - 150px); overflow: auto; padding: clamp(34px, 6vw, 74px); background: var(--panel-solid); }
.process-language + .process-language { margin-top: 70px; padding-top: 58px; border-top: 1px solid var(--panel-line); }
.process-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(35px, 7vw, 100px); }
.process-intro > span, .contact-language > span { color: var(--accent-deep); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.process-intro h2, .contact-copy h2 { margin: 12px 0 18px; font-size: clamp(35px, 4.5vw, 62px); line-height: .92; letter-spacing: -.06em; }
.process-intro p, .contact-copy p { color: var(--panel-muted); line-height: 1.5; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { counter-increment: process; position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--panel-line); }
.process-list li:last-child { border-bottom: 0; }
.process-list li::before { content: counter(process, decimal-leading-zero); position: absolute; left: 0; top: 20px; color: var(--accent-deep); font-size: 10px; font-weight: 800; }
.process-list span { font-weight: 750; }
.process-list p { margin: 5px 0 0; color: var(--panel-muted); font-size: 12px; }
.service-panel { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; margin-top: 35px; }
.service-panel > div { display: grid; gap: 5px; padding: 14px; border-radius: 12px; background: rgba(116,67,200,.06); }
.service-panel span { color: var(--panel-muted); font-size: 10px; }
.service-panel strong { font-size: 14px; }
.service-panel small { color: var(--panel-muted); font-size: 9px; }
.service-panel .primary-action { align-self: center; }

.contact-content { display: grid; grid-template-columns: 1fr .8fr; min-height: 560px; padding: clamp(35px, 6vw, 75px); background: var(--panel-solid); }
.contact-copy { align-self: center; }
.contact-language + .contact-language { margin-top: 42px; padding-top: 36px; border-top: 1px solid var(--panel-line); }
.contact-copy p { max-width: 48ch; margin-bottom: 28px; }
.contact-copy i { color: #8b8193; font-style: normal; }
.contact-portrait-stage { display: grid; place-items: center; min-height: 360px; margin: 0; perspective: 1100px; }
.contact-portrait-spin { position: relative; display: block; width: min(320px, 29vw); aspect-ratio: 1; transform-style: preserve-3d; animation: contact-turn 9s var(--ease-in-out) infinite; }
.contact-portrait-spin img { position: absolute; inset: 0; width: 100%; height: 100%; border: 6px solid var(--panel-solid); border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 25px 60px rgba(62,34,82,.2); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.contact-portrait-back { transform: rotateY(180deg); }
.contact-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 25px; background: var(--panel-line); }
.contact-list a { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: center; padding: 15px; color: var(--panel-ink); background: var(--panel-solid); text-decoration: none; }
.contact-list a:hover { background: #ebe3f0; }
.contact-list span, .contact-list b { color: var(--panel-muted); font-size: 10px; }
.contact-list strong { overflow: hidden; text-overflow: ellipsis; font-size: 12px; }

.notes-shell { width: min(840px, 92vw); }
.notes-content { display: grid; grid-template-columns: 220px 1fr; min-height: 510px; }
.notes-content aside { padding: 28px 12px; border-right: 1px solid var(--panel-line); background: rgba(116,67,200,.04); }
.notes-content aside h2 { margin: 0 12px 25px; font-size: 32px; letter-spacing: -.045em; }
.note-tab { width: 100%; padding: 12px; border: 0; border-radius: 9px; text-align: left; background: transparent; cursor: pointer; font-size: 12px; }
.note-tab:hover, .note-tab.is-active { color: #fff; background: var(--accent-deep); }
.app-notes, .app-notes button, .notes-content, .note-page { font-family: "System Sans", Arial, sans-serif; }
.note-page { padding: clamp(36px, 6vw, 70px); background: #f4eef8; }
.note-language + .note-language { margin-top: 44px; padding-top: 38px; border-top: 1px solid var(--panel-line); }
.note-page time { color: #8b7f94; font-size: 10px; }
.note-page h3 { margin: 15px 0 20px; max-width: 420px; font-size: clamp(34px, 5vw, 60px); line-height: .94; letter-spacing: -.055em; }
.note-page p { max-width: 52ch; color: #62596a; font-size: 16px; line-height: 1.55; }
.compact-window .window-shell { width: min(640px, 92vw); }
.legal-content { padding: clamp(30px, 5vw, 55px); }
.legal-content section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--panel-line); }
.legal-content h2 { margin: 0 0 20px; font-size: 42px; letter-spacing: -.05em; }
.legal-content p { color: var(--panel-muted); line-height: 1.55; }
.trash-content { display: grid; justify-items: center; padding: 44px; text-align: center; }
.trash-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; color: #fff; background: #57505d; font-size: 13px; font-weight: 850; }
.trash-content h2 { margin: 22px 0 8px; }
.trash-content p { margin: 0 0 24px; color: var(--panel-muted); }
.trash-content > div:last-child { display: flex; gap: 10px; }
.error-screen { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; color: #f7f3fb; background: #100d16; text-align: center; }
.error-screen > span { color: var(--accent); font-size: clamp(90px, 18vw, 220px); font-weight: 850; line-height: .8; letter-spacing: -.08em; }
.error-screen h2 { margin: 28px 0 8px; font-size: 26px; }
.error-screen p { margin: 0; color: #a7a0ad; }
.restore-line { width: 220px; height: 4px; margin-top: 25px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.14); }
.restore-line i { display: block; width: 0; height: 100%; background: var(--accent); }
.error-screen.is-restoring .restore-line i { animation: restore 2.2s var(--ease) forwards; }

@keyframes boot-progress { to { width: 100%; } }
@keyframes window-in { from { opacity: 0; transform: translateY(34px) scale(.95); } }
@keyframes window-backdrop { from { background-color: transparent; } }
@keyframes notice-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes restore { to { width: 100%; } }
@keyframes hero-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes spin-record { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes profile-alive { 0% { transform: translateY(0) rotate(-.35deg) scale(1); } 100% { transform: translateY(-9px) rotate(.35deg) scale(1.012); } }
@keyframes contact-turn { 0%, 18% { transform: rotateY(0deg); } 42%, 58% { transform: rotateY(180deg); } 82%, 100% { transform: rotateY(360deg); } }

@media (max-width: 1120px) {
  .desktop-item { width: 92px; }
  .system-icon { width: 61px; height: 61px; border-radius: 14px; }
  .file-preview { width: 68px; height: 58px; }
  .item-works { left: 13%; }
  .file-ai { left: 18%; }
  .file-efficiency { right: 26%; }
}

@media (max-width: 900px) {
  .identity { top: 60px; }
  .identity h1 { font-size: 21px; }
  .depth-layer img { object-position: 48% 50%; }
  .item-about { left: 2%; }
  .item-works { left: 18%; top: 27%; }
  .item-decks { right: 18%; }
  .item-process { right: 2%; top: 27%; }
  .file-clinic { left: 3%; top: 54%; }
  .file-ai { left: 18%; bottom: 16%; }
  .file-agency { right: 3%; top: 51%; }
  .file-efficiency { right: 20%; bottom: 12%; }
  .file-behance { left: 42%; bottom: 6%; }
  .about-content { grid-template-columns: 1fr; overflow: auto; }
  .profile-card { flex-direction: row; align-items: end; padding: 24px; }
  .profile-visual { flex: 0 0 180px; width: 180px; }
  .about-copy { overflow: visible; padding: 35px; }
  .presentation-content { grid-template-columns: 1fr; }
  .presentation-head { position: static; }
  .portfolio-deck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: 1fr; gap: 35px; }
  .service-panel { grid-template-columns: 1fr 1fr; }
  .contact-content { grid-template-columns: 1fr; overflow: auto; max-height: calc(100dvh - 150px); }
  .contact-portrait-spin { width: min(300px, 42vw); }
}

@media (max-width: 767px) {
  body { overflow: hidden; }
  .desktop { min-height: 100dvh; }
  .menu-bar { grid-template-columns: 1fr 1fr; min-height: 52px; padding: env(safe-area-inset-top) 18px 0; }
  .brand-menu { width: 54px; height: 30px; border-radius: 7px; }
  .menu-bar nav { display: none; }
  .menu-status { grid-column: 2; }
  .theme-toggle { font-size: 0; }
  .theme-toggle::after { content: "A"; font-size: 12px; }
  .identity { top: 68px; min-width: 224px; padding: 11px 18px 10px; border-radius: 17px; }
  .identity p, .identity span { font-size: 8px; }
  .identity h1 { margin: 1px 0; font-size: 18px; }
  .hero-depth { inset: 0; width: 100%; height: 100%; opacity: 1; }
  .depth-layer img { object-position: 47% 50%; }
  .depth-main { inset: 52px 0 0; border-radius: 0; box-shadow: none; transform: translate3d(var(--near-x), var(--near-y), 18px) scale(1); }
  .desktop-items { inset: 64px 10px 76px; display: grid; grid-template-columns: 78px minmax(74px, 1fr) 78px; grid-template-rows: repeat(5, minmax(74px, 1fr)); align-items: start; padding: 16px 0 8px; }
  .desktop-item { position: relative; inset: auto; justify-self: center; width: 74px; gap: 5px; padding: 5px 2px; }
  .desktop-item strong { max-width: 74px; padding: 2px 3px; font-size: 9px; }
  .system-icon { width: 52px; height: 52px; border-radius: 12px; transform: scale(.94); transform-origin: center; }
  .icon-notes::before { left: 8px; right: 8px; top: 24px; box-shadow: 0 7px #d9d9dd, 0 14px #d9d9dd, 0 21px #d9d9dd; }
  .icon-finder::before { left: 25px; }
  .icon-finder::after { left: 9px; right: 9px; bottom: 10px; }
  .icon-finder i { left: 12px; top: 15px; box-shadow: 24px 0 #174f7b; }
  .icon-keynote::before { left: 9px; right: 9px; top: 10px; height: 25px; }
  .icon-keynote::after { left: 24px; bottom: 7px; }
  .icon-shortcuts::before, .icon-shortcuts::after { left: 11px; top: 15px; width: 29px; height: 18px; }
  .icon-mail::before { left: 8px; right: 8px; top: 13px; height: 27px; }
  .icon-mail::after { left: 11px; top: 13px; width: 27px; height: 27px; }
  .project-file { width: 78px; }
  .file-preview { width: 56px; height: 47px; padding: 3px; border-radius: 8px; }
  .item-about { grid-column: 1; grid-row: 1; }
  .item-decks { grid-column: 3; grid-row: 1; }
  .item-works { grid-column: 2; grid-row: 2; transform: none; }
  .item-process { grid-column: 3; grid-row: 2; }
  .file-clinic { grid-column: 1; grid-row: 3; }
  .file-behance { grid-column: 3; grid-row: 3; }
  .file-agency { grid-column: 1; grid-row: 4; }
  .item-contact { grid-column: 3; grid-row: 4; }
  .file-ai { grid-column: 1; grid-row: 5; }
  .file-efficiency { grid-column: 3; grid-row: 5; }
  .desktop-links { display: none; }
  .dock { bottom: calc(9px + env(safe-area-inset-bottom)); gap: 5px; padding: 7px; border-radius: 17px; }
  .dock-app { width: min(11.3vw, 43px); height: min(11.3vw, 43px); border-radius: 10px; }
  .dock-app:hover { transform: none; }
  .dock-app small { display: none; }
  .dock-divider { display: none; }
  .app-window { padding: 62px 16px calc(84px + env(safe-area-inset-bottom)); background: rgba(8,5,12,.48); }
  .window-shell, .finder-shell, .presentation-shell, .music-shell { width: 100%; max-height: 100%; border-radius: 20px; }
  .window-bar { height: 44px; }
  .window-bar.has-language-switch { height: 92px; padding: 14px 12px 0; }
  .window-bar.has-language-switch > strong { max-width: 150px; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .drag-handle { cursor: default; }
  .about-content, .finder-layout, .notes-content { display: block; min-height: 0; max-height: calc(100dvh - 198px); overflow: auto; }
  .profile-card { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: center; padding: 22px; }
  .profile-visual { width: 128px; }
  .profile-card h2 { font-size: 30px; font-weight: 850; }
  .about-copy { padding: 32px 24px 46px; }
  .language-block { padding-left: 30px; }
  .language-block .about-lead { font-size: 21px; }
  .facts div { grid-template-columns: 100px 1fr; }
  .finder-sidebar { display: flex; gap: 8px; overflow-x: auto; padding: 14px; border-right: 0; border-bottom: 1px solid var(--panel-line); }
  .finder-sidebar p, .finder-sidebar button:not(.filter) { display: none; }
  .finder-sidebar .filter { flex: 0 0 auto; width: auto; gap: 12px; white-space: nowrap; }
  .finder-main { overflow: visible; padding: 30px 22px 46px; }
  .portfolio-decks { margin-bottom: 42px; padding: 25px 18px; }
  .portfolio-decks-head { display: block; }
  .portfolio-decks-head .secondary-action { margin-top: 20px; }
  .portfolio-deck-grid { grid-template-columns: 1fr; gap: 24px; }
  .finder-heading { align-items: start; margin-bottom: 22px; }
  .finder-heading h2 { font-size: 32px; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 20px; }
  .project, .project-wide, .project-tall, .project-small, .project-offset, .project-final, .project-singularity, .project-tennis, .project-pyaterochka { grid-column: 1; margin: 0; transform: none; }
  .presentation-content { display: block; max-height: calc(100dvh - 198px); padding: 32px 22px 46px; }
  .presentation-head h2 { font-size: 38px; }
  .deck-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .case-viewer { padding: 14px 10px; }
  .case-shell { width: 100%; max-height: calc(100dvh - 24px); }
  .case-content { padding: 18px 16px 24px; }
  .case-toolbar { align-items: start; }
  .case-toolbar h2 { font-size: 24px; }
  .case-actions { display: grid; justify-items: end; gap: 7px; }
  .case-stage { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 5px; }
  .case-arrow { width: 33px; height: 42px; border-radius: 9px; }
  .case-image-frame { height: calc(100dvh - 220px); }
  .case-description-en, .case-description-ru { max-height: 43px; overflow: auto; margin-top: 9px; font-size: 10px; }
  .pdf-viewer { padding: 8px 5px; }
  .pdf-shell { width: 100%; height: calc(100dvh - 16px); }
  .pdf-content footer { align-items: stretch; flex-direction: column; min-height: 78px; padding: 9px; text-align: center; }
  .pdf-content footer a { width: 100%; }
  .music-content { display: block; max-height: calc(100dvh - 175px); overflow: auto; }
  .music-player { min-height: 380px; padding: 32px 24px; }
  .record { width: 210px; height: 210px; }
  .track-list { padding: 28px 24px; }
  .process-content { display: block; max-height: calc(100dvh - 198px); padding: 36px 24px 50px; }
  .process-grid { display: block; }
  .process-language + .process-language { margin-top: 50px; padding-top: 40px; }
  .process-intro h2, .contact-copy h2 { font-size: 40px; }
  .process-list { margin-top: 30px; }
  .service-panel { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .service-panel .primary-action { width: 100%; min-height: 58px; }
  .contact-content { display: block; max-height: calc(100dvh - 198px); min-height: 0; padding: 38px 24px 52px; }
  .contact-portrait-stage { min-height: 310px; margin: 28px 0 10px; }
  .contact-portrait-spin { width: min(260px, 72vw); }
  .contact-list { grid-template-columns: 1fr; margin-top: 42px; }
  .contact-list a { grid-template-columns: 60px 1fr auto; }
  .notes-content aside { display: flex; gap: 8px; overflow-x: auto; padding: 16px; border-right: 0; border-bottom: 1px solid var(--panel-line); }
  .notes-content aside h2 { display: none; }
  .note-tab { width: auto; white-space: nowrap; }
  .note-page { min-height: 440px; padding: 42px 26px 52px; }
  .legal-content h2 { font-size: 34px; }
  .notification { border-radius: 13px; }
  .language-switch { left: 50%; right: auto; bottom: 10px; width: 70px; transform: translateX(-50%); }
  .language-switch::before { width: 31px; }
  html[data-language="ru"] .language-switch::before { transform: translateX(30px); }
}

@media (hover: none), (pointer: coarse) {
  .hero-image-normal { -webkit-mask-image: none; mask-image: none; }
}

@media (max-height: 690px) and (min-width: 768px) {
  .identity { top: 54px; }
  .desktop-items { bottom: 72px; }
  .system-icon { width: 56px; height: 56px; }
  .file-preview { width: 62px; height: 52px; }
  .window-shell { max-height: calc(100dvh - 78px); }
  .app-window { padding-top: 44px; padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-depth { --far-x: 0px !important; --far-y: 0px !important; --near-x: 0px !important; --near-y: 0px !important; }
  .hero-image-normal { -webkit-mask-image: none !important; mask-image: none !important; }
  .profile-visual, .contact-portrait-spin { animation: none !important; transform: none !important; }
  .contact-portrait-back { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .menu-bar, .dock, .notification, .context-menu { background: var(--desktop-soft); backdrop-filter: none; }
  .window-shell { background: var(--panel-solid); backdrop-filter: none; }
}

/* Portfolio brief refinements */
.identity > div { display: grid; justify-items: center; gap: 3px; }
.identity strong { font-size: 13px; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,.46); }
.identity span { margin-top: 2px; }
.mobile-primary-nav, .mobile-back, .mobile-slide-list, .mobile-home-item, .mobile-home-button { display: none; }
.global-language-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.08); }
.global-language-switch button { min-width: 28px; min-height: 24px; padding: 0 5px; border: 0; border-radius: 6px; color: rgba(255,255,255,.7); background: transparent; font-size: 9px; font-weight: 800; }
.global-language-switch button[aria-pressed="true"] { color: #fff; background: var(--accent-deep); }
.finder-sidebar .filter b { margin-left: auto; color: var(--panel-muted); font-size: 10px; font-weight: 650; }
.process-cta { margin-top: 32px; }
.presentation-copy h2:first-child { margin-top: 0; }
.presentation-copy p { margin-top: 0; }
.pdf-content footer > span { display: block; }
.pdf-content footer a span { display: block; }

@keyframes mobile-app-in { from { opacity: 0; transform: translateY(22px) scale(.985); } }

@media (max-width: 820px) {
  html, body { width: 100%; overflow: hidden; overscroll-behavior: none; }
  .desktop { width: 100%; min-height: 100dvh; overflow: hidden; }

  /* Mobile home screen: an iOS-inspired web interface, not an Apple system component. */
  .menu-bar { position: absolute; inset: 0 0 auto; grid-template-columns: auto 1fr; min-height: calc(54px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0; border-bottom-color: rgba(255,255,255,.12); background: rgba(42,37,45,.34); box-shadow: inset 0 -1px rgba(255,255,255,.08); }
  .menu-bar nav { display: none; }
  .brand-menu { width: 48px; height: 36px; min-width: 44px; min-height: 44px; }
  .menu-status { grid-column: 2; gap: 4px; }
  .global-language-switch { border-color: rgba(255,255,255,.18); background: rgba(16,13,22,.22); }
  .global-language-switch button, .theme-toggle { min-width: 44px; min-height: 44px; }
  .theme-toggle { padding: 0 8px; }
  .menu-status time { width: 40px; font-size: 11px; }

  .identity { top: calc(70px + env(safe-area-inset-top)); width: min(330px, calc(100vw - 32px)); min-width: 0; padding: 12px 16px; border-radius: 20px; background: rgba(31,24,34,.32); }
  .identity h1 { margin-bottom: 3px; font-size: clamp(20px, 6.5vw, 28px); }
  .identity strong { font-size: 11px; }
  .identity span { max-width: 270px; font-size: 8px; text-align: center; }
  .hero-depth { pointer-events: none; }
  .depth-main { inset: 54px 0 0; transform: none; }
  .depth-back { display: none; }
  .depth-layer img { object-position: 48% 50%; }
  .depth-vignette { background: linear-gradient(180deg, rgba(17,12,20,.24), transparent 24%, transparent 65%, rgba(17,12,20,.40)); }

  .dock, .desktop-links { display: none; }
  .desktop-items { inset: calc(138px + env(safe-area-inset-top)) 16px calc(100px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 100px); align-content: start; gap: 12px 32px; padding: 12px 0 0; pointer-events: none; }
  .desktop-item { position: relative; inset: auto; justify-self: stretch; align-self: start; width: auto; min-width: 0; gap: 6px; padding: 4px 0; pointer-events: auto; }
  .desktop-item:hover, .desktop-item:focus-visible { background: rgba(45,37,51,.20); transform: none; }
  .desktop-item strong { max-width: 100%; min-height: 24px; padding: 2px 4px; overflow-wrap: anywhere; font-size: 10px; line-height: 1.12; }
  .desktop-item > strong[data-label-en] { font-size: 0; }
  .desktop-item > strong[data-label-en]::after { content: attr(data-label-en); font-size: 10px; }
  html[data-language="ru"] .desktop-item > strong[data-label-ru]::after { content: attr(data-label-ru); }
  .desktop-item .system-icon { width: 64px; height: 64px; border-radius: 15px; transform: none; }
  .item-works { grid-column: 1; grid-row: 1; }
  .item-decks { grid-column: 2; grid-row: 1; }
  .item-about { grid-column: 1; grid-row: 2; }
  .item-process { grid-column: 2; grid-row: 2; }
  .item-contact { grid-column: 1; grid-row: 3; }
  .mobile-home-item { grid-column: 2; grid-row: 3; display: grid; }
  .project-file { display: none; }
  .mobile-music-icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.42); border-radius: 15px; color: #fff; background: linear-gradient(145deg, #ff6179, #f21f4c 65%, #bf0d39); box-shadow: inset 0 1px rgba(255,255,255,.42), 0 10px 22px rgba(24,16,27,.28); font-size: 34px; font-weight: 800; }

  .mobile-primary-nav { position: absolute; z-index: 30; left: 50%; bottom: calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 52px); gap: 8px; width: max-content; padding: 9px 12px; border: 1px solid rgba(255,255,255,.30); border-radius: 25px; background: linear-gradient(145deg, rgba(255,255,255,.20), rgba(57,42,66,.36)); box-shadow: inset 0 1px rgba(255,255,255,.38), 0 18px 44px rgba(8,5,12,.28); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); transform: translateX(-50%); }
  .mobile-primary-nav .mobile-dock-app { display: grid; place-items: center; width: 52px; height: 52px; min-width: 0; min-height: 52px; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: transparent; box-shadow: 0 8px 18px rgba(12,8,16,.22); cursor: pointer; transition: transform 180ms var(--ease), filter 180ms ease; }
  .mobile-primary-nav .mobile-dock-app:active { transform: scale(.94); filter: brightness(.92); }
  .mobile-primary-nav .mobile-dock-app img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .mobile-primary-nav .mobile-dock-instagram img { transform: scale(1.66); }
  .mobile-primary-nav .mobile-dock-telegram img { transform: scale(1.25); }
  .mobile-primary-nav .mobile-dock-behance img { transform: scale(1.04); }
  .mobile-primary-nav .mobile-dock-trash { overflow: visible; box-shadow: none; }
  .mobile-primary-nav .mobile-dock-trash img { width: 44px; height: 44px; object-fit: contain; }

  .app-window, .case-viewer, .pdf-viewer { place-items: stretch; width: 100%; padding: 0; overflow: hidden; background: var(--panel-solid); animation: mobile-app-in 360ms var(--ease); }
  .window-shell, .finder-shell, .presentation-shell, .music-shell, .case-shell, .pdf-shell, .compact-window .window-shell { width: 100%; height: 100dvh; max-height: none; overflow: hidden; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; animation: none; }
  .window-bar, .window-bar.has-language-switch { position: relative; z-index: 20; grid-template-columns: minmax(72px, 1fr) minmax(0, auto) minmax(72px, 1fr); height: calc(60px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; background: rgba(248,246,249,.96); backdrop-filter: blur(22px) saturate(145%); -webkit-backdrop-filter: blur(22px) saturate(145%); }
  .window-bar.has-language-switch { height: calc(108px + env(safe-area-inset-top)); }
  .window-bar > strong, .window-bar.has-language-switch > strong { grid-column: 2; grid-row: 1; align-self: center; max-width: 48vw; overflow: hidden; font-size: 16px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .window-bar.has-language-switch > strong { align-self: start; margin-top: 17px; }
  .traffic { display: none; }
  .mobile-app-bar .window-close { display: none; }
  .mobile-home-button, .mobile-back { justify-self: start; display: inline-flex; align-items: center; gap: 5px; grid-column: 1; grid-row: 1; min-width: 44px; min-height: 44px; padding: 0; border: 0; color: var(--accent-deep); background: transparent; font-size: 14px; font-weight: 720; cursor: pointer; }
  .mobile-home-button > span:first-child, .mobile-back > span:first-child { font-size: 22px; font-weight: 500; line-height: 1; }
  .window-close { justify-self: end; min-width: 44px; min-height: 44px; padding: 0 4px; font-size: 13px; }
  .case-viewer .window-bar, .pdf-viewer .window-bar { grid-template-columns: minmax(84px, 1fr) minmax(0, auto) minmax(84px, 1fr); }
  .case-viewer .window-bar > strong, .pdf-viewer .window-bar > strong { max-width: 46vw; font-size: 13px; }
  .case-viewer .window-close, .pdf-viewer .window-close { display: none; }
  .language-switch { left: 50%; right: auto; bottom: 8px; width: 104px; min-height: 44px; transform: translateX(-50%); }
  .language-switch button { min-width: 48px; min-height: 44px; }
  .language-switch::before { width: 48px; height: 38px; }
  html[data-language="ru"] .language-switch::before { transform: translateX(50px); }

  .window-shell > :not(.window-bar) { min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: auto; -webkit-overflow-scrolling: touch; }
  .about-content, .finder-layout, .presentation-content, .music-content, .process-content, .contact-content, .legal-content, .trash-content, .case-content, .pdf-content { display: block; width: 100%; max-height: none; min-height: 0; overflow: visible; }

  .profile-card { display: block; padding: 16px 16px 28px; background: #efedf0; text-align: left; }
  .profile-visual { width: 100%; aspect-ratio: 4 / 5; margin-bottom: 24px; }
  .profile-visual img { object-fit: cover; object-position: center 28%; }
  .profile-card h2 { margin-top: 14px; font-size: clamp(40px, 13vw, 58px); line-height: .88; }
  .about-copy { padding: 20px 16px calc(32px + env(safe-area-inset-bottom)); background: var(--panel-solid); }
  .language-block { padding-left: 0; }
  .language-block > span { display: none; }
  .language-block .about-lead { font-size: 20px; line-height: 1.12; }
  html[data-language="ru"] .about-copy .language-ru .about-lead { font-size: 23px; font-weight: 500; }
  .about-copy .language-block > p:not(.about-lead) { font-size: 14px; line-height: 1.45; }
  .about-copy .facts { margin: 18px 0 20px; }
  .about-copy .facts div { grid-template-columns: 84px minmax(0,1fr); gap: 12px; padding: 9px 0; border-bottom-color: #616161; font-size: 15px; }
  .about-copy .facts dd { font-size: 14px; }
  .about-copy .primary-action { width: min(220px, 100%); }
  .primary-action, .secondary-action { min-height: 48px; }

  .finder-sidebar { position: sticky; top: 0; z-index: 4; display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--panel-line); background: rgba(245,241,247,.96); scrollbar-width: none; }
  .finder-sidebar::-webkit-scrollbar { display: none; }
  .finder-sidebar p, .finder-sidebar button:not(.filter) { display: none; }
  .finder-sidebar .filter { flex: 0 0 auto; width: auto; min-height: 44px; gap: 8px; padding: 0 13px; border: 1px solid var(--panel-line); border-radius: 12px; white-space: nowrap; }
  .finder-sidebar .filter b { margin-left: 2px; }
  .finder-main { overflow: visible; padding: 24px 16px calc(40px + env(safe-area-inset-bottom)); }
  .finder-heading { align-items: end; gap: 12px; margin-bottom: 24px; }
  .finder-heading h2 { margin: 0; font-size: clamp(30px, 9vw, 40px); line-height: .96; }
  .finder-heading > p { max-width: 86px; font-size: 10px; line-height: 1.25; text-align: right; white-space: normal; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; padding: 0 0 24px; }
  .project, .project-wide, .project-tall, .project-small, .project-offset, .project-final, .project-singularity, .project-tennis, .project-pyaterochka { grid-column: auto; margin: 0; transform: none; }
  .project { min-width: 0; min-height: 44px; }
  .project img, .project-tennis img { width: 100%; aspect-ratio: 16 / 10; border-radius: 11px; box-shadow: 0 10px 22px rgba(35,20,45,.12); }
  .project div { gap: 3px; padding: 9px 0 0; }
  .project strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.1; }
  .project span { font-size: 10px; line-height: 1.25; }
  .project b { display: none; }

  .presentation-content { padding: 24px 16px calc(40px + env(safe-area-inset-bottom)); background: #17111f; }
  .presentation-head { position: static; }
  .presentation-head h2 { margin: 0 0 8px; font-size: clamp(32px, 10vw, 42px); }
  .presentation-head p { margin: 0; font-size: 12px; }
  .deck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; margin-top: 24px; }
  .deck-card { min-width: 0; min-height: 44px; padding-bottom: 12px; border-radius: 12px; }
  .deck-card:hover { transform: none; }
  .deck-art { aspect-ratio: 16 / 10; margin-bottom: 10px; }
  .deck-card small, .deck-card strong, .deck-card i { margin-left: 10px; margin-right: 10px; }
  .deck-card strong { margin-top: 6px; overflow-wrap: anywhere; font-size: 13px; line-height: 1.08; }
  .deck-card small { font-size: 8px; line-height: 1.3; text-transform: none; letter-spacing: 0; }
  .deck-card i { display: none; }

  .case-content { padding: 20px 16px calc(40px + env(safe-area-inset-bottom)); }
  .case-toolbar { display: block; margin-bottom: 18px; }
  .case-toolbar h2 { font-size: 27px; line-height: 1; overflow-wrap: anywhere; }
  .case-actions { justify-content: space-between; gap: 12px; margin-top: 14px; }
  .case-actions a { min-height: 44px; align-content: center; }
  .case-stage { grid-template-columns: 36px minmax(0,1fr) 36px; gap: 6px; }
  .case-arrow { width: 36px; height: 44px; }
  .case-image-frame { height: auto; max-height: none; overflow: visible; }
  .case-image-frame img { min-height: 0; }
  .case-description-en, .case-description-ru { max-height: none; margin-top: 16px; overflow: visible; font-size: 13px; text-align: left; }

  .pdf-content { min-height: 0; background: #17111f; }
  .pdf-content iframe { display: none; }
  .mobile-slide-list { display: grid; gap: 16px; padding: 16px 12px 28px; }
  .mobile-slide-list figure { min-width: 0; margin: 0; }
  .mobile-slide-list img { display: block; width: 100%; height: auto; border-radius: 8px; background: #2a2430; box-shadow: 0 12px 28px rgba(0,0,0,.24); }
  .mobile-slide-list figcaption { padding-top: 7px; color: #aaa0b3; font-size: 10px; font-variant-numeric: tabular-nums; text-align: right; }
  .pdf-content footer { position: static; display: grid; gap: 12px; min-height: 0; padding: 0 12px calc(28px + env(safe-area-inset-bottom)); text-align: left; }
  .pdf-content footer a { display: grid; place-items: center; width: 100%; min-height: 50px; }

  .music-player, .track-list { padding-left: 16px; padding-right: 16px; }
  .process-content, .contact-content { padding: 32px 16px calc(48px + env(safe-area-inset-bottom)); }
  .process-grid { display: block; }
  .process-intro h2, .contact-copy h2 { font-size: clamp(40px, 12vw, 58px); }
  .process-list { margin-top: 32px; }
  .process-list li { min-height: 72px; }
  .process-cta { width: 100%; }
  .service-panel { grid-template-columns: 1fr; }
  .contact-portrait-stage { min-height: 300px; margin: 32px 0; }
  .contact-portrait-spin { width: min(270px, 76vw); }
  .contact-list { grid-template-columns: 1fr; margin-top: 28px; }
  .contact-list a { grid-template-columns: 58px minmax(0,1fr) auto; min-height: 56px; padding-left: 0; padding-right: 0; }
  .legal-content, .trash-content { padding: 32px 16px calc(48px + env(safe-area-inset-bottom)); }
  .notifications { display: none; }
}

@media (max-width: 380px) {
  .menu-status time { display: none; }
  .identity { top: calc(66px + env(safe-area-inset-top)); }
  .identity h1 { font-size: 20px; }
  .identity strong { font-size: 10px; }
  .identity span { display: none; }
  .desktop-items { top: calc(126px + env(safe-area-inset-top)); right: 12px; left: 12px; grid-template-rows: repeat(3, 96px); gap: 8px 24px; padding-top: 12px; }
  .desktop-item .system-icon, .mobile-music-icon { width: 58px; height: 58px; border-radius: 14px; }
  .desktop-item > strong[data-label-en]::after { font-size: 9px; }
  .mobile-primary-nav { left: 50%; right: auto; bottom: calc(6px + env(safe-area-inset-bottom)); grid-template-columns: repeat(4, 46px); gap: 6px; padding: 8px 10px; }
  .mobile-primary-nav .mobile-dock-app { width: 46px; height: 46px; min-height: 46px; border-radius: 12px; }
  .mobile-primary-nav .mobile-dock-trash img { width: 39px; height: 39px; }
  .window-bar > strong, .window-bar.has-language-switch > strong { max-width: 42vw; font-size: 14px; }
  .mobile-home-button, .mobile-back { font-size: 12px; }
  .finder-main, .presentation-content { padding-left: 12px; padding-right: 12px; }
  .project-grid, .deck-grid { column-gap: 10px; }
}
